Kvaser CanKing GUI Extensions SDK v7.4.0
Kvaser CanKing GUI Extensions SDK / ipc / sendCanMessage
Function: sendCanMessage()
sendCanMessage(
channelId,canId,data, …flags):Promise<void>
Sends out a CAN message on the specified out channel.
Parameters
channelId
string
Identifier of the out channel to be used when sending out the message, must be a CAN channel.
canId
number
The CAN identifier.
data
number[]
The message data.
flags
…CanFrameFlag[]
Any extra CanFrameFlag values to control how the message is sent out.
Returns
Promise<void>