Sets the digital output bit state.
Applied To
GX1642, GX1648
GxAoSetPortBit (nHandle, bHi, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX1642 or GX1648 board.. |
bHi |
BOOL |
Digital out bit state one for high, 0 for low. |
pnStatus |
LPSHORT |
Returned status: 0 on success, negative number on failure. |
The following example sets Digital Output line high:
SHORT nStatus;
GxAoSetPortBit (nHandle, TRUE, &nStatus);