ck update messagelogger
Updates an existing Message Logger node in the current measurement setup.
Synopsis
ck update messagelogger
<LOGGER_NAME_OR_ID>
[--url <String>]
[--api-key <String>]
[--language <en|zh|ja>]
[-n|--name <NODE_NAME>]
[-p|--path <LOG_FILE_PATH>]
[-f|--format <LOG_FILE_FORMAT>]
[--std-ids <STANDARD_CAN_IDS>]
[--ext-ids <EXTENDED_CAN_IDS>]
[--filter-type <pass|block>]
[--start-timeout <START_TIMEOUT_MS>]
[--start-id <START_MESSAGE_ID>]
[--start-source <START_MESSAGE_SOURCE>]
[--stop-timeout <STOP_TIMEOUT_MS>]
[--stop-id <STOP_MESSAGE_ID>]
[--stop-source <STOP_MESSAGE_SOURCE>]
[--auto-restart <True|False>]
[--skip-file-header <True|False>]
[--write-data-in-dec <True|False>]
[--write-id-in-dec <True|False>]
[--decimal-separator <DecDot|DecComma>]
[--col-separator <Comma|Semicolon>]
[--data-bytes-converter-limit <DATA_BYTES_CONVERTER_LIMIT>]
[--size-limit <SIZE_LIMIT_MB>]
[--time-limit <TIME_LIMIT_S>]
[--time-decimals <NUMBER_OF_TIME_DECIMALS>]
[--use-calendar-time <True|False>]
[--use-local-time <True|False>]
[--time-reference <FirstTrigger|StartOfMeasurement>]
ck update messagelogger -h|--help
Arguments
LOGGER_NAME_OR_ID
The name or identifier of the Message Logger node to update.
Options
--url
Specify the URL of the CanKingService if connecting to a remote host. Falls back to the CANKING_REMOTE_URL environment variable. If not specified, the command will connect to a local CanKingService instance.--api-key
API key required when connecting to a remote CanKingService instance. Falls back to the CANKING_REMOTE_API_KEY environment variable.--language
Specify the preferred language to be used in all output strings. Default value is English (en). Supported languages are English (en), Chinese (zh), and Japanese (ja).-n|--name
New name for the node.-p|--path
Name of the file to log messages to, including full path.-f|--format
Format of the file to log messages to.--std-ids
The standard CAN IDs to be filtered.--ext-ids
The extended CAN IDs to be filtered.--filter-type
The filter type. Either block or pass CAN IDs through filter.--start-timeout
A timeout in milliseconds, to be used as start trigger.--start-id
The Message ID to use as start trigger.--start-source
The Message Source to use as start trigger.--stop-timeout
A timeout in milliseconds, to be used as stop trigger.--stop-id
The Message ID to use as stop trigger.--stop-source
The Message Source to use as stop trigger.--auto-restart
Automatically restart after stop.--skip-file-header
Skip writing file header.--write-data-in-dec
Write data in decimal format.--write-id-in-dec
Write ID in decimal format.--decimal-separator
Use either a dot (DecDot) or comma (DecComma) as the decimal separator.--col-separator
Use either a comma or semicolon as the column separator.--data-bytes-converter-limit
Number of data bytes a converter will max write to the log file (1-64).--size-limit
Max file size in megabytes before writing to a new file.--time-limit
Max number of seconds between first and last event before writing to a new file.--time-decimals
Number of time decimals (0-9).--use-calendar-time
Write timestamps in calendar time instead of seconds.--use-local-time
Use local time instead of UTC for absolute timestamps.--time-reference
Use either first trigger or start of measurement as time reference.
Examples
ck update messagelogger "Message Logger" --path path/to/newlogfile.csv
ck update messagelogger "Message Logger" --start-timeout 500 --stop-timeout 13000
ck update messagelogger 58e31d82-c9e2-4557-a612-4408504bdd36 --name "Updated Logger"