74
•
CAN_Write.vi
Description
Writes a message to the CAN channel with the specified handle.
Input
•
Handle: The handle of the CAN channel which the message is to be sent to.
•
Id: Message ID.
•
Size: Frame size (0~8).
•
Data[8]: Data bytes 0~7.
•
Flags: 1 (standard), 2 (extended), 9 (st timestamp), 10 (ex
timestamp)
•
Timestamp: Timestamp (ms)
Output
•
Return: A positive value indicates success in sending the message, whereas a
negative value indicates an error in sending the message, with -4 representing that
the channel is not open.