Overview

Digital output channel functions This group defines all functions to set digital output signals a certain digital output channels.

+ Collaboration diagram for Digital Output:

Functions

long LCDIO_IsOutputOn (dev_hdl OutChanHdl)
 Return the state of a digital output channel. More...
 
long LCDIO_WriteOn (dev_hdl OutChanHdl, int On)
 Swicth digital output channel on/off. More...
 

Function Documentation

long LCDIO_IsOutputOn ( dev_hdl  OutChanHdl)

Return the state of a digital output channel.

Parameters
[in]OutChanHdlHandle to digital output channel
Return values
1Channel is ON
0Channel is OFF
<0Error code
long LCDIO_WriteOn ( dev_hdl  OutChanHdl,
int  On 
)

Swicth digital output channel on/off.

Parameters
[in]OutChanHdlHandle to digital output channel
[in]OnState to set 0 = switch off, 1 = switch on
Returns
Error code - ERR_NOERR indicates success
Examples:
capi_dynamic_controller_test.cpp.