CETONI SDK  20220623
The software libraries for integration of all CETONI devices.

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

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

Function Documentation

◆ LCDIO_IsOutputOn()

LCDIO_Func long LCDIO_CALL 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

◆ LCDIO_WriteOn()

LCDIO_Func long LCDIO_CALL 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.