
/*	**************************************************************	*/

/*
 * PARAM.H
 * This file contains parameters required by the measurement
 * program.
 *
 * Zachary Wolf
 * 1/29/03
 */
 
/* Protection from multiple definitions */
#ifndef __PARAM_HEADER
#define __PARAM_HEADER
 
/* GPIB addresses */
#define GPIB_BOARD_ADDR					0
#define GPIB_HP3457_ADDR				22
#define GPIB_S7010_ADDR					10
#define GPIB_HP34970_ADDR				9

/* Email Notification Settings*/
static char MAIL_TO[1000]		=		"sda@slac.stanford.edu";
#define MAIL_SEND_NOTIFICATION			0
#define MAIL_COMPUTER_ID				"Maglab 1"

/* RS232 addresses */
#define RS232_COM_PORT					3
#define RS232_SXDRIVE_ADDR				1

/* Measurement parameters */
#define TUNNEL_DAQ_TYPE						TUNNEL_HP34970  /*TUNNEL_HP3457, TUNNEL_HP34970, TUNNEL_NONE */ 
#define TUNNEL_TYPE							TUNNEL_COMMENT  /*TUNNEL_SECTOR, TUNNEL_COMMENT, TUNNEL_GIRDER , TUNNEL_Z*/ 
/* 3457 and NIUSB6221 channels start at 0, 34970 starts at 101 */
#define TUNNELFLUX_FLUXGATE_CHANNEL_X		106
#define TUNNELFLUX_FLUXGATE_CHANNEL_Y		107
#define TUNNELFLUX_FLUXGATE_CHANNEL_Z		108
#define TUNNEL_MAX_X						19
#define TUNNEL_MAX_Y						8
#define TUNNEL_PROBE_RANGE					1

#define TUNNEL_PROBE_X_SIGN					 1
#define TUNNEL_PROBE_Y_SIGN					 1
#define TUNNEL_PROBE_Z_SIGN					 1

#define TUNNEL_Z_DISTANCE                   0.5
/* Distance in Z (meters) for TUNNEL_Z meas.  X and Y constant
 
/* End protection */
#endif
