Returns a mux group's selector mode.
Gx6256MuxGetSelectorMode (nHandle, nMuxGroup, pnSelectorMode, 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 |
pnSelectorMode |
PSHORT |
Mux selector modes are:0. GX6256_SELECTOR_MODE_NONE: The Mux, Matrix, and external lines are not connected to each other.1. GX6256_SELECTOR_MODE_MATRIX_ONLY: The Mux and Matrix are allowed to connect but the external lines are disconnected.2. GX6256_SELECTOR_MODE_EXTERNAL_ONLY: The Mux and the external lines are allowed to connect to each other.3. GX6256_SELECTOR_MODE_MATRIX_AND_EXTERNAL: The Mux is allowed to connect to the Matrix and external lines.4. GX6256_SELECTOR_MODE_MATRIX_ISOLATED: The Mux is not allowed to connect to the selector, effectively making it isolated from the rest of the board. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The following returns Mux group B selector mode:
SHORT nSelectorMode;
Gx6256MuxGetSelectorMode(nHandle, GX6256_GROUP_B, &nSelectorMode, &nStatus);