EasyManua.ls Logo

Titan Electronics USB-2CAN-M - CAN_MSG Structure

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...
62
9.6.7 CAN_Version
CAN_Version(Handle, buf)
Function:
Retrieves the firmware version of the device connected to channel with the specified
handle.
Parameters:
Handle
o Type: Integer
o The handle of the CAN channel whose version information is to be inquired.
o Format: A numeric value provided by the return value of CAN_Open
o Example: 2508
buf
o Type: Character array/string
o Information about the firmware version will be stored into this array.
o Format: Name of a character array
o Example: myVersion
Return value:
o Type: Integer
o Code indicating result of CAN_Version.
o Result:
1, CAN_Version is successful
-1, error communicating with COM port
-4, error: CAN channel is not open
Sample Command:
CAN_Version(2508)
Retrieves the firmware version of device connected to channel with the handle 2508.

Table of Contents