sranger_hwi_eventhandling.C File Reference

#include <locale.h>
#include <libintl.h>
#include <time.h>
#include "glbvars.h"
#include "plug-ins/hard/modules/dsp.h"
#include <fcntl.h>
#include <sys/ioctl.h>
#include "gxsm/action_id.h"
#include "dsp-pci32/xsm/xsmcmd.h"
#include "sranger_hwi_control.h"
#include "sranger_hwi.h"
#include "gtkspinbuttonsci.h"
#include "../plug-ins/hard/modules/sranger_ioctl.h"

Go to the source code of this file.

Defines

#define UTF8_DEGREE   "\302\260"
#define UTF8_MU   "\302\265"
#define UTF8_ANGSTROEM   "\303\205"
#define CONV_16(X)   X = sranger_hwi_hardware->int_2_sranger_int (X)
#define CONV_32(X)   X = sranger_hwi_hardware->long_2_sranger_long (X)
#define SRV2   (2.05/32767.)
#define SRV10   (10.0/32767.)
#define PhaseFac   (1./16.)
#define BiasFac   (gapp->xsm->Inst->Dig2VoltOut (1.) / gapp->xsm->Inst->BiasV2V (1.))
#define ZAngFac   (gapp->xsm->Inst->Dig2ZA (1))
#define XAngFac   (gapp->xsm->Inst->Dig2XA (1))
#define YAngFac   (gapp->xsm->Inst->Dig2YA (1))
#define MAX_NUM_CHANNELS   25
#define DEFAULT_PROBE_LEN   256

Variables

GxsmPlugin sranger_hwi_pi
sranger_hwi_devsranger_hwi_hardware
static int msklookup []
static int expdi_lookup []
static char * lablookup []
static char * unitlookup []


Define Documentation

#define BiasFac   (gapp->xsm->Inst->Dig2VoltOut (1.) / gapp->xsm->Inst->BiasV2V (1.))
 

Definition at line 68 of file sranger_hwi_eventhandling.C.

Referenced by DSPControl::Probing_eventcheck_callback(), DSPControl::Probing_graph_callback(), and DSPControl::Probing_save_callback().

#define CONV_16  )     X = sranger_hwi_hardware->int_2_sranger_int (X)
 

Definition at line 57 of file sranger_hwi_eventhandling.C.

#define CONV_32  )     X = sranger_hwi_hardware->long_2_sranger_long (X)
 

Definition at line 58 of file sranger_hwi_eventhandling.C.

#define DEFAULT_PROBE_LEN   256
 

Definition at line 571 of file sranger_hwi_eventhandling.C.

Referenced by DSPControl::init_probedata_arrays(), and DSPControl::push_probedata_arrays().

#define MAX_NUM_CHANNELS   25
 

Definition at line 73 of file sranger_hwi_eventhandling.C.

Referenced by DSPControl::Probing_eventcheck_callback(), and DSPControl::Probing_graph_callback().

#define PhaseFac   (1./16.)
 

Definition at line 67 of file sranger_hwi_eventhandling.C.

Referenced by DSPControl::Probing_eventcheck_callback(), DSPControl::Probing_graph_callback(), and DSPControl::Probing_save_callback().

#define SRV10   (10.0/32767.)
 

Definition at line 66 of file sranger_hwi_eventhandling.C.

Referenced by DSPControl::Probing_eventcheck_callback(), DSPControl::Probing_graph_callback(), and DSPControl::Probing_save_callback().

#define SRV2   (2.05/32767.)
 

Definition at line 65 of file sranger_hwi_eventhandling.C.

#define UTF8_ANGSTROEM   "\303\205"
 

Definition at line 55 of file sranger_hwi_eventhandling.C.

#define UTF8_DEGREE   "\302\260"
 

Definition at line 53 of file sranger_hwi_eventhandling.C.

#define UTF8_MU   "\302\265"
 

Definition at line 54 of file sranger_hwi_eventhandling.C.

#define XAngFac   (gapp->xsm->Inst->Dig2XA (1))
 

Definition at line 70 of file sranger_hwi_eventhandling.C.

Referenced by DSPControl::Probing_eventcheck_callback(), DSPControl::Probing_graph_callback(), and DSPControl::Probing_save_callback().

#define YAngFac   (gapp->xsm->Inst->Dig2YA (1))
 

Definition at line 71 of file sranger_hwi_eventhandling.C.

Referenced by DSPControl::Probing_eventcheck_callback(), DSPControl::Probing_graph_callback(), and DSPControl::Probing_save_callback().

#define ZAngFac   (gapp->xsm->Inst->Dig2ZA (1))
 

Definition at line 69 of file sranger_hwi_eventhandling.C.

Referenced by DSPControl::Probing_eventcheck_callback(), DSPControl::Probing_graph_callback(), and DSPControl::Probing_save_callback().


Variable Documentation

int expdi_lookup[] [static]
 

Initial value:

Definition at line 82 of file sranger_hwi_eventhandling.C.

Referenced by DSPControl::Probing_eventcheck_callback(), and DSPControl::Probing_save_callback().

char* lablookup[] [static]
 

Initial value:

 { "ADC0", "ADC1", "ADC2", "ADC3", "ADC4", "ADC5-I","ADC6","ADC7",
                              "Zmon", "Umon", 
                              "LockIn0", "LockIn1stA", "LockIn1stB", "LockIn2ndA", "LockIn2ndB",
                              "Time", "XS",   "YS",   "ZS",   "Bias", "Phase", "VP-Section",
                              NULL
}

Definition at line 91 of file sranger_hwi_eventhandling.C.

Referenced by DSPControl::Probing_eventcheck_callback(), and DSPControl::Probing_save_callback().

int msklookup[] [static]
 

Initial value:

 { 0x0000020, 0x0000040, 0x0000080, 0x0000100, 0x0000200, 0x0000010, 0x0000400, 0, 
                             0x0000001, 0x0000002, 
                             0x0000800, 0x0001000, 0x0002000, 0x0004000, 0x0008000,
                             0x0100000, 0x0200000, 0x0400000, 0x0800000, 0x1000000, 0x2000000, 0x4000000,
                             -1 
}

Definition at line 75 of file sranger_hwi_eventhandling.C.

Referenced by DSPControl::Probing_eventcheck_callback(), and DSPControl::Probing_save_callback().

sranger_hwi_dev* sranger_hwi_hardware
 

Definition at line 509 of file sranger_hwi.C.

GxsmPlugin sranger_hwi_pi
 

Definition at line 442 of file sranger_hwi.C.

char* unitlookup[] [static]
 

Initial value:

 { "V",   "V",    "V",    "V",    "V",    "V",     "V",   "V",
                              UTF8_ANGSTROEM,   "V",    
                              "V", "dV", "dV",  "ddV", "ddV",
                              "ms", UTF8_ANGSTROEM, UTF8_ANGSTROEM, UTF8_ANGSTROEM, "V", "deg", "#",
                              NULL
}

Definition at line 98 of file sranger_hwi_eventhandling.C.

Referenced by DSPControl::Probing_eventcheck_callback(), and DSPControl::Probing_save_callback().


Generated on Sat Apr 1 09:04:47 2006 for GXSM by  doxygen 1.4.6