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

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

Collaboration diagram for LEMVAC_INFO:

Data Fields

LEMVAC_INTERN intern
 stores DD specific internal settings More...
 
LEMVAC_NAMES lemvac_names
 stores the internal DD settings More...
 
char lemvac_buffer [SPS_MAX_BYTES]
 SPS-DB byte buffer. More...
 
float lemvac_data [LEMVAC_IN_VARS]
 stores decoded values from SPS-DB More...
 
INT(* bd )(INT cmd,...)
 bus driver entry function for reading More...
 
void * bd_info
 pointer to the BD info structure of the input channels More...
 
int bpv_enabled [2]
 holds enable flag for BPVX and BPVY More...
 
int sc_pump_cmd_enabled
 holds enable flag for SC pump command More...
 
int sc_vent_cmd_enabled
 holds enable flag for SC vent command More...
 
char handshake_cmd [32]
 handshake command More...
 
int handshake_err_count [4]
 handshake command error counters More...
 
HNDLE hDB
 main ODB handle More...
 
HNDLE hKey_in
 main device driver handle for input channels More...
 
HNDLE hKey_out
 main device driver handle for output channels More...
 
HNDLE hKey_DB_Buffer
 handle to the raw SPS-DB data More...
 
DWORD time
 trigger timer More...
 
DWORD errTime
 timer for error handling concerning tcpip communication More...
 
INT startup_error
 tag if there has been an error at startup More...
 
INT tcpip_open_error
 how often the attempt to open the tcpip communication failed More...
 
INT read_error
 how often there has been a read error More...
 
INT read_counts
 total no of tcpip reading attempts More...
 
DWORD last_success
 timer of last read success More...
 

Detailed Description

This structure contains private variables for the device driver.

Definition at line 175 of file lemvac.c.

Field Documentation

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

bus driver entry function for reading

Definition at line 180 of file lemvac.c.

Referenced by lemvac_exit(), lemvac_get_all(), lemvac_in_init(), and lemvac_write_cmd().

void* LEMVAC_INFO::bd_info

pointer to the BD info structure of the input channels

Definition at line 181 of file lemvac.c.

Referenced by lemvac_exit(), lemvac_get_all(), lemvac_in_init(), and lemvac_write_cmd().

int LEMVAC_INFO::bpv_enabled[2]

holds enable flag for BPVX and BPVY

Definition at line 182 of file lemvac.c.

Referenced by lemvac_in_init(), and lemvac_set().

DWORD LEMVAC_INFO::errTime

timer for error handling concerning tcpip communication

Definition at line 192 of file lemvac.c.

Referenced by lemvac_get_all(), and lemvac_in_init().

char LEMVAC_INFO::handshake_cmd[32]
int LEMVAC_INFO::handshake_err_count[4]

handshake command error counters

Definition at line 186 of file lemvac.c.

Referenced by lemvac_deal_with_handshake(), and lemvac_in_init().

HNDLE LEMVAC_INFO::hKey_DB_Buffer

handle to the raw SPS-DB data

Definition at line 190 of file lemvac.c.

Referenced by lemvac_exit(), and lemvac_in_init().

HNDLE LEMVAC_INFO::hKey_in

main device driver handle for input channels

Definition at line 188 of file lemvac.c.

Referenced by lemvac_in_init().

HNDLE LEMVAC_INFO::hKey_out

main device driver handle for output channels

Definition at line 189 of file lemvac.c.

Referenced by lemvac_out_init().

LEMVAC_INTERN LEMVAC_INFO::intern

stores DD specific internal settings

Definition at line 176 of file lemvac.c.

Referenced by lemvac_get(), lemvac_get_all(), lemvac_in_init(), and lemvac_write_cmd().

DWORD LEMVAC_INFO::last_success

timer of last read success

Definition at line 197 of file lemvac.c.

Referenced by lemvac_in_init().

float LEMVAC_INFO::lemvac_data[LEMVAC_IN_VARS]

stores decoded values from SPS-DB

Definition at line 179 of file lemvac.c.

Referenced by lemvac_deal_with_handshake(), lemvac_decode_data(), lemvac_get(), lemvac_get_all(), lemvac_start_sc_pump(), and lemvac_stop_sc_pump().

LEMVAC_NAMES LEMVAC_INFO::lemvac_names

stores the internal DD settings

Definition at line 177 of file lemvac.c.

Referenced by lemvac_in_get_label(), lemvac_in_init(), and lemvac_out_get_label().

INT LEMVAC_INFO::read_counts

total no of tcpip reading attempts

Definition at line 196 of file lemvac.c.

Referenced by lemvac_get_all(), and lemvac_in_init().

INT LEMVAC_INFO::read_error

how often there has been a read error

Definition at line 195 of file lemvac.c.

Referenced by lemvac_get_all(), and lemvac_in_init().

int LEMVAC_INFO::sc_pump_cmd_enabled

holds enable flag for SC pump command

Definition at line 183 of file lemvac.c.

Referenced by lemvac_in_init(), and lemvac_set().

int LEMVAC_INFO::sc_vent_cmd_enabled

holds enable flag for SC vent command

Definition at line 184 of file lemvac.c.

Referenced by lemvac_in_init(), and lemvac_set().

INT LEMVAC_INFO::startup_error

tag if there has been an error at startup

Definition at line 193 of file lemvac.c.

INT LEMVAC_INFO::tcpip_open_error

how often the attempt to open the tcpip communication failed

Definition at line 194 of file lemvac.c.

Referenced by lemvac_get_all(), lemvac_in_init(), and lemvac_write_cmd().

DWORD LEMVAC_INFO::time

trigger timer

Definition at line 191 of file lemvac.c.

Referenced by lemvac_get_all(), and lemvac_in_init().


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