Go to the source code of this file.
#define LEMVAC_IN_VARS 27 |
number of variables in the get list
Definition at line 10 of file lemvac.h.
#define LEMVAC_OUT_VARS 8 |
number of variables in the set list
Definition at line 11 of file lemvac.h.
INT lemvac_in |
( |
INT |
cmd, |
|
|
|
... |
|
) |
| |
lem vacuum controller device driver (read routines) entry function. Establishes the communication with the SPS controll unit of the LEM experiment and reads the state of the pumps, valves, and the pressure values.
INT lemvac_out |
( |
INT |
cmd, |
|
|
|
... |
|
) |
| |
lem vacuum controller device driver (write routines) entry function. At the moment only control over the BPVX (sliding valve between moderator and trigger chamber) and BPXY (sliding valve between trigger and sample chamber) is implemented. As a precaution for each valve two variables are introduced:
-
a valve enable variable. If this variable is set to 1, the DD takes active control over the valve, otherwise the state of the 2nd variable is ignored.
-
a valve state variable. Value 1 means open the valve, value 0 means closing it.