Low-Energy Muon (LEM) Experiment  0.5.1
BH_INFO Struct Reference
Collaboration diagram for BH_INFO:

Data Fields

BH_IN_SETTINGS bh_in_settings
 internal DD settings for the in-channels More...
 
BH_OUT_SETTINGS bh_out_settings
 internal DD settings for the out-channels More...
 
LEM_SC_WATCHDOG scw
 slowcontrol watchdog info structure More...
 
HNDLE hkey
 ODB key for bus driver info. More...
 
INT num_channels_in
 number of in-channels More...
 
INT num_channels_out
 number of out-channels 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...
 
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 readback_failure
 counts the number of readback failures More...
 
float last_valid_value [2]
 stores the last valid value More...
 
DWORD last_reconnect
 timer for bus driver reconnect error handling More...
 
int reconnection_failures
 how often reconnection failed More...
 
INT startup_tag
 tag indicating that the DD is starting (see bh_in_init and BH_out_init) More...
 

Detailed Description

This structure contains private variables for the device driver.

Definition at line 188 of file bronkhorst.c.

Field Documentation

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

bus driver entry function

Definition at line 195 of file bronkhorst.c.

Referenced by bh_exit(), bh_get(), and bh_in_init().

int BH_INFO::bd_connected

flag showing if bus driver is connected

Definition at line 197 of file bronkhorst.c.

Referenced by bh_get(), bh_in_init(), and bh_set().

void* BH_INFO::bd_info

private info of bus driver

Definition at line 196 of file bronkhorst.c.

Referenced by bh_exit(), bh_get(), and bh_in_init().

BH_IN_SETTINGS BH_INFO::bh_in_settings

internal DD settings for the in-channels

Definition at line 189 of file bronkhorst.c.

Referenced by bh_exit(), bh_get(), bh_get_send_rcv(), bh_in_get_label(), bh_in_init(), bh_set(), and bh_set_send_rcv().

BH_OUT_SETTINGS BH_INFO::bh_out_settings

internal DD settings for the out-channels

Definition at line 190 of file bronkhorst.c.

Referenced by bh_out_get_label(), bh_out_init(), and bh_set().

INT BH_INFO::errorcount

error coutner

Definition at line 199 of file bronkhorst.c.

Referenced by bh_get(), bh_get_send_rcv(), bh_in_init(), bh_set(), and bh_set_send_rcv().

int BH_INFO::first_bd_error

flag showing if the bus driver error message is already given

Definition at line 198 of file bronkhorst.c.

Referenced by bh_get(), bh_in_init(), and bh_set().

HNDLE BH_INFO::hkey

ODB key for bus driver info.

Definition at line 192 of file bronkhorst.c.

Referenced by bh_get(), and bh_in_init().

DWORD BH_INFO::last_reconnect

timer for bus driver reconnect error handling

Definition at line 204 of file bronkhorst.c.

Referenced by bh_get(), and bh_in_init().

float BH_INFO::last_valid_value[2]

stores the last valid value

Definition at line 203 of file bronkhorst.c.

Referenced by bh_get().

DWORD BH_INFO::lasterrtime

timer for error handling

Definition at line 201 of file bronkhorst.c.

Referenced by bh_get(), and bh_in_init().

INT BH_INFO::num_channels_in

number of in-channels

Definition at line 193 of file bronkhorst.c.

Referenced by bh_in_init().

INT BH_INFO::num_channels_out

number of out-channels

Definition at line 194 of file bronkhorst.c.

Referenced by bh_out_init().

INT BH_INFO::readback_failure

counts the number of readback failures

Definition at line 202 of file bronkhorst.c.

Referenced by bh_get(), and bh_in_init().

int BH_INFO::reconnection_failures

how often reconnection failed

Definition at line 205 of file bronkhorst.c.

Referenced by bh_get(), and bh_in_init().

LEM_SC_WATCHDOG BH_INFO::scw

slowcontrol watchdog info structure

Definition at line 191 of file bronkhorst.c.

Referenced by bh_exit(), bh_get(), and bh_in_init().

INT BH_INFO::startup_error

startup error tag; if set, the get and bh_set and bh_get routines wont do anything

Definition at line 200 of file bronkhorst.c.

Referenced by bh_exit(), bh_get(), bh_in_init(), bh_out_init(), and bh_set().

INT BH_INFO::startup_tag

tag indicating that the DD is starting (see bh_in_init and BH_out_init)

Definition at line 206 of file bronkhorst.c.

Referenced by bh_in_init(), and bh_set().


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