Adds a Log Replay node to the current measurement setup.
The supported file formats are: .csv, .log, .mf4, .txt, .asc, .blf, .kme, .kme25, .kme40, .kme50
logreplay [CHANNELMAPPINGS] [--decrease-speed] [--higher-variance] [--include-error-frames] [-i|--iterations] [-l|--language] [--lower-variance] [-n|--name] [-p|--path] [-s|--samplerate] [-m|--send-first-message-mode] [--time-factor] [-o|--time-offset] [-t|--transceiver-mode]
Adds a Log Replay node to the current measurement setup.
The supported file formats are: .csv, .log, .mf4, .txt, .asc, .blf, .kme, .kme25, .kme40, .kme50
CHANNELMAPPINGS
JSON string mapping a channel found in the log file to the channel identifier to be used when replaying the file. Example: '{"1":"abc1-def2-ghi3-4567j"}'
--decrease-speed
Decrease the speed by the time factor. By default, the speed will be increased.
--higher-variance
Maximum waiting time variance (0-1) for how long to wait before sending the next message. The resulting range will be between the time factor and the time factor plus the higher variance.
--include-error-frames
Replay error frames as well. Default value is false.
-i|--iterations
Number of iterations to loop the log file. Set to -1 to keep looping indefinitely. Default value is 1.
-l|--language
Specify the preferred language to be used in all output strings. Default value is English (en).
--lower-variance
Minimum waiting time variance (0-1) for how long to wait before sending the next message. The resulting range will be between the time factor and the time factor minus the lower variance.
-n|--name
Name of the node. Default value is 'Log replay'
-p|--path
Full path to the log file to read CAN frames from.
-s|--samplerate
Static sample rate in milliseconds to send the CAN frames at. If zero, timestamps from the log file will be used. Default value is
-m|--send-first-message-mode
Send the first message straight away (1), after the time specified in the log file (2) or after an offset (3). Default value is 1 (send directly).
--time-factor
Factor in percentage for speeding up or down the waiting time until sending the next message.
-o|--time-offset
Time offset in milliseconds until sending the first message. Default value is 0. This parameter shall be used together with the mode for sending the first message after an offset (3).
-t|--transceiver-mode
If only Rx (1), Tx (2), or both (3) messages shall be replayed. Default value is 1 (Rx).
ck add logreplay '{"1":"abc1-def2-ghi3-4567j"}' -p full/path/to/file -t 3