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] hChan Valid input/outut channel handle [out] pNameStringBuf Message buffer for storage of error message string [in] StringBufSize Size 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] pName Name of the device [out] pCtrlDeviceHdl Handle of controller device
- Returns
- Error code - - ERR_NOERR indicates success