#include <stdlib.h>#include <stdio.h>#include <time.h>#include <ctype.h>#include <errno.h>#include <unistd.h>#include <string.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include "common.h"
Go to the source code of this file.
Functions | |
| void | CheckVersion (void) |
| Check that the current version of rtitan2 is compatible with the data flow. | |
| unsigned char | ProcessMiscFrame (const unsigned char *frame) |
| Identify and process the frame. | |
Variables | |
| char | previousTag [16] |
| previous data tag | |
| int | versionWarned = 0 |
| should a warning be issued about version | |
| void CheckVersion | ( | void | ) |
Check that the current version of rtitan2 is compatible with the data flow.
Definition at line 41 of file misc.c.
References DigitizerType::adcFrequency, HWConfigType::digitizer, HWConfigType::formatMajor, HWConfigType::formatMinor, HWConfigType::formatVersion, HWConfig, MAJOR, MINOR, PrintWarning, SetBuggyMykerinos(), VERSION, and versionWarned.
Referenced by ProcessMiscFrame().
| unsigned char ProcessMiscFrame | ( | const unsigned char * | frame | ) |
Identify and process the frame.
| frame | the frame to be analysed and processed |
Definition at line 104 of file misc.c.
References DigitizerType::adcDecimation, DigitizerType::adcDecimationLength, DigitizerType::adcDelay, DigitizerType::adcFrequency, DigitizerType::adcId, HWConfigType::channelName, CheckVersion(), TimeTuningType::clockMode, TimeTuningType::clockState, currentFile, currentTag, currentTime, HWConfigType::digitizer, TimeTuningType::drift, PositionType::elev, HWConfigType::formatMajor, HWConfigType::formatMinor, HWConfigType::formatVersion, frame2i16, frame2i24, frame2i32, HWConfigType::gain, HWConfigType::HPFilter, HWConfig, HWConfigType::impedance, HWConfigType::instantPos, PositionType::lat, HWConfigType::locationName, PositionType::lon, HWConfigType::LSB, MAX_OSIRIS_CHANNEL, MY_PI, HWConfigType::networkName, DigitizerType::ok, onlyTag, TimeTuningType::phase, POWERSUPPLY_CHANNEL, previousTag, PrintError, PrintLog, PrintWarning, HWConfigType::satelliteNumber, DigitizerType::secondDecimationLength, HWConfigType::selectedGain, SetAuxChannel2(), TimeTuningType::step, StrFrame(), StrTimeNS(), TEMPERATURE_CHANNEL, titan2File, and HWConfigType::tune.
| char previousTag[16] |
| int versionWarned = 0 |
should a warning be issued about version
Definition at line 38 of file misc.c.
Referenced by CheckVersion().
1.5.6