Functions for control of integrated two-way-valve.
More...
|
NCS_Func long __stdcall | NCS_IsInvertedValveSwitchingOn (ncs_hdl hDevice, unsigned char DosingUnit) |
| Checks if inverted valve switching is on or off. More...
|
|
NCS_Func long __stdcall | NCS_IsValveAutomaticOn (ncs_hdl hDevice, unsigned char DosingUnit) |
| Checks if valve automatic is switched on or off. More...
|
|
NCS_Func long __stdcall | NCS_IsValveInstalled (ncs_hdl hDevice, unsigned char DosingUnit) |
| Checks if a valve is installed. More...
|
|
NCS_Func long __stdcall | NCS_IsValveSwitchedToOutput (ncs_hdl hDevice, unsigned char DosingUnit) |
| Check status of valve. More...
|
|
NCS_Func long __stdcall | NCS_SetInvertedValveSwitching (ncs_hdl hDevice, unsigned char DosingUnit, unsigned char Invert) |
| Activate / deactivate inverted valve switching. More...
|
|
NCS_Func long __stdcall | NCS_SetValveAutomatic (ncs_hdl hDevice, unsigned char DosingUnit, unsigned char ValveAutomaticOn) |
| Turn valve automatic on / off. More...
|
|
NCS_Func long __stdcall | NCS_SwitchValve (ncs_hdl hDevice, unsigned char DosingUnit, unsigned char SwitchToOutput) |
| Switch valve to input or output. More...
|
|
Functions for control of integrated two-way-valve.
This group defines all required functions for valve control, configuration and reading of valve states (if a valve is installed).
NCS_Func long __stdcall NCS_IsInvertedValveSwitchingOn |
( |
ncs_hdl |
hDevice, |
|
|
unsigned char |
DosingUnit |
|
) |
| |
Checks if inverted valve switching is on or off.
- Parameters
-
[in] | hDevice | Valid device handle |
[in] | DosingUnit | Index of neMESYS pump from 0 to number of pumps - 1 |
- Return values
-
0 | Valve switching is direct (not inverted) |
1 | Valve switching is inverted |
<0 | Error code |
NCS_Func long __stdcall NCS_IsValveAutomaticOn |
( |
ncs_hdl |
hDevice, |
|
|
unsigned char |
DosingUnit |
|
) |
| |
Checks if valve automatic is switched on or off.
If valve automatic is on the valve will be switched as soon as the dosing changes
- Parameters
-
[in] | hDevice | Valid device handle |
[in] | DosingUnit | Index of neMESYS pump from 0 to number of pumps - 1 |
- Return values
-
0 | Valve automatic switching is turned off |
1 | Valve automatic switching is turned on |
<0 | Error code |
NCS_Func long __stdcall NCS_IsValveInstalled |
( |
ncs_hdl |
hDevice, |
|
|
unsigned char |
DosingUnit |
|
) |
| |
Checks if a valve is installed.
- Parameters
-
[in] | hDevice | Valid device handle |
[in] | DosingUnit | Index of neMESYS pump from 0 to number of pumps - 1 |
- Return values
-
0 | No valve instaled on this dosing unit |
1 | Valve is installed |
<0 | Error code |
NCS_Func long __stdcall NCS_IsValveSwitchedToOutput |
( |
ncs_hdl |
hDevice, |
|
|
unsigned char |
DosingUnit |
|
) |
| |
Check status of valve.
- Parameters
-
[in] | hDevice | Valid device handle |
[in] | DosingUnit | Index of neMESYS pump from 0 to number of pumps - 1 |
- Return values
-
0 | Valve is switched to input (taking up reagent) |
1 | Valve is switched to output (delivering reagent) |
<0 | Error code |
NCS_Func long __stdcall NCS_SetInvertedValveSwitching |
( |
ncs_hdl |
hDevice, |
|
|
unsigned char |
DosingUnit, |
|
|
unsigned char |
Invert |
|
) |
| |
Activate / deactivate inverted valve switching.
Inverted valve switching swithes the valve into the opposite direction of the normal valve switching.
- Parameters
-
[in] | hDevice | Valid device handle |
[in] | DosingUnit | Index of neMESYS pump from 0 to number of pumps - 1 |
[in] | Invert | 0 - Inverted valve switching actived 1 - Inverted valve switching deactivated |
- Returns
- Error code - ERR_NOERR indicates success
NCS_Func long __stdcall NCS_SetValveAutomatic |
( |
ncs_hdl |
hDevice, |
|
|
unsigned char |
DosingUnit, |
|
|
unsigned char |
ValveAutomaticOn |
|
) |
| |
Turn valve automatic on / off.
If valve automatic is on the valve will be switched as soon as the dosing changes
- Parameters
-
[in] | hDevice | Valid device handle |
[in] | DosingUnit | Index of neMESYS pump from 0 to number of pumps - 1 |
[in] | ValveAutomaticOn | 0 - Valve automatic off 1 - Valve automatic on |
- Returns
- Error code - ERR_NOERR indicates success
NCS_Func long __stdcall NCS_SwitchValve |
( |
ncs_hdl |
hDevice, |
|
|
unsigned char |
DosingUnit, |
|
|
unsigned char |
SwitchToOutput |
|
) |
| |
Switch valve to input or output.
Switch valve to input for taking up reagent and to output for delivering of reagent. After switching on power supply the valve is always switched to output.
- Parameters
-
[in] | hDevice | Valid device handle |
[in] | DosingUnit | Index of neMESYS pump from 0 to number of pumps - 1 |
[in] | SwitchToOutput | 0 - valves switches to input 1 - valve switches to output |
- Returns
- Error code - ERR_NOERR indicates success