 
 
 //Hall Probe calibration station parameters
 #ifndef _PARAM_HPCS_H
 #define _PARAM_HPCS_H

//default folder for saving log files and data
///////////////////////////// RUN PARAMETERS IN FOLDERS SECTION /////////////////////////////
#define RUN_PARAM_FOLDER  "s:\\magdata"
#define COPY_PARAM_FOLDER "s:\\magdata"
#define ROUGH_TUNING    0
#define FINE_TUNING     1
#define TUNING ROUGH_TUNING
#define LOCATION			 "v:\\met\\magserve\\mmfcalib" 
///////////////////////////// END OF RUN PARAMETERS IN FOLDERS SECTION //////////////////////  

 //Comunication settings
 
 //Group3 teslameter
 #define GP3_GPIB_BOARD  0
 #define GP3_GPIB_DEV   16 //15 //16 
 
 //HP3458 voltmeter
 #define HP3458_GPIB_BOARD  0
 #define HP3458_GPIB_DEV   22
 //#define HP3458_GPIB_DEV1  25 
 
 //HP34970 voltmeter
 #define HP34970_GPIB_BOARD  0
 #define HP34970_GPIB_DEV   10 
 #define HP34970_TEMPERATURE_CH   101 
 //#define HP34970_TCALIB_FILE   "c:\\cvi\\hpcs\\tcalib\\Tcal-035.cal"
 //#define HP34970_TPROBE_NAME   "035"
 //#define HP34970_TCALIB_FILE   "c:\\cvi\\hpcs\\tcalib\\Tcal-031-old.cal"
 #define HP34970_TCALIB_FILE   "c:\\cvi\\hpcs\\tcalib\\Tcal-031.cal" 
 #define HP34970_TPROBE_NAME   "031"
 
 //FW101 NMR probe
 #define FW101_GPIB_BOARD  0
 #define FW101_GPIB_DEV    9
 #define FW101_FIELD_UNIFORMITY         0; //0 - H 1- M 2 - L
 
 #define PT2025_GPIB_BOARD    0
 #define PT2025_GPIB_DEV      3
 #define PT2025_NUM_READINGS_IN_B_MEAS 5
 
 
 
 //DANPYSIK magnet power supply settings
 // RS232 parameters
#define MPS_SERIAL_PORT                 1

// Magnet current
#define MPS_MAX_CURR_LIMIT              81.  //150A max
#define MPS_MIN_CURR_LIMIT              -81.  // -150A min
#define MPS_SLEW_RATE                   2. //3.1 //1.550. //A/s  // we take half to reduce drift
#define MPS_AMP_PER_PPM                 0.00016 //A per ppm 

// HPCS settings
#define HPCS_INITIAL_RATIO              0.97  // initial set for coefficient = initial field/actual field
#define HPCS_START_CUR				-70. //A  obsolete
#define HPCS_STOP_CUR				+70. //A  obsolete
#define HPCS_CUR_STEP				 2. //16. //2.	 //A  must be positive
#define HPCS_WAIT_COUNTS			 6 //3 //1	//2  



#endif
