/* ************************************************************** */ /* * PARAM.H * This file contains parameters required by the measurement * program. * * Zachary Wolf * 2/4/00 */ /* Protection from multiple definitions */ #ifndef __BHVSZPARAM_HEADER #define __BHVSZPARAM_HEADER /* GPIB addresses */ #define GPIB_BOARD_ADDR 0 #define GPIB_B9900_ADDR 17 #define GPIB_GP3_ADDR 16 #define GPIB_LS450_ADDR 15 #define GPIB_CM2100_ADDR 01 #define GPIB_MC4_ADDR 14 #define GPIB_HP3457_ADDR 22 #define GPIB_DAC488_ADDR 19 #define GPIB_DAC488HR_ADDR 8 /* Hall probe measurements */ #define BHALL_BOARD_ADDR GPIB_BOARD_ADDR #define BHALL_B9900_ADDR GPIB_B9900_ADDR #define BHALL_GP3_ADDR GPIB_GP3_ADDR #define BHALL_LS450_ADDR GPIB_LS450_ADDR #define BHALL_DEVICE_TYPE BHALL_B9900 #define BHALL_B9900_CHAN 1 /* Move the probes */ #define MOVEZ_BOARD_ADDR GPIB_BOARD_ADDR #define MOVEZ_CM2100_ADDR GPIB_CM2100_ADDR #define MOVEZ_MC4_ADDR GPIB_MC4_ADDR #define MOVEZ_DEVICE_TYPE MOVEZ_MANUAL_NONE #define MOVEZ_CM2100_NUM_STEPS_PER_REV 25000 #define MOVEZ_CM2100_METERS_PER_REV .1 #define MOVEZ_MC4_AXIS 'X' #define MOVEZ_ACC .1 #define MOVEZ_VEL .1 /* Magnet current */ #define IMAG_BOARD_ADDR GPIB_BOARD_ADDR #define IMAG_DAC488_ADDR GPIB_DAC488_ADDR #define IMAG_DAC488HR_ADDR GPIB_DAC488HR_ADDR #define IMAG_HP3457_ADDR GPIB_HP3457_ADDR #define IMAG_DAC488_PORT 1 #define IMAG_DAC488HR_PORT 1 #define IMAG_HP3457_CHAN 0 #define IMAG_CONFIG IMAG_MANUAL_HP3457 #define IMAG_BIPOLAR IMAG_FALSE #define IMAG_PS_AMPS_PER_DAC_VOLT 120. #define IMAG_TRANS_VOLTS_PER_AMP .01 #define IMAG_RAMP_STYLE IMAG_THREE_LINEAR #define IMAG_MAX_CURR_LIMIT 400. #define IMAG_MIN_CURR_LIMIT 0. #define IMAG_RAMP_RATE 15. #define IMAG_WAIT_AFTER_RAMP 3. #define IMAG_STAND_RAMP_RATE 15. #define IMAG_WAIT_AFTER_STAND_RAMP 3. #define IMAG_INIT_ZERO_CURRENT_MEAS IMAG_FALSE #define IMAG_INIT_TURN_ON IMAG_FALSE #define IMAG_INIT_TURN_ON_CURRENT 25. #define IMAG_SHOW_UI IMAG_TRUE /* Measurement parameters */ #define BHVSZ_HALL_PROBE_RANGE 4 #define BHVSZ_Z_MIN -.5 #define BHVSZ_Z_STEP .02 #define BHVSZ_NUM_Z_POS 60 double BHVSZ_Z_POS[BHVSZ_NUM_Z_POS]; #define BHVSZ_NUM_STAND_CYCLES 0 #define BHVSZ_STAND_MAX 375. #define BHVSZ_STAND_MIN 0. #define BHVSZ_NUM_TEST_CURRENTS 1 double BHVSZ_TEST_CURRENTS[BHVSZ_NUM_TEST_CURRENTS] = {17.}; /* End protection */ #endif