misc.c File Reference

#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"

Include dependency graph for misc.c:

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


Function Documentation

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().

Here is the call graph for this function:

unsigned char ProcessMiscFrame ( const unsigned char *  frame  ) 


Variable Documentation

char previousTag[16]

previous data tag

Definition at line 36 of file misc.c.

Referenced by ProcessMiscFrame().

int versionWarned = 0

should a warning be issued about version

Definition at line 38 of file misc.c.

Referenced by CheckVersion().


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