Opens a Matrix relay.
Gx6188MatrixOpen (nHandle, nChannel, nSelectorBus, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX6188 board. |
nChannel |
SHORT |
Channel numbers are 1-104. |
nSelectorBus |
SHORT |
Selector Bus numbers are:0. GX6188_SELECTOR_BUS_A1. GX6188_SELECTOR_BUS_B2. GX6188_SELECTOR_BUS_C3. GX6188_SELECTOR_BUS_D4. GX6188_SELECTOR_BUS_E5. GX6188_SELECTOR_BUS_F6. GX6188_SELECTOR_BUS_G7. GX6188_SELECTOR_BUS_H |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
This function disconnects the specified UUT channel from the specified selector bus.
The following example opens the connection between input 5 and Selector Bus B:
Gx6188MatrixOpen (nHandle, 5, GX6188_SELECTOR_BUS_B, &nStatus);
Gx6188MatrixGetChannel, Gx6188MatrixClose, GxSWGetErrorString