![]() |
CETONI SDK
20220623
The software libraries for integration of all CETONI devices.
|
API specific initialisation functions.
This groups defines all functions to setup and initialize the labbCAN pump API properly.
Functions | |
LCP_Func long LCP_CALL | LCP_GetNoOfPumps () |
Query number of detected pump devices. More... | |
LCP_Func long LCP_CALL | LCP_GetPumpHandle (unsigned char Index, dev_hdl *PumpHandle) |
Get pump handle by its index. More... | |
LCP_Func long LCP_CALL | LCP_LookupPumpByName (const char *pPumpName, dev_hdl *PumpHandle) |
Lookup for a pump device by its name. More... | |
LCP_Func long LCP_CALL LCP_GetNoOfPumps | ( | ) |
Query number of detected pump devices.
>= | 0 Number of detected pump devices |
< | 0 Error code |
LCP_Func long LCP_CALL LCP_GetPumpHandle | ( | unsigned char | Index, |
dev_hdl * | PumpHandle | ||
) |
Get pump handle by its index.
[in] | Index | Index into list of available pump devices |
[out] | PumpHandle | Handle to pump device or 0 if the given index is out of range |
-ERR_PARAM_RANGE | If the given device index is out of range |
ERR_NOERR | indicates success |
LCP_Func long LCP_CALL LCP_LookupPumpByName | ( | const char * | pPumpName, |
dev_hdl * | PumpHandle | ||
) |
Lookup for a pump device by its name.
[in] | pPumpName | The name of the device to lookup for |
[out] | PumpHandle | Handle to pump device or 0 if no pump with given name exists |
-ERR_NODEV | No device with the given name found |
ERR_NOERR | indicates success |