Digital output channel functions This group defines all functions to set digital output signals a certain digital output channels.
◆ LCDIO_IsOutputOn()
LCDIO_Func long LCDIO_CALL LCDIO_IsOutputOn |
( |
dev_hdl |
OutChanHdl | ) |
|
Return the state of a digital output channel.
- Parameters
-
[in] | OutChanHdl | Handle to digital output channel |
- Return values
-
1 | Channel is ON |
0 | Channel is OFF |
<0 | Error code |
◆ LCDIO_WriteOn()
LCDIO_Func long LCDIO_CALL LCDIO_WriteOn |
( |
dev_hdl |
OutChanHdl, |
|
|
int |
On |
|
) |
| |
Swicth digital output channel on/off.
- Parameters
-
[in] | OutChanHdl | Handle to digital output channel |
[in] | On | State to set 0 = switch off, 1 = switch on |
- Returns
- Error code - ERR_NOERR indicates success
- Examples:
- capi_dynamic_controller_test.cpp.