Common Channel Functions

Overview

Common channel specific auxiliary functions.

+ Collaboration diagram for Common Channel Functions:

Functions

long LCDIO_GetChanName (dev_hdl hChan, char *pNameStringBuf, int StringBufSize)
 Query name of specific channel. More...
 
long LCDIO_LookupIoDeviceByName (const char *pName, dev_hdl *pIoDeviceHdl)
 Lookup an analog I/O device by its name. More...
 

Function Documentation

long LCDIO_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/output 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 LCDIO_LookupIoDeviceByName ( const char *  pName,
dev_hdl pIoDeviceHdl 
)

Lookup an analog I/O device by its name.

Parameters
[in]pNameName of the device
[out]pIoDeviceHdlHandle of a digital IO device
Returns
Error code - - ERR_NOERR indicates success