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

Data Fields

unsigned char control
 control tag More...
 
float u_demand
 demand HV in (V) More...
 
float u_meas
 measured HV in (V) More...
 
float i_meas
 measured current in (uA) More...
 
unsigned char status
 status tag More...
 
unsigned char trip_cnt
 trip counter More...
 
float ramp_up
 ramp up speed in (V/s) More...
 
float ramp_down
 ramp down speed in (V/s) More...
 
float u_limit
 voltage limit in (V) More...
 
float i_limit
 current limit in (uA) More...
 
float ri_limit
 ?? More...
 
unsigned char trip_max
 maximal allowed number of HV trips More...
 
unsigned char trip_time
 ?? More...
 
unsigned char cached
 cache flag More...
 

Detailed Description

Variable set of a hvr400 channel.

The control byte can be or'ed with the following values:

  • 0x0 HV off
  • 0x1 HV on
  • 0x2 HV regulated
  • 0x4 HV idle

The status byte can be or'ed with the following states:

  • 0x00 happy (??)
  • 0x01 negative (??)
  • 0x02 low current
  • 0x04 ramping up
  • 0x08 ramping down
  • 0x10 voltage limit reached
  • 0x20 current limit reached

Definition at line 102 of file hvr400.c.

Field Documentation

unsigned char HVR400_NODE_VARS::cached

cache flag

Definition at line 118 of file hvr400.c.

Referenced by hvr400_get(), and hvr400_read_all().

unsigned char HVR400_NODE_VARS::control

control tag

Definition at line 103 of file hvr400.c.

Referenced by hvr400_get(), hvr400_read_all(), and hvr400_set().

float HVR400_NODE_VARS::i_limit

current limit in (uA)

Definition at line 113 of file hvr400.c.

Referenced by hvr400(), and hvr400_read_all().

float HVR400_NODE_VARS::i_meas

measured current in (uA)

Definition at line 106 of file hvr400.c.

Referenced by hvr400(), hvr400_get(), and hvr400_read_all().

float HVR400_NODE_VARS::ramp_down

ramp down speed in (V/s)

Definition at line 111 of file hvr400.c.

Referenced by hvr400(), and hvr400_read_all().

float HVR400_NODE_VARS::ramp_up

ramp up speed in (V/s)

Definition at line 110 of file hvr400.c.

Referenced by hvr400(), and hvr400_read_all().

float HVR400_NODE_VARS::ri_limit

??

Definition at line 114 of file hvr400.c.

Referenced by hvr400_read_all().

unsigned char HVR400_NODE_VARS::status

status tag

Definition at line 107 of file hvr400.c.

Referenced by hvr400_read_all().

unsigned char HVR400_NODE_VARS::trip_cnt

trip counter

Definition at line 108 of file hvr400.c.

Referenced by hvr400_read_all().

unsigned char HVR400_NODE_VARS::trip_max

maximal allowed number of HV trips

Definition at line 115 of file hvr400.c.

Referenced by hvr400_read_all().

unsigned char HVR400_NODE_VARS::trip_time

??

Definition at line 116 of file hvr400.c.

Referenced by hvr400(), and hvr400_read_all().

float HVR400_NODE_VARS::u_demand

demand HV in (V)

Definition at line 104 of file hvr400.c.

Referenced by hvr400(), hvr400_get(), and hvr400_read_all().

float HVR400_NODE_VARS::u_limit

voltage limit in (V)

Definition at line 112 of file hvr400.c.

Referenced by hvr400(), and hvr400_read_all().

float HVR400_NODE_VARS::u_meas

measured HV in (V)

Definition at line 105 of file hvr400.c.

Referenced by hvr400_get(), and hvr400_read_all().


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