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

Data Fields

HV_FUG_SETTINGS hv_settings
 ODB hot-link data for the DD. More...
 
LEM_SC_WATCHDOG scw
 slowcontrol watchdog info structure More...
 
int num_channels
 number of channels in the DD More...
 
INT(* bd )(INT cmd,...)
 bus driver entry function More...
 
void * bd_info
 private info of bus driver More...
 
HNDLE hDB
 main handle to the ODB More...
 
HNDLE hkey
 ODB equipment key. More...
 
HNDLE hDDkey
 ODB key to the device driver info. More...
 
float last_valid_hv [25]
 last valid measured hv More...
 
float last_valid_current [25]
 last valid measured current More...
 
INT startup_error
 startup error tag More...
 
INT errorcount
 error limiter More...
 
DWORD lasterrtime
 timer for error limiter More...
 
int bd_connected
 flag showing if the bus driver is connected More...
 
INT first_bd_error
 flag showing if the bus driver error message is already given 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 415 of file hv_fug.c.

Field Documentation

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

bus driver entry function

Definition at line 419 of file hv_fug.c.

Referenced by hv_fug_exit(), hv_fug_get(), and hv_fug_init().

int HV_FUG_INFO::bd_connected

flag showing if the bus driver is connected

Definition at line 429 of file hv_fug.c.

Referenced by hv_fug_exit(), hv_fug_get(), hv_fug_get_current(), hv_fug_init(), hv_fug_set(), and hv_fug_set_current_limit().

void* HV_FUG_INFO::bd_info

private info of bus driver

Definition at line 420 of file hv_fug.c.

Referenced by hv_fug_exit(), hv_fug_get(), and hv_fug_init().

INT HV_FUG_INFO::first_bd_error

flag showing if the bus driver error message is already given

Definition at line 430 of file hv_fug.c.

Referenced by hv_fug_get(), hv_fug_init(), and hv_fug_set().

HNDLE HV_FUG_INFO::hDB

main handle to the ODB

Definition at line 421 of file hv_fug.c.

Referenced by hv_fug_init().

HNDLE HV_FUG_INFO::hDDkey

ODB key to the device driver info.

Definition at line 423 of file hv_fug.c.

Referenced by hv_fug_init().

HNDLE HV_FUG_INFO::hkey

ODB equipment key.

Definition at line 422 of file hv_fug.c.

Referenced by hv_fug_get(), and hv_fug_init().

DWORD HV_FUG_INFO::last_reconnect

timer for bus driver reconnect error handling

Definition at line 432 of file hv_fug.c.

Referenced by hv_fug_get(), and hv_fug_init().

float HV_FUG_INFO::last_valid_current[25]

last valid measured current

Definition at line 425 of file hv_fug.c.

Referenced by hv_fug_get_current().

float HV_FUG_INFO::last_valid_hv[25]

last valid measured hv

Definition at line 424 of file hv_fug.c.

Referenced by hv_fug_get().

DWORD HV_FUG_INFO::lasterrtime

timer for error limiter

Definition at line 428 of file hv_fug.c.

Referenced by hv_fug_get(), hv_fug_get_current(), and hv_fug_init().

int HV_FUG_INFO::num_channels

number of channels in the DD

Definition at line 418 of file hv_fug.c.

Referenced by err_bad_channels(), fp_write_defaults(), and hv_fug_init().

INT HV_FUG_INFO::readback_failure

counts the number of readback failures

Definition at line 431 of file hv_fug.c.

Referenced by hv_fug_get(), and hv_fug_init().

int HV_FUG_INFO::reconnection_failures

how often reconnection failed

Definition at line 433 of file hv_fug.c.

Referenced by hv_fug_get(), and hv_fug_init().

LEM_SC_WATCHDOG HV_FUG_INFO::scw

slowcontrol watchdog info structure

Definition at line 417 of file hv_fug.c.

Referenced by hv_fug_exit(), hv_fug_get(), and hv_fug_init().

INT HV_FUG_INFO::startup_error

startup error tag

Definition at line 426 of file hv_fug.c.

Referenced by hv_fug_exit(), hv_fug_get(), hv_fug_get_current(), hv_fug_init(), hv_fug_set(), and hv_fug_set_current_limit().


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