Kvaser CanKing GUI Extensions SDK v7.4.0
Kvaser CanKing GUI Extensions SDK / models / CanChannelConfiguration
Interface: CanChannelConfiguration
A message for defining a CAN channel’s configuration.
Remarks
When using CAN FD or CAN XL, both arbitration and data phase bus parameters must be specified. For CAN XL, both CAN FD and CAN XL data phase parameters must be specified. Specify either only the bit rate or both the bit rate and the sample point or only the bus parameters for each phase. If the bus parameters are specified, the bit rate and sample point values are ignored (will be calculated automatically). If only the bit rate is specified, the sample point will be set to a default value of 75% for classic CAN and 80% for CAN FD and CAN XL
Properties
accessMode
accessMode:
AccessMode
The access mode to use.
busParams
busParams:
CanBusParams
The selected bus params for classic CAN or the selected bus params for the arbitration phase in CAN FD/CAN XL.
busParamsBitRate
busParamsBitRate:
number
Bit rate of the selected bus params for classic CAN or the selected bus params for the arbitration phase in CAN FD/CAN XL.
busParamsBitRateFd?
optionalbusParamsBitRateFd:number
Bit rate of the selected bus params for the data phase in CAN FD.
busParamsBitRateXl?
optionalbusParamsBitRateXl:number
Bit rate of the selected bus params for the data phase in CAN XL.
busParamsFd?
optionalbusParamsFd:CanBusParams
The selected bus params for the data phase in CAN FD.
busParamsSamplePoint?
optionalbusParamsSamplePoint:number
Sample point in percentage of the selected bus params for classic CAN or the selected bus params for the arbitration phase in CAN FD/CAN XL.
busParamsSamplePointFd?
optionalbusParamsSamplePointFd:number
Sample point in percentage of the selected bus params for the data phase in CAN FD.
busParamsSamplePointXl?
optionalbusParamsSamplePointXl:number
Sample point in percentage of the selected bus params for the data phase in CAN XL.
busParamsXl?
optionalbusParamsXl:CanBusParams
The selected bus params for the data phase in CAN XL.
canConfigModes
canConfigModes:
CanConfigMode[]
The CAN configuration mode to use.
canMode
canMode:
CanMode
The CAN mode to use.
fdTdc?
optionalfdTdc:TdcConfiguration
CAN FD Transmitter-Delay Compensation (TDC).
pwml?
optionalpwml:number
PWM long phase (mtq).
pwmo?
optionalpwmo:number
PWM time offset (mtq).
pwms?
optionalpwms:number
PWM short phase (mtq).
silentMode
silentMode:
boolean
Set to true to enable silent mode, otherwise the channel will be setup as normal.
xlTdc?
optionalxlTdc:TdcConfiguration
CAN XL Transmitter-Delay Compensation (TDC).