Qmix SDK  20200506
The software libraries for integration of all CETONI devices.
Pump Status

Overview

Functions to query the actual pump status, flow and volume.

This groups defines all functions to read the actual pump status (pumping or stopped), the actual flow and volume from the device.

+ Collaboration diagram for Pump Status:

Functions

LCP_Func long LCP_CALL LCP_GetDosedVolume (dev_hdl hPump, double *pDosedVolume)
 Get the already dosed volume. More...
 
LCP_Func long LCP_CALL LCP_GetFillLevel (dev_hdl hPump, double *pFillLevel)
 Returns the actual fill level of the pump. More...
 
LCP_Func long LCP_CALL LCP_GetFlowIs (dev_hdl hPump, double *pFlowRateIs)
 Read the actual flow rate. More...
 
LCP_Func long LCP_CALL LCP_GetTargetVolume (dev_hdl hPump, double *pTargetVolume)
 Read the target volume. More...
 
LCP_Func long LCP_CALL LCP_IsCalibrationFinished (dev_hdl hPump)
 Checks if calibration is finished. More...
 
LCP_Func long LCP_CALL LCP_IsPumping (dev_hdl hPump)
 Check if device is currently stopped or dosing. More...
 

Function Documentation

◆ LCP_GetDosedVolume()

LCP_Func long LCP_CALL LCP_GetDosedVolume ( dev_hdl  hPump,
double *  pDosedVolume 
)

Get the already dosed volume.

Parameters
[in]hPumpA valid pump handle
[out]pDosedVolumeReturns the already dosed volume
Returns
Error code - ERR_NOERR indicates success

◆ LCP_GetFillLevel()

LCP_Func long LCP_CALL LCP_GetFillLevel ( dev_hdl  hPump,
double *  pFillLevel 
)

Returns the actual fill level of the pump.

This function returns valid results only for pumps that support a fill level (eg. syringe pumps). Peristaltic pumps do not support fill level. For a syringe pump this function returns the current syringe fill level

Parameters
[in]hPumpA valid pump handle
[out]pFillLevelReturns the current fill level of the pump container (eg. syringe)
Returns
Error code - ERR_NOERR indicates success
Examples:
capi_nemesys_test.cpp, and capi_pressure_control_test.cpp.

◆ LCP_GetFlowIs()

LCP_Func long LCP_CALL LCP_GetFlowIs ( dev_hdl  hPump,
double *  pFlowRateIs 
)

Read the actual flow rate.

This does not read the real flow rate instead this function returns simply the cached flow rate demand value

Parameters
[in]hPumpA valid pump handle
[out]pFlowRateIsThe actual flow rate demand value
Returns
Error code - ERR_NOERR indicates success
Examples:
capi_nemesys_test.cpp, and capi_pressure_control_test.cpp.

◆ LCP_GetTargetVolume()

LCP_Func long LCP_CALL LCP_GetTargetVolume ( dev_hdl  hPump,
double *  pTargetVolume 
)

Read the target volume.

This function simply returns the set target volume value

Parameters
[in]hPumpA valid pump handle
[out]pTargetVolumeReturns the target volume to dose
Returns
Error code - ERR_NOERR indicates success

◆ LCP_IsCalibrationFinished()

LCP_Func long LCP_CALL LCP_IsCalibrationFinished ( dev_hdl  hPump)

Checks if calibration is finished.

The pump handle given in hPump param needs to be a syringe pump handle

Parameters
[in]hPumpA valid pump handle
Return values
0- Device is calibrating
1- Device calibration has finished
<0- Error code
See also
LCP_SyringePumpCalibrate()
Examples:
capi_nemesys_test.cpp.

◆ LCP_IsPumping()

LCP_Func long LCP_CALL LCP_IsPumping ( dev_hdl  hPump)

Check if device is currently stopped or dosing.

Parameters
[in]hPumpA valid pump handle
Return values
1- Device is pumping
0- Device is stopped
<0- Error code
Examples:
capi_nemesys_test.cpp, and capi_pressure_control_test.cpp.