CETONI SDK  20220623
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

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

Function Documentation

◆ LCC_GetChanName()

LCC_Func long LCC_CALL 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.

◆ LCC_LookupCtrlDeviceByName()

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