Low-Energy Muon (LEM) Experiment  0.5.1
BRUKER_INFO Struct Reference

This structure contains private variables for the device driver. More...

Collaboration diagram for BRUKER_INFO:

Data Fields

BRUKER_SETTINGS bruker_settings
 stores the internal DD settings More...
 
INT(* bd )(INT cmd,...)
 bus driver entry function More...
 
void * bd_info
 private info of bus driver 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...
 
HNDLE hkey
 ODB key for bus driver info. More...
 
INT bruker_remote
 1=remote, 0=local More...
 
float bruker_polarity
 keeps the current polarity tag: 1=pos, 2=neg More...
 
INT bruker_pol_switching
 flag showing that the polarity is switching More...
 
float bruker_target_demand
 keeps the target demand current value: needed if polarity switching is needed More...
 
DWORD check_setpoint_timer
 timer needed to check the setpoint current More...
 
BOOL check_setpoint
 flag needed to check the setpoint More...
 
INT errcount
 error counter in order not to flood the message queue More...
 
INT startup_error
 initializer error tag, if set, bruker_get and bruker_set won't do anything More...
 
DWORD lasterrtime
 last error time stamp More...
 
INT readback_failure
 counts the number of readback failures More...
 
DWORD last_reconnect
 timer for bus driver reconnect error handling More...
 
int reconnection_failures
 how often reconnection failed More...
 

Detailed Description

This structure contains private variables for the device driver.

Definition at line 107 of file bruker.c.

Field Documentation

INT(* BRUKER_INFO::bd)(INT cmd,...)

bus driver entry function

Definition at line 109 of file bruker.c.

Referenced by bruker_exit(), bruker_get(), and bruker_in_init().

int BRUKER_INFO::bd_connected

flag showing if bus driver is connected

Definition at line 111 of file bruker.c.

Referenced by bruker_get(), bruker_in_init(), and bruker_set().

void* BRUKER_INFO::bd_info

private info of bus driver

Definition at line 110 of file bruker.c.

Referenced by bruker_exit(), bruker_get(), and bruker_in_init().

INT BRUKER_INFO::bruker_pol_switching

flag showing that the polarity is switching

Definition at line 116 of file bruker.c.

Referenced by bruker_get(), and bruker_set().

float BRUKER_INFO::bruker_polarity

keeps the current polarity tag: 1=pos, 2=neg

Definition at line 115 of file bruker.c.

Referenced by bruker_get(), bruker_in_init(), and bruker_set().

INT BRUKER_INFO::bruker_remote

1=remote, 0=local

Definition at line 114 of file bruker.c.

Referenced by bruker_decode_status(), and bruker_in_init().

BRUKER_SETTINGS BRUKER_INFO::bruker_settings

stores the internal DD settings

Definition at line 108 of file bruker.c.

Referenced by bruker_get(), bruker_get_label_in(), bruker_get_label_out(), bruker_in_init(), and bruker_set().

float BRUKER_INFO::bruker_target_demand

keeps the target demand current value: needed if polarity switching is needed

Definition at line 117 of file bruker.c.

Referenced by bruker_get(), and bruker_set().

BOOL BRUKER_INFO::check_setpoint

flag needed to check the setpoint

Definition at line 119 of file bruker.c.

Referenced by bruker_get(), bruker_in_init(), and bruker_set().

DWORD BRUKER_INFO::check_setpoint_timer

timer needed to check the setpoint current

Definition at line 118 of file bruker.c.

Referenced by bruker_get().

INT BRUKER_INFO::errcount

error counter in order not to flood the message queue

Definition at line 120 of file bruker.c.

Referenced by bruker_decode_status(), bruker_get(), and bruker_in_init().

int BRUKER_INFO::first_bd_error

flag showing if the bus driver error message is already given

Definition at line 112 of file bruker.c.

Referenced by bruker_get(), bruker_in_init(), and bruker_set().

HNDLE BRUKER_INFO::hkey

ODB key for bus driver info.

Definition at line 113 of file bruker.c.

Referenced by bruker_get(), and bruker_in_init().

DWORD BRUKER_INFO::last_reconnect

timer for bus driver reconnect error handling

Definition at line 124 of file bruker.c.

Referenced by bruker_get(), and bruker_in_init().

DWORD BRUKER_INFO::lasterrtime

last error time stamp

Definition at line 122 of file bruker.c.

Referenced by bruker_get(), and bruker_in_init().

INT BRUKER_INFO::readback_failure

counts the number of readback failures

Definition at line 123 of file bruker.c.

Referenced by bruker_get(), and bruker_in_init().

int BRUKER_INFO::reconnection_failures

how often reconnection failed

Definition at line 125 of file bruker.c.

Referenced by bruker_get(), and bruker_in_init().

INT BRUKER_INFO::startup_error

initializer error tag, if set, bruker_get and bruker_set won't do anything

Definition at line 121 of file bruker.c.

Referenced by bruker_get(), bruker_in_init(), and bruker_set().


The documentation for this struct was generated from the following file: