Low-Energy Muon (LEM) Experiment  0.5.2
MIRROR_INFO Struct Reference

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

Collaboration diagram for MIRROR_INFO:

Data Fields

MIRROR_DD_SETTINGS mirror_dd_settings
 ODB hot-link data for the DD. More...
 
INT(* bd )(INT cmd,...)
 bus driver entry function More...
 
void * bd_info
 private info of bus driver More...
 
HNDLE hDB
 main ODB handle More...
 
HNDLE hkey
 ODB key for bus driver info. More...
 
HNDLE hKeyDemand
 handle to /Equipment/Mirror/Variables/Demand More...
 
HNDLE hKeyInfo
 handle to /Info/Mirror/Angle horizontal More...
 
INT errorcount
 error coutner More...
 
INT startup_error
 startup error tag; if set, the get and BH_set and BH_get routines wont do anything More...
 
DWORD lasterrtime
 timer for error handling More...
 
int bd_connected
 flag showing if bus driver is connected More...
 
DWORD last_reconnect
 timer for bus driver reconnect error handling More...
 
float last_value
 stores the last valid value More...
 
int reconnection_failures
 how often reconnection failed More...
 

Detailed Description

This structure contains private variables for the device driver.

Definition at line 60 of file mirror.c.

Field Documentation

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

bus driver entry function

Definition at line 62 of file mirror.c.

Referenced by mirror_exit(), mirror_get(), and mirror_init().

int MIRROR_INFO::bd_connected

flag showing if bus driver is connected

Definition at line 71 of file mirror.c.

Referenced by mirror_get(), and mirror_init().

void* MIRROR_INFO::bd_info

private info of bus driver

Definition at line 63 of file mirror.c.

Referenced by mirror_exit(), mirror_get(), and mirror_init().

INT MIRROR_INFO::errorcount

error coutner

Definition at line 68 of file mirror.c.

Referenced by mirror_get(), and mirror_init().

HNDLE MIRROR_INFO::hDB

main ODB handle

Definition at line 64 of file mirror.c.

Referenced by mirror_get(), mirror_init(), and mirror_set().

HNDLE MIRROR_INFO::hkey

ODB key for bus driver info.

Definition at line 65 of file mirror.c.

Referenced by mirror_get(), and mirror_init().

HNDLE MIRROR_INFO::hKeyDemand

handle to /Equipment/Mirror/Variables/Demand

Definition at line 66 of file mirror.c.

Referenced by mirror_init(), and mirror_set().

HNDLE MIRROR_INFO::hKeyInfo

handle to /Info/Mirror/Angle horizontal

Definition at line 67 of file mirror.c.

Referenced by mirror_get(), and mirror_init().

DWORD MIRROR_INFO::last_reconnect

timer for bus driver reconnect error handling

Definition at line 72 of file mirror.c.

Referenced by mirror_get(), and mirror_init().

float MIRROR_INFO::last_value

stores the last valid value

Definition at line 73 of file mirror.c.

Referenced by mirror_get().

DWORD MIRROR_INFO::lasterrtime

timer for error handling

Definition at line 70 of file mirror.c.

Referenced by mirror_get(), and mirror_init().

MIRROR_DD_SETTINGS MIRROR_INFO::mirror_dd_settings
int MIRROR_INFO::reconnection_failures

how often reconnection failed

Definition at line 74 of file mirror.c.

Referenced by mirror_get(), and mirror_init().

INT MIRROR_INFO::startup_error

startup error tag; if set, the get and BH_set and BH_get routines wont do anything

Definition at line 69 of file mirror.c.

Referenced by mirror_get(), and mirror_init().


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