dlogger
Purpose:
-
Start a fast CyFlex data logging operation for collecting and storing test data.
Enter:
- dlogger [dlogger_spec_file] [options]
Where:
-
dlogger_spec_file Optional. Specify the name of the CyFlex logger specification file.
Default: dlogger_spec.nnn (nnn = test cell number)options Any option specified on the command line overrides the same option in the spec file. Specify any of the following:
-start=strt_event Specify the CyFlex event name to start the sampling.
Example: -start=start_dlogger-stop=stop_event Specify the CyFlex event name to stop the sampling.
Example: -stop=stop_dlogger-rels=release_event Specify the CyFlex event name that will cause floger to exit the system.
Example: -rels=rels_dlogger-done=done_event Specify the CyFlex event name that will be emitted when done sampling.
Example: -done=dlogger_done-interval=interval Specify the time interval between data samples. Units must be supplied.
Example: -interval=1[sec]-n=max scans Specify the maximum number of data samples or scans to be collected.
Example: -n=1000-sync=sync_event Specify the CyFlex event name that will cause the start the sampling. If specified, this is used in place of the timer, therefore no interval should be specified.
Example: -sync=dlogger_sync-enable=variable_name Specify the CyFlex variable name that will enable sampling.
Example: -enable=enb_dlogger-path=directoryPath Specify the directory path to contain the output file. The entry may also be a STRING_VARIABLE that contains the directory path of the output file.
Default: /data/dlog
Example: -path=dlogger_path_var-ftp_event=event_name Specify the CyFlex event name to use to signal that the output file should be FTP’d to the ftp_path.
Default: FTP_write
Example: -ftp_event=dlogger_xfer-csar_label=label_type Specify the CSAR label type.
Example:
-
dlogger /specs/dlog1 n =1000 interval=1(sec) &
The above command causes the file /specs/dlog1 to be processed. The number of samples is set to 1000 and the samples are taken every second. The output file that is specified in the spec file will be overwritten. The number of samples and the interval specified in the spec will be overridden by the command line arguments.
Notes:
-
Command-line options override spec file settings. Multiple loggers can operate simultaneously.
Sampling starts immediately if no start event is specified.
Use the errs command to check for errors after using this command.