Returns the current state of the Expansion Board Bypass.
GxFpgaGetExpansionBoardBypass (nHandle, puBankBypassControl, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX3500 board. |
puBankBypassControl |
PBYTE |
4-Bit value for the FPGA I/O Bypass Control. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
Each bit in puBankBypassControl 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.
By default all IO Banks are routed to the expansion board. The IO Banks can be routed to the external connectors or the expansion board by calling GxFpgaSetExpansionBoardBypass.
The following example returns the 4-bit I/O Bypass Control value:
GxFpgaGetExpansionBoardBypass (nHandle, &uBankBypassControl, &nStatus);
GxFpgaSetExpansionBoardBypass, GxFpgaGetErrorString