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.
◆ LCP_GetDosedVolume()
LCP_Func long LCP_CALL LCP_GetDosedVolume |
( |
dev_hdl |
hPump, |
|
|
double * |
pDosedVolume |
|
) |
| |
Get the already dosed volume.
- Parameters
-
[in] | hPump | A valid pump handle |
[out] | pDosedVolume | Returns 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] | hPump | A valid pump handle |
[out] | pFillLevel | Returns 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] | hPump | A valid pump handle |
[out] | pFlowRateIs | The 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] | hPump | A valid pump handle |
[out] | pTargetVolume | Returns 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] | hPump | A 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 | ) |
|