Qmix SDK  20200506
The software libraries for integration of all CETONI devices.
Common Channel Functions

Overview

Common channel specific auxiliary functions.

+ Collaboration diagram for Common Channel Functions:

Functions

LCAIO_Func long LCAIO_CALL LCAIO_GetAnalogIoDevice (dev_hdl hChan, dev_hdl *pAnalogIoDeviceHdl)
 Query analog I/O device of a certain analog I/O channel. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_GetChanName (dev_hdl hChan, char *pNameStringBuf, int StringBufSize)
 Query name of specific channel. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_LookupAnalogIoDeviceByName (char *pName, dev_hdl *pAnalogIoDeviceHdl)
 Lookup an analog I/O device by its name. More...
 

Function Documentation

◆ LCAIO_GetAnalogIoDevice()

LCAIO_Func long LCAIO_CALL LCAIO_GetAnalogIoDevice ( dev_hdl  hChan,
dev_hdl pAnalogIoDeviceHdl 
)

Query analog I/O device of a certain analog I/O channel.

Parameters
[in]hChanValid input/outut channel handle
[out]pAnalogIoDeviceHdlHandle of analog IO device
Returns
Error code - - ERR_NOERR indicates success

◆ LCAIO_GetChanName()

LCAIO_Func long LCAIO_CALL LCAIO_GetChanName ( dev_hdl  hChan,
char *  pNameStringBuf,
int  StringBufSize 
)

Query name of specific channel.

Normally all channels are named. That means each channel carries a unique name

Parameters
[in]hChanValid input/outut channel handle
[out]pNameStringBufMessage buffer for storage of error message string
[in]StringBufSizeSize of buffer pNameStringBuf in bytes
Returns
Error code - - ERR_NOERR indicates success

◆ LCAIO_LookupAnalogIoDeviceByName()

LCAIO_Func long LCAIO_CALL LCAIO_LookupAnalogIoDeviceByName ( char *  pName,
dev_hdl pAnalogIoDeviceHdl 
)

Lookup an analog I/O device by its name.

Parameters
[in]pNameName of the device
[out]pAnalogIoDeviceHdlHandle of analog IO device
Returns
Error code - - ERR_NOERR indicates success