info.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <ctype.h>
#include <math.h>
#include <errno.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "common.h"

Include dependency graph for info.c:

Go to the source code of this file.

Functions

void CheckSoftwareRelease (void)
 Check that the current version of rtitan2 is compatible with the data flow.
void UpdateTitan1ADCInfo (void)
 update the LSB and impedance information for the current ADC
unsigned char ProcessInfoFrame (const unsigned char *frame)
 Identify and process the frame.

Variables

int releaseWarned = 0
 should the release warning be issued
struct DigitizerType titan1Digit [4]


Function Documentation

void CheckSoftwareRelease ( void   ) 

unsigned char ProcessInfoFrame ( const unsigned char *  frame  ) 

Identify and process the frame.

Parameters:
frame the frame to be analysed and processed
Returns:
0 if the frame was interprered or the frame number if the frame was not identified

Definition at line 157 of file info.c.

References info0_3_t::active, DigitizerType::adcDecimationLength, DigitizerType::adcDelay, DigitizerType::adcId, info20_t::ADCType, info20_t::auxPresent, HWConfigType::avgPos, info18_t::batteryVoltage, info0_3_t::ch, info20_t::channels, CheckSoftwareRelease(), info20_t::continuousGPS, info5_t::cycles, info18_t::detections, HWConfigType::digitizer, PositionType::elev, info5_t::endDuration, info5_t::endDurationMode, HWConfigType::fieldIdent, info19_t::flashBytes, info19_t::flashCycles, info20_t::flashSize, info19_t::flushRunning, info19_t::flushState, frame2i16, frame2i24, frame2i32, frame2i32_64, info5_t::gain, HWConfig, HWConfigType::info03, HWConfigType::info15, HWConfigType::info18, HWConfigType::info19, HWConfigType::info20, HWConfigType::info5, HWConfigType::infoFrame, info20_t::internalInfo1, PositionType::lat, PositionType::lon, info18_t::lostFlushLowBatt, info19_t::lostFlushMediumError, info0_3_t::lta, manualStationName, info18_t::mediaBytes, info19_t::mediumError, info20_t::mediumSize, MY_PI, info0_3_t::offset, DigitizerType::ok, info20_t::parallelLink, info5_t::postEvent, info15_t::PPM, info5_t::preEvent, info15_t::pulseLength, info15_t::pulseTest, info20_t::radioMode, info15_t::reboot, HWConfigType::rebootTime, info20_t::recordingMedium, info20_t::recordingMode, HWConfigType::resetTime, info20_t::samplingSet, HWConfigType::serialNumber, HWConfigType::softwareRealease, info0_3_t::srCode, info0_3_t::sta, info0_3_t::threshold, info15_t::time, info19_t::triggerInProcess, UpdateTitan1ADCInfo(), and Titan2TimeType::usecond.

Here is the call graph for this function:

void UpdateTitan1ADCInfo ( void   ) 


Variable Documentation

int releaseWarned = 0

should the release warning be issued

Definition at line 37 of file info.c.

Referenced by CheckSoftwareRelease().

Initial value:

 {
        { 0, 0, 0, 0, CS5323, 29., 0 },
        { 0, 0, 0, 0, AD7710, 1.5, 0 },
        { 0, 0, 0, 0, HI7190, 1.5, 0 },
        { 0, 0, 0, 0, CS5321, 29., 0 }
}

Definition at line 101 of file info.c.


Generated on Tue Jul 22 23:11:57 2008 for Titan2Reader by  doxygen 1.5.6