Common Channel Functions

Overview

Common channel specific auxiliary functions.

+ Collaboration diagram for Common Channel Functions:

Functions

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

Function Documentation

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