/****************************************************************************/
/* Copyright 2004 MBARI.                                                    */
/* MBARI Proprietary Information. All rights reserved.                      */
/****************************************************************************/
/* Summary  : MOOS Power System Data Aquistion Software                     */
/* Author   : Mike Risi                                                     */
/* Created  : 02/10/2004                                                    */
/****************************************************************************/

#ifndef LOG_HDR_H
#define LOG_HDR_H

/* had to make the adc_chan a long to deal with padding issues between
the x86 PC and the 68K environments that share this struct.  All endianess
issues are handled on the PC */

typedef struct
{
    long adc_chan;      /* AdcChannel producing the data        */
    long sample_period; /* milliseconds                         */
    long start_time;    /* seconds since 1970                   */
    long total_samples; /* number of sample after header entry  */
    float cal_gain;     /* calibration gain                     */
    float cal_offset;   /* calibration offset                   */
} LogFileHeader;

#endif
