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)
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] [--useHex] [--write-data-in-dec] [--write-id-in-dec]
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)
--auto-restart
Automatically restart after stop.
--col-separator
Use either a comma (1) or semicolon (2) as the column separator. Default value is a comma (1).
--data-bytes-converter-limit
Number of data bytes a converter will max write to the log file (1-64). Default value is 64.
--decimal-separator
Use either a dot (1) or comma (2) as the decimal separator. Default value is a dot (1).
--ext-ids
The extended CAN IDs to be filtered. Example: "1,2,3,5-10" in order to filter IDs 1,2,3 and 5 to 10.
--filter-type
The filter type. Either block or pass CAN IDs through filter. Default: pass
-f|--format
Format of the file to log messages to. If not given the format will be extracted from the path.
-l|--language
Specify the preferred language to be used in all output strings. Default value is English (en).
-n|--name
Name of the node. Default value is 'Message Logger'
-p|--path
Name of the file to log messages to, including full path (required).
--size-limit
Max file size in megabytes before writing to a new file.
--skip-file-header
Skip writing file header
--start-id
The Message ID to use as start trigger.
--start-operator
The operator to use as start trigger. Default is 1 (EqualTo).
--start-signal-qualified-name
The Signal Qualified Name to use as start.
--start-signal-value
The Signal Value to use as start trigger. Prefix with 0x to indicate hex format.
--start-timeout
A timeout in milliseconds, to be used as start trigger.
--std-ids
The standard CAN IDs to be filtered. Example: "1,2,3,5-10" in order to filter IDs 1,2,3 and 5 to 10.
--stop-id
The Message ID to use as stop trigger.
--stop-operator
The operator to use as stop trigger. Default is 1 (EqualTo).
--stop-signal-qualified-name
The Signal Qualified Name to use as stop.
--stop-signal-value
The Signal Value to use as stop trigger. Prefix with 0x to indicate hex format.
--stop-timeout
A timeout in milliseconds, to be used as stop trigger.
--time-decimals
Number of time decimals (0-9). Default value is
--time-limit
Max number of seconds between first and last event before writing to a new file.
--time-reference
Use either first trigger (1) or start of measurement (2) as time reference. Default value is 1 (first trigger).
--use-calendar-time
Write timestamps in calendar time instead of seconds.
--use-local-time
Use local time instead of UTC for absolute timestamps.
--useHex
Set the preferred numeric base to HEX. Default value is true.
--write-data-in-dec
Write data in decimal format.
--write-id-in-dec
Write ID in decimal format.
add messagelogger --name "Message Logger" -p path/to/logfile --format csv
add messagelogger --name "Message Logger" -p path/to/logfile --format csv --start-timeout 500 --stop-timeout 13000
add messagelogger --name "Message Logger" -p path/to/logfile --format csv --start-id 0x3F --stop-id 0x0F
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