Low-Energy Muon (LEM) Experiment
0.5.2
|
Data Fields | |
SM_SETTINGS | sm_settings |
ODB data etc. More... | |
LEM_SC_WATCHDOG | scw |
slowcontrol watchdog info structure More... | |
HNDLE | hDB |
main handle to the ODB More... | |
HNDLE | hkey |
handle to the BD key More... | |
HNDLE | hkey_no_connection |
handle to the no connection flag More... | |
char | sm_in_name [NAME_LENGTH] |
char | sm_out_name [NAME_LENGTH] |
char | sm_modus_name [NAME_LENGTH] |
INT(* | bd )(INT cmd,...) |
bus driver entry function More... | |
void * | bd_info |
private info of bus driver More... | |
INT | startup_error |
startup error tag More... | |
int | sm_in_use |
flag signalling 'in use' of the steppermotor More... | |
int | modus |
modus: readonly = 0, readwrite = 1, auto = 2, PID = 3 More... | |
int | bd_connected |
flag showing if bus driver is connected More... | |
int | first_bd_error |
flag showing if the bus driver error message is already given More... | |
DWORD | last_reconnect |
timer for bus driver reconnect error More... | |
INT | reconnection_failures |
how many reconnection failures took place More... | |
DWORD | last_set_time |
time at the last setting of the valve More... | |
float | signature |
signature of the steppermotor More... | |
float | setpoint |
prevailing setpoint More... | |
float | position |
prevailing position (filled by sm_in_init More... | |
float | velocity |
maximum velocity of the motor More... | |
float | voltage |
voltage over the potentiometer More... | |
float * | data |
pointer to data to obtain TFL signature and pot.meter reading More... | |
int | FromAutoPress |
ODB map of NeedleValve/DD/FromAutoPress. More... | |
This structure contains private variables for the device driver.
Definition at line 117 of file steppermotor.c.
INT(* SM_INFO::bd)(INT cmd,...) |
bus driver entry function
Definition at line 126 of file steppermotor.c.
Referenced by sm_exit(), sm_in_init(), sm_set(), and sm_switch().
int SM_INFO::bd_connected |
flag showing if bus driver is connected
Definition at line 131 of file steppermotor.c.
Referenced by check_serialnumber_and_maxima(), sm_exit(), sm_in_init(), sm_no_connection(), sm_read_position(), sm_read_velocity(), sm_send(), sm_send_rcv(), sm_set(), and sm_switch().
void* SM_INFO::bd_info |
private info of bus driver
Definition at line 127 of file steppermotor.c.
Referenced by sm_exit(), sm_in_init(), sm_set(), and sm_switch().
float* SM_INFO::data |
pointer to data to obtain TFL signature and pot.meter reading
Definition at line 141 of file steppermotor.c.
Referenced by sm_exit(), sm_in_init(), and sm_read_potmeter().
int SM_INFO::first_bd_error |
flag showing if the bus driver error message is already given
Definition at line 132 of file steppermotor.c.
Referenced by sm_in_init(), and sm_set().
int SM_INFO::FromAutoPress |
ODB map of NeedleValve/DD/FromAutoPress.
Definition at line 142 of file steppermotor.c.
Referenced by sm_in_init(), and sm_switch().
HNDLE SM_INFO::hDB |
main handle to the ODB
Definition at line 120 of file steppermotor.c.
Referenced by sm_in_init(), sm_no_connection(), and sm_switch().
HNDLE SM_INFO::hkey |
handle to the BD key
Definition at line 121 of file steppermotor.c.
Referenced by sm_in_init(), sm_set(), and sm_switch().
HNDLE SM_INFO::hkey_no_connection |
handle to the no connection flag
Definition at line 122 of file steppermotor.c.
Referenced by sm_in_init(), and sm_no_connection().
DWORD SM_INFO::last_reconnect |
timer for bus driver reconnect error
Definition at line 133 of file steppermotor.c.
Referenced by sm_in_init(), and sm_set().
DWORD SM_INFO::last_set_time |
time at the last setting of the valve
Definition at line 135 of file steppermotor.c.
Referenced by sm_in_init(), and sm_set().
int SM_INFO::modus |
modus: readonly = 0, readwrite = 1, auto = 2, PID = 3
Definition at line 130 of file steppermotor.c.
Referenced by sm_in_init(), sm_set(), and sm_switch().
float SM_INFO::position |
prevailing position (filled by sm_in_init
Definition at line 138 of file steppermotor.c.
Referenced by sm_in_init(), sm_set(), and sm_switch().
INT SM_INFO::reconnection_failures |
how many reconnection failures took place
Definition at line 134 of file steppermotor.c.
Referenced by sm_set().
LEM_SC_WATCHDOG SM_INFO::scw |
slowcontrol watchdog info structure
Definition at line 119 of file steppermotor.c.
Referenced by sm_set().
float SM_INFO::setpoint |
prevailing setpoint
Definition at line 137 of file steppermotor.c.
Referenced by sm_in_init(), sm_set(), and sm_switch().
float SM_INFO::signature |
signature of the steppermotor
Definition at line 136 of file steppermotor.c.
Referenced by sm_in_init().
char SM_INFO::sm_in_name[NAME_LENGTH] |
Definition at line 123 of file steppermotor.c.
Referenced by sm_in_get_default_name(), and sm_in_init().
int SM_INFO::sm_in_use |
flag signalling 'in use' of the steppermotor
Definition at line 129 of file steppermotor.c.
Referenced by check_serialnumber_and_maxima(), sm_get(), sm_in_init(), sm_read_potmeter(), sm_set(), and sm_switch().
char SM_INFO::sm_modus_name[NAME_LENGTH] |
Definition at line 125 of file steppermotor.c.
Referenced by sm_in_init(), and sm_out_get_default_name().
char SM_INFO::sm_out_name[NAME_LENGTH] |
Definition at line 124 of file steppermotor.c.
Referenced by sm_in_init(), and sm_out_get_default_name().
SM_SETTINGS SM_INFO::sm_settings |
ODB data etc.
Definition at line 118 of file steppermotor.c.
Referenced by check_serialnumber_and_maxima(), sm_in_init(), sm_read_position(), sm_read_potmeter(), sm_read_velocity(), sm_send(), sm_send_rcv(), sm_set(), and sm_switch().
INT SM_INFO::startup_error |
startup error tag
Definition at line 128 of file steppermotor.c.
Referenced by sm_get(), sm_in_init(), sm_set(), and sm_switch().
float SM_INFO::velocity |
maximum velocity of the motor
Definition at line 139 of file steppermotor.c.
Referenced by sm_in_init(), sm_set(), and sm_switch().
float SM_INFO::voltage |
voltage over the potentiometer
Definition at line 140 of file steppermotor.c.
Referenced by sm_in_init(), and sm_read_potmeter().