ck add signallogger
Adds a Signal Logger to the current measurement setup.
Only one type of trigger can be used at a time for start and stop seperatly. The available triggers are Timeout, Signal and Identifier.
The supported file formats are: csv, mdf, mdfv4, mat, dat
The signal operators that can be used are: 1 (EqualTo), 2 (NotEqualTo), 3 (LessThan), 4 (LessThanOrEqual), 5 (GreaterThanOrEqual), 6 (GreaterThan)
Synopsis
signallogger [SIGNALS] [--auto-restart] [--col-separator] [--data-bytes-converter-limit] [--data-decimals] [--decimal-separator] [-f|--format] [-l|--language] [-n|--name] [-p|--path] [--size-limit] [--skip-file-header] [--start-id] [--start-operator] [--start-signal-qualified-name] [--start-signal-value] [--start-timeout] [--stop-id] [--stop-operator] [--stop-signal-qualified-name] [--stop-signal-value] [--stop-timeout] [--time-decimals] [--time-limit] [--time-reference] [--use-calendar-time] [--use-enum-values] [--use-local-time] [--write-counter] [--write-data-frames] [--write-data-in-dec] [--write-fully-qualified-names] [--write-id-in-dec] [--write-units-on-own-row]
Description
Adds a Signal Logger to the current measurement setup.
Only one type of trigger can be used at a time for start and stop seperatly. The available triggers are Timeout, Signal and Identifier.
The supported file formats are: csv, mdf, mdfv4, mat, dat
The signal operators that can be used are: 1 (EqualTo), 2 (NotEqualTo), 3 (LessThan), 4 (LessThanOrEqual), 5 (GreaterThanOrEqual), 6 (GreaterThan)
Arguments
SIGNALSA comma separated list containing the qualified names of the signals to log.
Options
--auto-restartAutomatically restart after stop.
--col-separatorUse either a comma (1) or semicolon (2) as the column separator. Default value is a comma (1).
--data-bytes-converter-limitNumber of data bytes a converter will max write to the log file (1-64). Default value is 64.
--data-decimalsNumber of data decimals (0-9). Default value is
--decimal-separatorUse either a dot (1) or comma (2) as the decimal separator. Default value is a dot (1).
-f|--formatFormat of the file to log messages to. If not given the format will be extracted from the path.
-l|--languageSpecify the preferred language to be used in all output strings. Default value is English (en).
-n|--nameName of the node. Default value is ‘Signal Logger’
-p|--pathName of the file to log messages to, including full path (required).
--size-limitMax file size in megabytes before writing to a new file.
--skip-file-headerSkip writing file header
--start-idThe Message ID to use as start trigger. Prefix with 0x to indicate hex format.
--start-operatorThe operator to use as start trigger. Default is 1 (EqualTo).
--start-signal-qualified-nameThe Signal Qualified Name to use as start.
--start-signal-valueThe Signal Value to use as start trigger. Prefix with 0x to indicate hex format.
--start-timeoutA timeout in milliseconds, to be used as start trigger.
--stop-idThe Message ID to use as stop trigger. Prefix with 0x to indicate hex format.
--stop-operatorThe operator to use as stop trigger. Default is 1 (EqualTo).
--stop-signal-qualified-nameThe Signal Qualified Name to use as stop.
--stop-signal-valueThe Signal Value to use as stop trigger. Prefix with 0x to indicate hex format.
--stop-timeoutA timeout in milliseconds, to be used as stop trigger.
--time-decimalsNumber of time decimals (0-9). Default value is
--time-limitMax number of seconds between first and last event before writing to a new file.
--time-referenceUse either first trigger (1) or start of measurement (2) as time reference. Default value is 1 (first trigger).
--use-calendar-timeWrite timestamps in calendar time instead of seconds.
--use-enum-valuesUse strings from database instead of integer
values.
--use-local-timeUse local time instead of UTC for absolute timestamps.
--write-counterWrite counter.
--write-data-framesWrite both signals and data frames.
--write-data-in-decWrite data in decimal format.
--write-fully-qualified-namesWrite fully qualified names.
--write-id-in-decWrite ID in decimal format.
--write-units-on-own-rowWrite units on an own row.
Examples
ck add signallogger dbcfile.engine.speed dbcfile.engine.gear --name "Signal Logger" -p path/to/logfile --format csvsignalck add signallogger dbcfile.engine.speed dbcfile.engine.gear --name "Signal Logger" -p path/to/logfile --format csvsignal --start-timeout 500 --stop-timeout 13000ck add signallogger dbcfile.engine.speed dbcfile.engine.gear --name "Signal Logger" -p path/to/logfile --format csvsignal --start-id 0x3F --stop-id 0x0Fck add signallogger dbcfile.engine.speed dbcfile.engine.gear --name "Signal Logger" -p path/to/logfile --format csvsignal --start-id 0x3F --stop-id 0x0F --start-signal-qualified-name dbcfile.startsignal --stop-signal-qualified-name dbcfile.stopsignal --start-signal-value 0xAB --stop-signal-value 0x12