/************************************************************************/
/* 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_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 LOG_PROTOCOL2	150				/* First 32 bit logging protocol	*/
#define LOG_PROTOCOL3	151				/* First OASIS5 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 */
