Opens a relay specified by group, row, and column.
Gx6616Open (nHandle, nGroup, nRow, nColumn, pnStatus)
Name |
Type |
Comments |
nGroup |
SHORT |
Group number 0-5. Corresponds to groups A-F. |
nRow |
SHORT |
Row number 0 or 1. |
nColumn |
SHORT |
Column number 0 - 15. |
pnStatus |
LPSHORT |
Returned status: 0 on success, negative number on failure. |
The function ensures that a proper delay (one millisecond) is used from the last switching command. This prevents a relay being opened before a previous switching command is complete.
The following example opens relay at group D, row 1, column 0:
Gx6616Open(nHandle, 3, 1, 0, &nStatus);