Common Channel Functions

Overview

Common channel specific auxiliary functions.

+ Collaboration diagram for Common Channel Functions:

Functions

long LCC_GetChanName (dev_hdl hChan, char *pNameStringBuf, int StringBufSize)
 Query name of specific channel. More...
 
long LCC_LookupCtrlDeviceByName (char *pName, dev_hdl *pCtrlDeviceHdl)
 Lookup a controller device by its name. More...
 

Function Documentation

long LCC_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
Examples:
capi_qmixqplus_test.cpp.
long LCC_LookupCtrlDeviceByName ( char *  pName,
dev_hdl pCtrlDeviceHdl 
)

Lookup a controller device by its name.

Parameters
[in]pNameName of the device
[out]pCtrlDeviceHdlHandle of controller device
Returns
Error code - - ERR_NOERR indicates success