Returns the board Daisy Chain connection mode.
Gx6062GetDaisyChainMode (nHandle, pnMode, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX6062 board. |
nChannel |
SHORT |
Channel numbers are from 1 (GX6062_CHANNEL_FIRST) to 60 (GX6062_CHANNEL_LAST). |
pnMode |
PSHORT |
Specifies the Daisy Chain mode:
See comments for details. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
Daisy Chain modes:
0 = GX6062_DAISY_CHAIN_NONE: No daisy connection. By default, this implies that the factory Loop Back Cable should be installed.
1 = GX6062_DAISY_CHAIN_VIA_FIRST_GROUP: Additional GX6062 board is connected through group A (factory Loop Back Cable not installed).
2 = GX6062_DAISY_CHAIN_VIA_LAST_GROUP: Additional GX6062 board is connected through group L (factory Loop Back Cable not installed).
3 = GX6062_DAISY_CHAIN_VIA_FIRST_AND_LAST_GROUP: Additional GX6062 boards are connected through groups A and L (factory Loop Back Cable not installed).
The following example returns the Daisy Chain mode:
SHORT nMode, nStatus;
Gx6062GetDaisyChainMode (nHandle, &nMode, &nStatus);
Gx6062SetDaisyChainMode, Gx6062Open, Gx6062Close, Gx6062SetGroupRelays, Gx6062GetChannel, GxSWGetErrorString