GxFpgaSetExpansionBoardBypass

Purpose

Sets the current state of the Expansion Board Bypass.

Syntax

GxFpgaSetExpansionBoardBypass (nHandle, uBankBypassControl, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle for a GX3500 board.
uBankBypassControl
BYTE
4-Bit value for the FPGA I/O Bypass Control.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

By default all IO Banks are routed to the expansion board. The expansion board bypass settings can be read by calling GxFpgaGetExpansionBoardBypass.

Each bit represents the switching state of a particular IO Bank. A high bit indicates that the I/O bank has been routed directly to the front I/O Connector. A low bit indicates that the I/O bank has been routed to the expansion board.

Example

The following example connects all banks to the expansion board:

 

GxFpgaSetExpansionBoardBypass (nHandle, 0xF, &nStatus);

 

See Also

GxFpgaSetExpansionBoardBypass, GxFpgaReset, GxFpgaGetErrorString