Adds a Traffic Generator to the current measurement setup.
traffic [OutputChannel] [--brs] [-b|--bs,burst-size] [-d|--data] [--fdf] [-i|--id] [-r|--interval] [-l|--language] [--name] [-n|--number-of-messages] [--random-bs] [--random-data] [--random-id] [--random-interval] [--random-length] [--rtr] [--scan-id]
Adds a Traffic Generator to the current measurement setup.
OutputChannel
The identifier/name of the output channel to be used.
--brs
Send flexible data frame with bit rate switch.
-b|--bs,burst-size
The burst size, number of messages sent out at every sample. This option is ignored if --random-bs is set. Default value is
-d|--data
The message data, a byte array (hex format) passed as a string, e.g. 0001020304.
--fdf
Send message as flexible data frame.
-i|--id
The message id. Prefix with 0x to indicate hex format. Suffix with x to indicate extended identifier.
-r|--interval
The transmission interval (sample rate) in milliseconds. This option is ignored if --random-interval is set. Default value is 50 ms.
-l|--language
Specify the preferred language to be used in all output strings. Default value is English (en).
--name
Name of the node. Default value is 'Traffic Generator'
-n|--number-of-messages
The number of messages that will be sent out. Set to zero to keep sending indefinitely. Default value is 0, indefinitely.
--random-bs
Set this option to send out the messages with a
randomized burst size. The value should be set using format
--random-data
Set this option to randomized the message data.
--random-id
Set this option to send out the message with a randomized
identifiers. The value should be set using format
--random-interval
Set this option to send out the message with a randomized
interval. The value should be set using format
--random-length
Set this option to randomized the message data length.
--rtr
Send message as remote request frame.
--scan-id
Set this option to send out the message with identifiers
going from min-id to max-id. The value should be set using format
ck add traffic "CAN 1" --id 0xABx -d 0001020304 --interval 500 --name "C1 traffic generator"