ck add messagelogger
Adds a Message 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, txt, asc, blf, blffd, kme, kme25, kme40, kme50
The signal operators that can be used are: 1 (EqualTo), 2 (NotEqualTo), 3 (LessThan), 4 (LessThanOrEqual), 5 (GreaterThanOrEqual), 6 (GreaterThan)
Synopsis
messagelogger [--auto-restart] [--col-separator] [--data-bytes-converter-limit] [--decimal-separator] [--ext-ids] [--filter-type] [-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] [--std-ids] [--stop-id] [--stop-operator] [--stop-signal-qualified-name] [--stop-signal-value] [--stop-timeout] [--time-decimals] [--time-limit] [--time-reference] [--use-calendar-time] [--use-local-time] [--write-data-in-dec] [--write-id-in-dec]
Description
Adds a Message 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, txt, asc, blf, blffd, kme, kme25, kme40, kme50
The signal operators that can be used are: 1 (EqualTo), 2 (NotEqualTo), 3 (LessThan), 4 (LessThanOrEqual), 5 (GreaterThanOrEqual), 6 (GreaterThan)
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.
--decimal-separatorUse either a dot (1) or comma (2) as the decimal separator. Default value is a dot (1).
--ext-idsThe extended CAN IDs to be filtered. Example: “1,2,3,5-10” in order to filter IDs 1,2,3 and 5 to 10. Prefix IDs with 0x to indicate hex format.
--filter-typeThe filter type. Either block or pass CAN IDs through filter. Default: pass
-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 ‘Message 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.
--std-idsThe standard CAN IDs to be filtered. Example: “1,2,3,5-10” in order to filter IDs 1,2,3 and 5 to 10. Prefix IDs with 0x to indicate hex format.
--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-local-timeUse local time instead of UTC for absolute timestamps.
--write-data-in-decWrite data in decimal format.
--write-id-in-decWrite ID in decimal format.
Examples
ck add messagelogger --name "Message Logger" -p path/to/logfile --format csvck add messagelogger --name "Message Logger" -p path/to/logfile --format csv --start-timeout 500 --stop-timeout 13000ck add messagelogger --name "Message Logger" -p path/to/logfile --format csv --start-id 0x3F --stop-id 0x0Fck add messagelogger --name "Message Logger" -p path/to/logfile --format csv --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