Returns the board Daisy Chain connection mode.
Gx6021GetDaisyChainMode (nHandle, nChannel, pnMode, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX6021 board. |
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 = GX6021_DAISY_CHAIN_NONE: No daisy connection. By default, this implies that the factory Loop Back Cable should be installed.
1 = GX6021_DAISY_CHAIN_VIA_FIRST_GROUP: Additional GX6021 board is connected through group A (factory Loop Back Cable not installed).
2 = GX6021_DAISY_CHAIN_VIA_LAST_GROUP: Additional GX6021 board is connected through group D (factory Loop Back Cable not installed).
3 = GX6021_DAISY_CHAIN_VIA_FIRST_AND_LAST_GROUP: Additional GX6021 boards are connected through groups A and D (factory Loop Back Cable not installed).
The following example returns the Daisy Chain mode:
SHORT nMode, nStatus;
Gx6021GetDaisyChainMode (nHandle, &nMode, &nStatus);
Gx6021SetDaisyChainMode, Gx6021Open, Gx6021Close, Gx6021SetGroupRelays, Gx6021GetChannel, GxSWGetErrorString