Setup, execute and stop flow profile tables.
More...
|
NCS_Func long __stdcall | NCS_AddFlowProfileValue (ncs_hdl hDevice, unsigned char DosingUnit, double Flow, unsigned int FlowUnit, unsigned long Duration, unsigned int ValveAction) |
| Add single flow profile value to flow profile of certain dosing unit. More...
|
|
NCS_Func long __stdcall | NCS_ClearFlowProfile (ncs_hdl hDevice, unsigned char DosingUnit) |
| Clear flow profile. More...
|
|
NCS_Func long __stdcall | NCS_GetFlowProfileState (ncs_hdl hDevice, unsigned char DosingUnit, unsigned long *pRemainingCycles, unsigned long *pActiveValueIndex) |
| Get state of runnning flow profile. More...
|
|
NCS_Func long __stdcall | NCS_GetFlowProfileValue (ncs_hdl hDevice, unsigned char DosingUnit, unsigned long Index, double *pValue) |
| Read a certain entry from flow profile table. More...
|
|
NCS_Func long __stdcall | NCS_GetNumberOfFlowProfileValues (ncs_hdl hDevice, unsigned char DosingUnit, unsigned long *pNumberOfValues) |
| Query number of flow values values in current flow profile. More...
|
|
NCS_Func long __stdcall | NCS_StartFlowProfile (ncs_hdl hDevice, unsigned char DosingUnit, unsigned long StartIndex, unsigned long Cycles) |
| Start processing of flow profile for single dosing unit. More...
|
|
Setup, execute and stop flow profile tables.
This group defines all required functions for configuration and execution of flow profiles (flow tables). The flow profile enables the autonomous processing of completely preconfigured flow tables. The processing of these flow tables leads to a certain flow profile generated by the certain pump unit.
For each step of the profile the flow rate, the duration and the valve action are configurable.
NCS_Func long __stdcall NCS_AddFlowProfileValue |
( |
ncs_hdl |
hDevice, |
|
|
unsigned char |
DosingUnit, |
|
|
double |
Flow, |
|
|
unsigned int |
FlowUnit, |
|
|
unsigned long |
Duration, |
|
|
unsigned int |
ValveAction |
|
) |
| |
Add single flow profile value to flow profile of certain dosing unit.
- Parameters
-
[in] | hDevice | Valid device handle |
[in] | DosingUnit | Index of neMESYS pump from 0 to number of pumps - 1 |
[in] | Flow | Single flow value to add to end of flow profile |
[in] | FlowUnit | Unit of the flow value in Flow parameter |
[in] | Duration | Time in multiple of 100 ms a certain flow shall remain constant. I.e. a duration of 2 would produce a flow of 200 milliseconds. |
[in] | ValveAction | Identifies the valve action that should be triggered at the start of this flow profile entry. The valve actions are defined in the type TValveAction. |
- Returns
- Error code - ERR_NOERR indicates success
NCS_Func long __stdcall NCS_ClearFlowProfile |
( |
ncs_hdl |
hDevice, |
|
|
unsigned char |
DosingUnit |
|
) |
| |
Clear flow profile.
Clears the list of flow profile values. Do this bevore you start to store new values into the flow profile with NCS_AddFlowProfileValue().
- Parameters
-
[in] | hDevice | Valid device handle |
[in] | DosingUnit | Index of neMESYS pump from 0 to number of pumps - 1 |
- Returns
- Error code - ERR_NOERR indicates success
NCS_Func long __stdcall NCS_GetFlowProfileState |
( |
ncs_hdl |
hDevice, |
|
|
unsigned char |
DosingUnit, |
|
|
unsigned long * |
pRemainingCycles, |
|
|
unsigned long * |
pActiveValueIndex |
|
) |
| |
Get state of runnning flow profile.
- Parameters
-
[in] | hDevice | Valid device handle |
[in] | DosingUnit | Index of neMESYS pump from 0 to number of pumps - 1 |
[out] | pRemainingCycles | Returns the number of remaining flow profile processing cycles. |
[out] | pActiveValueIndex | Index of active flow profile entry in flow table |
- Returns
- Error code - ERR_NOERR indicates success
NCS_Func long __stdcall NCS_GetFlowProfileValue |
( |
ncs_hdl |
hDevice, |
|
|
unsigned char |
DosingUnit, |
|
|
unsigned long |
Index, |
|
|
double * |
pValue |
|
) |
| |
Read a certain entry from flow profile table.
- Parameters
-
[in] | hDevice | Valid device handle |
[in] | DosingUnit | Index of neMESYS pump from 0 to number of pumps - 1 |
[in] | Index | Index into table of flow values (flow profile) |
[out] | pValue | Stores flow rate of flow profile entry |
- Returns
- Error code - ERR_NOERR indicates success
NCS_Func long __stdcall NCS_GetNumberOfFlowProfileValues |
( |
ncs_hdl |
hDevice, |
|
|
unsigned char |
DosingUnit, |
|
|
unsigned long * |
pNumberOfValues |
|
) |
| |
Query number of flow values values in current flow profile.
- Parameters
-
[in] | hDevice | Valid device handle |
[in] | DosingUnit | Index of neMESYS pump from 0 to number of pumps - 1 |
[out] | pNumberOfValues | Stores number of flow values. |
- Returns
- Error code - ERR_NOERR indicates success
NCS_Func long __stdcall NCS_StartFlowProfile |
( |
ncs_hdl |
hDevice, |
|
|
unsigned char |
DosingUnit, |
|
|
unsigned long |
StartIndex, |
|
|
unsigned long |
Cycles |
|
) |
| |
Start processing of flow profile for single dosing unit.
- Parameters
-
[in] | hDevice | Valid device handle |
[in] | DosingUnit | Index of neMESYS pump from 0 to number of pumps - 1 |
[in] | StartIndex | Index of the flow table entry to start from |
[in] | Cycles | Number of cycles to process current flow profile (0 = infinite processing until user stops operation) |
- Returns
- Error code - ERR_NOERR indicates success