gasraok.blogg.se

Using getdata in kst
Using getdata in kst










This command was originally invented to clear the cmd/reply path when either of fibre or backplane communication is frozen. The mce_reset command causes the PCI card to transmit a special character (0x0b) over the fibre-optic connection to the MCE. MCE_RESET: reset the MCE firmware using special character override Raw commands, unformatted commands which bypass the MCE command description (mce.cfg).Low-level MCE commands, MCE commands which are typically abstracted by higher-level commanding.It also provides access to various low-level functionality: Voluntary lock-out commands, to prevent multiple agents from accessing the MCE at the same time.MCE data acquisition commands, used to control a data acquisition.MCE data block commands, used to read or write MCE parameters.Scripting and output formatting commands, which control the behaviour of mce_cmd itself, rather than the MCE.

USING GETDATA IN KST DRIVER

Special driver access commands, used to manipulate the kernel driver state.Special hardware commands, used to reset the MCE or DSP program.We can break the mce_cmd command set into several broad categories: To suppress that behaviour (and continue attempting commands even after one of them has failed), pass the '-i' option. If a script command fails, mce_cmd will exit. When redirecting commands to mce_cmd, the '-r' option should be used to disable the command history/line editing features of mce_cmd and decrease the execution time. The '-q' option suppresses unnecessary output. The '-f' option tell mce_cmd to read lines from the specified file and attempt to execute them. Mce_cmd -X "wb rc1 data_mode 4" -X "wb rca servo_mode 1" The command must be passed as a single shell argument (put it in quotes.): The commands are executed in order, in the same context. Multiple commands may be executed with the '-X' option. The application will execute the command, display any output, and exit. There is no user prompt.Ī single command can be issued using the '-x' option: A session command history (similar to the one in bash) can be accessed with the up and down arrow keys, and line editing is possible using emacs-based key-mappings.Īfter displaying a version message, mce_cmd will be ready to accept input. When invoked with the '-i' option, mce_cmd can be used interactively. Mce_cmd -X "acq_config test_1 rc1" -X "acq_go 100" The -X command may be more useful as it allows multiple x execute remainder of line as an mce_cmd command X "cmd string" execute this command and exit (these can be stacked) f run commands from file instead of stdin m choose a particular MAS config file (mas.cfg) c choose a particular mce config file (mce.cfg) n use the specified fibre card ( Multicard MAS only) r don't use readline on stdin (faster input in scripts) e echo mode, print each command as well as response p prefix-supression, don't print line number q quiet mode, only print errors or output data i interactive mode, don't exit on errors 2.5.8 ACQ_MULTI_BEGIN and ACQ_MULTI_END: manage multiple output syncs.2.5.7 ACQ_OPTION: set various acquisition options.2.5.6 ACQ_LINK: turn on updating a symlink to the current acquisition.2.5.5 ACQ_PATH: set the default path for data output.2.5.3 ACQ_CONFIG_DIRFILE and ACQ_CONFIG_DIRFILE_FS: dirfile-based acquisitions.2.5.2 ACQ_CONFIG_FS: configure file-sequenced MCE frame file.2.5.1 ACQ_CONFIG: configure simple MCE frame file.2.3.3 ECHO: echo commands to the terminal.2.3.2 DISPLAY: change integer output base.2.3.1 SLEEP: delay execution for some number of microseconds.2.2.3 FRAME: set driver and PCI card frame-data size.2.2.2 EMPTY: cause the driver to empty the output data buffer.2.2.1 FAKESTOP: cause the driver to issue a stop-frame.2.1.2 DSP_RESET: reset the PCI card DSP firmware.2.1.1 MCE_RESET: reset the MCE firmware using special character override.










Using getdata in kst