GxFpgaGetBoardType

Purpose

Returns the board type.

Syntax

GxFpgaGetBoardType (nHandle, pnType, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX3700 board.
pnType
PSHORT
Returned board type:
0. GXFPGA_UNKNOWN_BOARD_TYPE: unknown board type.
1. GXFPGA_BOARD_TYPE_GX3500: board type is GX3500.
2. GXFPGA_BOARD_TYPE_GX3500E: board type is GX3500E.
3. GXFPGA_BOARD_TYPE_GX3700: board type is GX3700.
4. GXFPGA_BOARD_TYPE_GX3700E: board type is GX3700E.
5. GXFPGA_BOARD_TYPE_GX3788: board type is GX3788.
6. GXFPGA_BOARD_TYPE_GX3800E: board type is GX3800E.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Example

The following example returns the board type:

 

SHORT nType;

GxFpgaGetBoardType(nHandle, &nType, &nStatus);

 

See Also

GxFpgaInitialize, GxFpgaGetEepromSummary, GxFpgaGetErrorString