Gx6021SetDaisyChainMode (nHandle, nMode, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX6021 board. |
nMode |
SHORT |
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 imply 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 set the Daisy Chain mode to last group (D):
SHORT nStatus;
Gx6021setDaisyChainMode (nHandle, GX6021_DAISY_CHAIN_VIA_LAST_GROUP, &nStatus);
Gx6021GetDaisyChainMode, Gx6021Open, Gx6021Close, Gx6021SetGroupRelays, Gx6021GetChannel, GxSWGetErrorString