ck update canchannel
Updates an existing CAN Channel node in the current measurement setup.
Synopsis
ck update canchannel
<CHANNEL_NAME_OR_ID>
[--url <String>]
[--api-key <String>]
[--language <en|zh|ja>]
[--name <NODE_NAME>]
[-r|--bit-rate <BIT_RATE>]
[--sample-point <SAMPLE_POINT>]
[--bit-rate-fd <BIT_RATE_FD>]
[--sample-point-fd <SAMPLE_POINT_FD>]
[--access-mode <InitAccess|NoInitAccess|ExclusiveAccess>]
[--silent-mode <True|False>]
[--prop <PROP_SEGMENT_LENGTH>]
[--phase1 <PHASE_SEGMENT_1_LENGTH>]
[--phase2 <PHASE_SEGMENT_2_LENGTH>]
[--sjw <SYNC_JUMP_WIDTH>]
[--prescaler <PRESCALER>]
[--prop-fd <PROP_SEGMENT_LENGTH_FD>]
[--phase1-fd <PHASE_SEGMENT_1_LENGTH_FD>]
[--phase2-fd <PHASE_SEGMENT_2_LENGTH_FD>]
[--sjw-fd <SYNC_JUMP_WIDTH_FD>]
[--prescaler-fd <PRESCALER_FD>]
ck update canchannel -h|--help
Arguments
CHANNEL_NAME_OR_ID
The name or identifier of the CAN Channel 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).--name
New name for the node.-r|--bit-rate
The bit rate in bits per second.--sample-point
The sample point in percentage.--bit-rate-fd
The CAN FD data phase bit rate in bits per second.--sample-point-fd
The CAN FD data phase sample point in percentage.--access-mode
The access mode to be used. InitAccess, NoInitAccess or ExclusiveAccess.--silent-mode
Specifies if Silent Mode should be used.--prop
Specifies the Propagation Segment length.--phase1
Specifies the Phase Segment 1 length.--phase2
Specifies the Phase Segment 2 length.--sjw
Specifies the Sync Jump Width value.--prescaler
Specifies the Prescaler value.--prop-fd
Specifies the Propagation Segment length for the CAN FD data phase.--phase1-fd
Specifies the Phase Segment 1 length for the CAN FD data phase.--phase2-fd
Specifies the Phase Segment 2 length for the CAN FD data phase.--sjw-fd
Specifies the Sync Jump Width value for the CAN FD data phase.--prescaler-fd
Specifies the Prescaler value for the CAN FD data phase.
Examples
ck update canchannel "CAN 1" --bit-rate 250000
ck update canchannel "CAN 1" --bit-rate 500000 --bit-rate-fd 2000000
ck update canchannel 1875f340-a9c4-4d5b-993c-b08ce4bdfca2 --name "CAN channel 1" --silent-mode true