neMESYS SDK  20150729
Dosing Info

Functions to query dosing parameters and device states. More...

Functions

NCS_Func long __stdcall NCS_GetCurrentIs (ncs_hdl hDevice, unsigned char DosingUnit, short *pCurrent)
 Get actual current value of single dosing unit in mA. More...
 
NCS_Func long __stdcall NCS_GetFlowRateIs (ncs_hdl hDevice, unsigned char DosingUnit, double *pFlowRateIs)
 Get actual flow rate of single dosing unit. More...
 
NCS_Func long __stdcall NCS_GetFlowRateIsEx (ncs_hdl hDevice, unsigned char DosingUnit, double *pFlowRateIs, TFlowUnitId FlowUnit)
 Get actual flow rate of single dosing unit (extended version). More...
 
NCS_Func long __stdcall NCS_GetPressureIs (ncs_hdl hDevice, unsigned char DosingUnit, float *pPressure)
 Get actual pressure value of single dosing unit in bar. More...
 
NCS_Func long __stdcall NCS_GetSyringeLevelIs (ncs_hdl hDevice, unsigned char DosingUnit, double *pVolume)
 Get actual syringe fill level. More...
 
NCS_Func long __stdcall NCS_GetSyringeLevelIsEx (ncs_hdl hDevice, unsigned char DosingUnit, double *pVolume, TVolUnitId VolUnit)
 Get actual syringe fill level (extended version). More...
 
NCS_Func long __stdcall NCS_IsCalibrationFinished (ncs_hdl hDevice, unsigned char DosingUnit)
 Get actual flow rate of single dosing unit. More...
 
NCS_Func long __stdcall NCS_IsDosingFinished (ncs_hdl hDevice, unsigned char DosingUnit)
 Check if dosing unit finished dosing (is stopped). More...
 

Detailed Description

Functions to query dosing parameters and device states.

This group defines all required functions for query of different dosing parameters and device states.

Function Documentation

NCS_Func long __stdcall NCS_GetCurrentIs ( ncs_hdl  hDevice,
unsigned char  DosingUnit,
short *  pCurrent 
)

Get actual current value of single dosing unit in mA.

The current actual value [mA] represents the current actual value filtered by 1st order digital low-pass filter with a cut-off frequency of 50 Hz.

Parameters
[in]hDeviceValid device handle
[in]DosingUnitIndex of neMESYS pump from 0 to number of pumps - 1
[out]pCurrentStores actual current value in mA
Returns
Error code - ERR_NOERR indicates success
NCS_Func long __stdcall NCS_GetFlowRateIs ( ncs_hdl  hDevice,
unsigned char  DosingUnit,
double *  pFlowRateIs 
)

Get actual flow rate of single dosing unit.

Parameters
[in]hDeviceValid device handle
[in]DosingUnitIndex of neMESYS pump from 0 to number of pumps - 1
[out]pFlowRateIsStores actual flow rate in configured flow rateunit.
Returns
Error code - ERR_NOERR indicates success
NCS_Func long __stdcall NCS_GetFlowRateIsEx ( ncs_hdl  hDevice,
unsigned char  DosingUnit,
double *  pFlowRateIs,
TFlowUnitId  FlowUnit 
)

Get actual flow rate of single dosing unit (extended version).

The flow unit of the returned flow rate value is configurable in this extended version of NCS_GetFlowRateIsEx().

Parameters
[in]hDeviceValid device handle
[in]DosingUnitIndex of neMESYS pump from 0 to number of pumps - 1
[out]pFlowRateIsStores actual flow rate in configured flow rate unit.
[in]FlowUnitFlow unit for value in pFlowRateIs
Returns
Error code - ERR_NOERR indicates success
NCS_Func long __stdcall NCS_GetPressureIs ( ncs_hdl  hDevice,
unsigned char  DosingUnit,
float *  pPressure 
)

Get actual pressure value of single dosing unit in bar.

Parameters
[in]hDeviceValid device handle
[in]DosingUnitIndex of neMESYS pump from 0 to number of pumps - 1
[out]pPressureReturns the current pressure measured by the integrated pressure sensor of the high pressure module
Returns
Error code - ERR_NOERR indicates success
NCS_Func long __stdcall NCS_GetSyringeLevelIs ( ncs_hdl  hDevice,
unsigned char  DosingUnit,
double *  pVolume 
)

Get actual syringe fill level.

Parameters
[in]hDeviceValid device handle
[in]DosingUnitIndex of neMESYS pump from 0 to number of pumps - 1
[out]pVolumeStores actual syringe level in configured volume unit.
Returns
Error code - ERR_NOERR indicates success
NCS_Func long __stdcall NCS_GetSyringeLevelIsEx ( ncs_hdl  hDevice,
unsigned char  DosingUnit,
double *  pVolume,
TVolUnitId  VolUnit 
)

Get actual syringe fill level (extended version).

The volume unit of the returned syringe level value is configurable in this extended version of NCS_GetSyringeLevelIs().

Parameters
[in]hDeviceValid device handle
[in]DosingUnitIndex of neMESYS pump from 0 to number of pumps - 1
[out]pVolumeStores actual syringe level in configured volume unit.
[in]VolUnitVolume unit for value returned in pVolume
Returns
Error code - ERR_NOERR indicates success
NCS_Func long __stdcall NCS_IsCalibrationFinished ( ncs_hdl  hDevice,
unsigned char  DosingUnit 
)

Get actual flow rate of single dosing unit.

Parameters
[in]hDeviceValid device handle
[in]DosingUnitIndex of neMESYS pump from 0 to number of pumps - 1
Return values
0Calibration is not finished
1Calibration finished
<0Error code
NCS_Func long __stdcall NCS_IsDosingFinished ( ncs_hdl  hDevice,
unsigned char  DosingUnit 
)

Check if dosing unit finished dosing (is stopped).

Parameters
[in]hDeviceValid device handle
[in]DosingUnitIndex of neMESYS pump from 0 to number of pumps - 1
Return values
0Dosing is not finished
1Dosing finished - device stopped
<0Error code