/* ************************************************************** */ /* * WIRPOSPARAM.H * This file contains parameters required by the measurement * program. * * Zachary Wolf * 6/3/05 */ /* Protection from multiple definitions */ #ifndef __WIRPOSPARAM_HEADER #define __WIRPOSPARAM_HEADER /* GPIB addresses */ #define GPIB_BOARD_ADDR 0 #define GPIB_ESP7000_ADDR 2 #define GPIB_HP34970_ADDR 9 /* Wirpos parameters */ #define WIRPOS_BOARD_ADDR GPIB_BOARD_ADDR #define WIRPOS_ESP7000_ADDR GPIB_ESP7000_ADDR #define WIRPOS_HP34970_ADDR GPIB_HP34970_ADDR #define WIRPOS_DEVICE_TYPE WIRPOS_ESP7000_HP34970 #define WIRPOS_ACC 0.004 #define WIRPOS_VEL 0.0004 #define WIRPOS_SHOW_UI WIRPOS_TRUE /* Wire position detector information */ #include "wirpos.h" #define WIRPOS_NUM_WIRE_DET 4 struct wirpos_det_info_struct WIRPOS_DET_INFO[WIRPOS_NUM_WIRE_DET] = { {"x1", 1, 101, 0}, {"x2", 2, 102, 0.007}, {"x3", 3, 103, 0.0035}, {"x4", 4, 104, 0.0075} }; /* #define WIRPOS_NUM_WIRE_DET 4 struct wirpos_det_info_struct WIRPOS_DET_INFO[WIRPOS_NUM_WIRE_DET] = { {"x1", 1, 101}, {"y1", 2, 102}, {"x2", 3, 103}, {"y2", 4, 104} }; */ /* End protection */ #endif