
/*	**************************************************************	*/

/*
 * CRPARAM.H
 * This file contains parameters required by the measurement
 * program.
 *
 * Scott Anderson
 * 8/23/19
 */
 
/* Protection from multiple definitions */
#ifndef __CRPARAM_HEADER
#define __CRPARAM_HEADER

/* Email Notification Settings*/
static char MAIL_TO[1000]		=		"sda@slac.stanford.edu";
#define MAIL_SEND_NOTIFICATION			0
#define MAIL_COMPUTER_ID				"Coil Resist Meas"
 
/* GPIB addresses */
#define GPIB_BOARD_ADDR					0
#define GPIB_HP3457_ADDR				22
#define GPIB_HP3458_ADDR				22
#define GPIB_K7011_ADDR					7
#define GPIB_HP34970_ADDR				9

/* Sensor measurements */
#define SENSOR_BOARD_ADDR				GPIB_BOARD_ADDR
#define SENSOR_HP3457_ADDR				GPIB_HP3457_ADDR
#define SENSOR_HP3458_ADDR				GPIB_HP3458_ADDR
#define SENSOR_K7011_ADDR				GPIB_K7011_ADDR
#define SENSOR_HP34970_ADDR				GPIB_HP34970_ADDR
#define SENSOR_DEVICE_TYPE				SENSOR_HP3458
#define SENSOR_K7011_CARD_NUM			1
#define SENSOR_K7011_HP3457_CHAN		1

/* Measurement parameters */
#define CR_NUM_COILS					1
#define CR_TIME_BTWN_MEAS_SEC			120
#define CR_TIME_TO_MEASURE_SEC			86400
static int CR_CHAN[CR_NUM_COILS]     = {105}; 
 
/* End protection */
#endif
