Skip to content. | Skip to navigation

Personal tools

remote/edslog.h

remote/edslog.h

remote/edslog.h

/////////////////////////////////////////////////////////////////////////////
// EDSLOG.H
//
//  Last updated: 3/15/2005
//
//  This file contains code to reconstruct info from the
//  Engineering Data Stream (EDS) log.
/////////////////////////////////////////////////////////////////////////////

#include <stdarg.h>
#include <time.h>
//#include <stdlib.h>					//added for the function __max( , )

int EDSEntryCount = 0; 			// Counts number of EDS entries received per second
int EDSQueueSize = 0;				// Records largest # of msgs in EDS queue / sec
unsigned EDSEntryTimer = 0;	// Times EDSEntryCount

unsigned EDSTime;         // Time in ms since EDS command was sent
int EDSTimeout = 2000;    // Time in msecs before flagging a com error
int EDSStep = 0;
int EDSError = 0;          // EDS Errors
char LastEDSCmd = '2';     // Stores last EDS Command char
int LastEDSResponseOK = 1; // Remembers if the last EDS response was OK

char EDSResponse[80];
int EDSRespLength;
int kbflag = 0;
char ECommand[80];

/////////////////////////////////////////////////////////////////////////////
// UpdateEDS - Query for EDS Add periodic EDS entries
void UpdateEDS();

/////////////////////////////////////////////////////////////////////////////
//NewEDSCommand: Pass the new keyboard command
void NewEDSCommand(char* comm);

/////////////////////////////////////////////////////////////////////////////
// ParseEDS: Parse a serial command line (response to EDS query)
void ParseEDS(char* line);
// This routine parses an EDS response from the serial port, and executes the
// appropriate code to accomplish the command.


Generated by GNU Enscript 1.6.5.2.
Document Actions