GxCntGetBoardType

Purpose

Returns the board type.

Syntax

GxCntGetBoardType (nHandle, pnBoardType, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a counter board.
pnBoardType
PSHORT
Returned board type:
  • 1 = GTX2220
  • 2 = GTX2210
  • 3 = GTX2230
  • 11 = GC2220
  • 12 = GC2210
  • 13 = GC2230
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Example

The following example returns the board type:

 

SHORT nHandle, nBoardType, nStatus;

GxCntGetBoardType (nHandle, &nBoardType, &nStatus)

 

See Also

GxCntInitialize, GxCntGetErrorString