85
Status Access API
Section A-4
A-4
Status Access API
A-4-1
CPNT_GetBoardVersion (Get Board Version)
Purpose
Get the Board version.
Call Format
BOOL CPNT_GetBoardVersion (
HANDLE Handle,
BOARD_VERSION_INFO *VersionInfo
) ;
Argument
Returned value
It returns TRUE when the function succeeds.
It returns FALSE when an error occurs. The error details can be obtained with
the function GetLastError.
Remarks
This is used to read the Identity object information of CompoNet Master
Board.
BOARD_VERSION_INFO structure
A-4-2
CPNT_GetDriverVersion (Get Driver Version)
Purpose
Get the device driver version.
Call Format
BOOL CPNT_GetDriverVersion (
HANDLE Handle,
DRIVER_VERSION_INFO *VersionInfo
) ;
Type
Parameter
Direction
Description
HANDLE
Handle
IN
Device handle obtained with the
function CPNT_Open
BOARD_VER
SION_INFO
*VersionInfo
OUT
Pointer to store the version
information
Type
Parameter
Description
WORD
VendorCode
Company code of the Board manufacture,
It is 0x002F.
WORD
DeviceType
Device type of the Board,
It is 0x000C.
WORD
ProductCode
Product code of the Board.
It is 0x0015 for the product 3G8F7-CRM21.
It is 0x0016 for the product 3G8F8-CRM21.
BYTE
MajorVersion
Major board revision
BYTE
MinorVersion
Minor board revision
DWORD
SerialNumber
Board serial number
CHAR
ProductName[
32]
Name of the Board,
It is 3G8F7-CRM21 for the product 3G8F7-CRM21.
It is 3G8F8-CRM21 for the product 3G8F8-CRM21.
Содержание 3G8F7-CRM21
Страница 4: ...iv...
Страница 10: ...x TABLE OF CONTENTS...
Страница 30: ...10 Specifications Section 1 7 1 7 3 Dimensions 3G8F7 CRM21 PCI unit mm 3G8F8 CRM21 CompactPCI unit mm...
Страница 46: ...26 Connecting the Communications Power Supply Cables Section 2 4...
Страница 74: ...54 Board Hardware Error Notification Section 4 8...
Страница 173: ...153 APPENDIX D Sample Program D 1 Sample Program 154...
Страница 230: ...210 Wiring for Power Supply Section E 5...
Страница 234: ...214 Index...
Страница 236: ...216 Revision History...
Страница 237: ......