canchannel - Adds a CAN Channel to the current measurement setup.
canchannel [--access-mode] [-a|--all-connected] [-r|--bit-rate] [--bit-rate-data] [-l|--language] [--name] [-n|--number] [--silent-mode] [--sjw] [--sjw-data] [--time-seg-1] [--time-seg-1-data] [--time-seg-2] [--time-seg-2-data] [--useHex]
Adds a CAN Channel to the current measurement setup.
--access-mode
The access mode to be used. 1 (Init Access), 2 (No Init Access) and 3 (Exclusive Access). Default value is 1 (Init Access).
-a|--all-connected
Add all connected channels. Use this option or the --number option.
-r|--bit-rate
The bit rate in bits per second.
--bit-rate-data
The data phase bit rate in bits per second. Specify this option to indicate that CAN FD will be used.
-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 'CAN {X}' where X is a number
-n|--number
The canlib channel number.
--silent-mode
Specifies if Silent Mode should be used.
--sjw
Specifies the Sync Jump Width value.
--sjw-data
Specifies the Sync Jump Width value for the data phase.
--time-seg-1
Specifies the Time Segment 1 value.
--time-seg-1-data
Specifies the Time Segment 1 value for the data phase.
--time-seg-2
Specifies the Time Segment 2 value.
--time-seg-2-data
Specifies the Time Segment 2 value for the data phase.
--useHex
Set the preferred numeric base to HEX. Default value is true.
add canchannel --name "CAN 1" --number 0 -r 1000000
add canchannel --number 1 -r 1000000
add canchannel --number 1 -r 1000000 --bit-rate-data 2000000