/************************************************************************/
/* Copyright 203-2011 MBARI												*/
/************************************************************************/
/* Summary	: Log record types for the OASIS mooring controller			*/
/* Filename : logTypes.h												*/
/* Author	: Robert Herlien (rah)										*/
/* Project	: OASIS Mooring Replacement (OASIS3)						*/
/* Revision : 1.0														*/
/* Created	: 02/04/2011 from OASIS log.h								*/
/*																			*/
/* MBARI provides this documentation and code "as is", with no warranty,	*/
/* express or implied, of its quality or consistency. It is provided without*/
/* support and without obligation on the part of the Monterey Bay Aquarium	*/
/* Research Institute to assist in its use, correction, modification, or	*/
/* enhancement. This information should not be published or distributed to	*/
/* third parties without specific written permission from MBARI.			*/
/*																			*/
/************************************************************************/
/* Modification History:												*/
/* 04feb2011 rah - created from OASIS log.h
*/
/************************************************************************/

#ifndef INClogTypesh
#define INClogTypesh	1

/****************************************/
/*		Data Logging Record Types		*/
/****************************************/

#define LOG_ASCII   	0       		/* ASCII record type                */
#define LOG_BIN		    1   	    	/* Binary record type               */

#define LOG_EMPTY		0				/* Unused - empty record			*/
#define OASIS_STAT		1				/* OASIS on/off status -  1 word	*/
#define ATLAS			2				/* atlas record		- 32 words		*/
#define OASIS_CAN		3				/* OASIS battery, temp, press: 4 wrds*/
#define PAR				4				/* PAR sensors		 - 2 words		*/
#define CTD				5				/* CTD Data			 - variable		*/
#define SPECTRO			6				/* Spectroradiometer - variable		*/
#define ADCP			7				/* Acoustic Doppler	 - variable		*/
#define GPS				8				/* GPS								*/
#define MODEM			9				/* Acoustic Modem					*/
#define PCO2			10				/* pCO2 sensor						*/
#define CTD2			11				/* Second CTD						*/
#define CTD3			12				/* Third CTD						*/
#define SPECTRO2		13				/* Second Spectroradiometer			*/
#define SPECTRO3		14				/* Third Spectroradiometer			*/
#define NO3				15				/* Nitrate sensor					*/
#define NO32			16				/* Second Nitrate sensor			*/
#define SPEC_PRR		17				/* PRR type Spectroradiometer		*/
#define SATLANTIC		18				/* Satlantic Spectroradiometer		*/
#define GPS_TYPE2		19				/* New GPS, with velocity			*/
#define NRL				20				/* NRL next download time			*/
#define O2				21				/* Oxygen sensor					*/
#define FLUOR			22				/* Fluorometer						*/
#define TRANSMISS		23				/* Transmissometer					*/
#define NO3_DECODED		24				/* Nitrate sensor, decoded data		*/
#define NO3_DECODED2	25				/* Second Nitrate sensor, decoded	*/
#define AC9				26				/* WetLabs AC-9						*/
#define CO2_PUMP		27				/* pCO2 Pump						*/
#define H2O_PUMP		28				/* Water Pump						*/
#define SHUTTER0		29				/* Shutter 0 for PRR Spectro		*/
#define SHUTTER1		30				/* Shutter 1 for PRR Spectro		*/
#define SPEC_PRR_VOLTS	31				/* Unused here, for decode program	*/
#define METSYS			32				/* Campbell Scientific Met Logger	*/
#define TSTRING			33				/* Seabird Inductive Temp String	*/
#define GNDFAULT		34				/* Serial Analog Ground Fault		*/
#define MICROCAT		35				/* Seabird serial microCat			*/
#define GPS_TYPE3		36				/* New GPS, with velocity			*/
#define HOBI_AB			37				/* HOBI Labs alpha-beta				*/
#define HOBI_CB			38				/* HOBI Labs c-beta					*/
#define HOBI_HS2		39				/* HOBI Labs HydroScat 2			*/
#define HOBI_HR1		40				/* HOBI Labs HydroRad file 1		*/
#define HOBI_HR2		41				/* HOBI Labs HydroRad file 2		*/
#define HOBI_HR3		42				/* HOBI Labs HydroRad file 3		*/
#define HOBI_HR4		43				/* HOBI Labs HydroRad file 4		*/
#define HOBI_DAS		44				/* HOBI Labs HydroDAS file			*/
#define GASHOUND		45				/* GasHound pCO2 Sensor (TT8B)		*/
#define ISUS			46				/* ISUS Nitrate Analyzer (TT8C)		*/
#define EMETER			47				/* Energy Meter						*/
#define SBE47_CT		48				/* Seabird low power CT				*/
#define SBE43_O2		49				/* Seabird Oxygen					*/
#define HOBI_HR11		50				/* HOBI Labs 1 ch HydroRad ch 1		*/
#define HOBI_HR21		51				/* HOBI Labs 2 ch HydroRad ch 1		*/
#define HOBI_HR22		52				/* HOBI Labs 2 ch HydroRad ch 2		*/
#define HOBI_HR31		53				/* HOBI Labs 3 ch HydroRad ch 1		*/
#define HOBI_HR32		54				/* HOBI Labs 3 ch HydroRad ch 2		*/
#define HOBI_HR33		55				/* HOBI Labs 3 ch HydroRad ch 3		*/
#define HOBI_HR41		56				/* HOBI Labs 4 ch HydroRad ch 1		*/
#define HOBI_HR42		57				/* HOBI Labs 4 ch HydroRad ch 2		*/
#define HOBI_HR43		58				/* HOBI Labs 4 ch HydroRad ch 3		*/
#define HOBI_HR44		59				/* HOBI Labs 4 ch HydroRad ch 4		*/
#define SERIAL_SHUTTER	60				/* MBARI Serial Shutter				*/
#define ECO_FL			61				/* WetLabs Eco Fluorometer			*/
#define ECO_BB			62				/* WeLabs Eco Backscatter			*/
#define ASIMET_BPR		63				/* WHOI ASIMET Barometric Pressure	*/
#define ASIMET_HRH		64				/* WHOI ASIMET Relative Humidity	*/
#define ASIMET_LWR		65				/* WHOI ASIMET Long Wave Radiation	*/
#define ASIMET_PRC		66				/* WHOI ASIMET Precipitation		*/
#define ASIMET_SST		67				/* WHOI ASIMET Sea Surface Temp		*/
#define ASIMET_SWR		68				/* WHOI ASIMET Short Wave Radiation */
#define ASIMET_WND		69				/* WHOI ASIMET Wind Speed/Dir		*/
#define MICROCAT2		70				/* second serial microcat			*/
#define MICROCAT3		71				/* second serial microcat			*/
#define O3GNDFAULT		72				/* OASIS3 ground fault				*/
#define AANDERAA_O2		73				/* Aanderaa Oxygen optrode			*/
#define HYPER_OCR		74				/* Satlantic HyperOCR				*/
#define ECO_FLNTU		75				/* WetLabs Eco Fluorometer			*/
#define IM_HS2			76				/* Inductive modem HS2				*/
#define GPSCLOCK		77				/* GPS clock to oasis clock sync	*/
#define VAISALA1		78				/* Toro Vaisala Weather Sta			*/
#define IM01			79				/* Inductive modem Pod1				*/
#define IM02			80				/* Inductive modem Pod2				*/
#define IM03			81				/* Inductive modem Pod3				*/
#define IM04			82				/* Inductive modem Pod4				*/
#define IM05			83				/* Inductive modem Pod5				*/
#define IM06			84				/* Inductive modem Pod6				*/
#define IM07			85				/* Inductive modem Pod7				*/
#define IM08			86				/* Inductive modem Pod8				*/
#define IM09			87				/* Inductive modem Pod9				*/
#define IM10			88				/* Inductive modem Pod10			*/
#define IM11			89				/* Inductive modem Pod11			*/
#define IM12			90				/* Inductive modem Pod12			*/
#define IM13			91				/* Inductive modem Pod13			*/
#define IM14			92				/* Inductive modem Pod14			*/
#define IM15			93				/* Inductive modem Pod15			*/
#define IM16			94				/* Inductive modem Pod16			*/
#define AIRMAR_PB200	95				/* AirMar PB200 Weather Station		*/
#define EXT_ANALOG1		96				/* External A/D, e.g. Measurement Computing*/
#define EXT_ANALOG2		97				/* External A/D, e.g. Measurement Computing*/
#define EXT_ANALOG3		98				/* External A/D, e.g. Measurement Computing*/
#define BINLOGGER		99				/* Binary logger (for testing)		*/
#define BATTMON			100				/* BatteryMonitor			*/
#define SPECIAL1		101				/* For temporary or test instruments*/
#define SPECIAL2		102				/* For temporary or test instruments*/

#define SENSORS			(SPECIAL2 + 1)	/* Number of sensors				*/

										/************************************/
#define LOG_ERROR		128				/* Error record						*/
#define LOG_COMMENT		129				/* User comments					*/
#define LOG_BIN			130				/* Misc Binary data					*/
#define LOG_DISK_ERROR	131				/* Disk Error, 1 word of error reg	*/
										/************************************/

										/************************************/
										/* Extended record types (>256)		*/
#define LOG_EXTCOMMENT	256				/* Comment (for testing)			*/
#define BINLOGGER16		257				/* Binary logger (for testing)		*/
#define OASLAVE			258				/* OASIS slave controller			*/
#define DURAFET_PH		259				/* Johnson Lab Durafet pH logger	*/
#define ISFET_PH		260				/* MBARI (Resp) front end to Sentron*/
										/************************************/

#define EXT_SENSORS		( ISFET_PH + 1) /* Number of sensors				*/

#define LOG_PROTOCOL2	150				/* First 32 bit logging protocol	*/

/* An Error record contains 1 word.	 If the MSB of the word is clear, it	*/
/* identifes a sensor type, as above.  If the MSB is set, it identifies		*/
/* one or more OASIS errors, as defined in oasis.h (e.g., RAM_ERR, etc)		*/

#endif	/* INClogTypesh */
