Opens specified channel/relay in a group.
Gx6062Open (nHandle, nGroup, nRelay, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX6062 board. |
nGroup |
SHORT |
Specified group number, group number can be 0 (GX6062_GROUP_FIRST) to 11 (GX6062_GROUP_LAST). |
nRelay |
SHORT |
Specifies the Relay numbers in the group as follow:
|
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The Gx6062DisconnectGroupToExternalCoax function call can be also used to disconnect the specified group from the External Coax connector.
The Gx6062GetChannel function can be used to retrieve the current channel state.
The following example opens group 2 relay 1:
SHORT nStatus;
Gx6062Open (nHandle, 2, 1, &nStatus);
Gx6062Close, Gx6062SetGroupRelays, Gx6062GetGroupRelays, GxSWGetErrorString