GtWaveGetBoardType

Supported By

GX1110, GX1120

Applies To

Function Generator and Arbitrary Waveform Generator modes.

Purpose

Returns the board type.

Syntax

GtWaveGetBoardType (nHandle, pnBoardType, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX11X0 board.
pnBoardType
PSHORT
Board type are:
1.        GTWAVE_BOARD_TYPE_1110: board type is GX1120.
2.        GTWAVE_BOARD_TYPE_1120: board type is GX1120.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Example

The following example returns the board type:

 

SHORT nBoardType;

GtWaveGetBoardType (nHandle, &nBoardType, &nStatus);

 

See Also

GtWaveInitialize, GtWaveGetErrorString