EasyManua.ls Logo

Titan Electronics USB-2CAN-M - Page 75

Titan Electronics USB-2CAN-M
76 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 (standard + timestamp), 10 (extended +
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.

Table of Contents