Opens a Mux path
Gx6256MuxOpen (nHandle, nMuxGroup, nChannel, nPath, 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 |
nChannel |
SHORT |
Channel numbers are 0-15 for GX6256 and 0-11 for GX6192 |
nPath |
SHORT |
Mux Paths are (Only applicable to GX6256):0. GX6256_PATH_PRIMARY: The primary path is used to make the connection1. GX6256_PATH_SECONDARY: The secondary path is used to make the connection |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The GX6256 has two paths, primary and secondary, from mux channels to mux selector.
The following example opens the primary path for channel 5 in Mux Group B:
Gx6256MuxOpen(nHandle, GX6256_GROUP_A, 5, GX6256_PATH_PRIMARY, &nStatus);
Gx6192/Gx6256/Gx6864MuxGetChannel, Gx6192/Gx6256/Gx6864MuxClose, GxSWGetErrorString