Digital Output
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] OutChanHdl Handle to digital output channel
- Return values
-
1 Channel is ON 0 Channel is OFF <0 Error code
| long 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.
