Returns a Matrix relay's state
Gx6256MatrixGetChannel (nHandle, nMuxGroup, nInput, pnState, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX6192/GX6256/GX6864 board. |
nMuxGroup |
SHORT |
Mux Group numbers are:0. GX6256_GROUP_A1. GX6256_GROUP_B2. GX6256_GROUP_C3. GX6256_GROUP_D4. GX6256_GROUP_E5. GX6256_GROUP_F6. GX6256_GROUP_G7. GX6256_GROUP_H8. GX6256_GROUP_I9. GX6256_GROUP_J10. GX6256_GROUP_K11. GX6256_GROUP_L12. GX6256_GROUP_M13. GX6256_GROUP_N14. GX6256_GROUP_O15. GX6256_GROUP_P |
nInput |
SHORT |
Inputs numbers are 0-15 |
pnState |
PSHORT |
Returns the state of a matrix relay |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The Gx6256/6192 switching boards contain a matrix.
The Gx6256 matrix connects the mux groups to the global bus lines.
The Gx6192 matrix connects the mux groups to the analog inputs.
The following returns the state of Mux Group A, input 5 connection state:
Gx6256MatrixGetChannel(nHandle, GX6256_GROUP_A, 5, &nState , &nStatus);
Gx6192/Gx6256/Gx6864MatrixClose, Gx6192/Gx6256/Gx6864MatrixOpen, GxSWGetErrorString