GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QLRA / dev > qlra_print / rhel4-32


Interface   Data Structures   File List   Data Fields   Globals  

qlra_print.c File Reference

Program to print a file of LRA data. More...

#include <QLRA/QLRA.h>
#include <QLRA/QLRA_msgs.h>
#include <MSG/MSG_pubdefs.h>
#include <stdlib.h>
#include <stdio.h>
#include <libgen.h>

Functions

static void printMsg (MSG_OutputModes mode, void *parm, const MSG_Message *msg)
 Print an error message.
static void printUsage (void)
 Print a usage description.
int main (int argc, char **argv)
 Main program.

Variables

static char * cmnd


Detailed Description

Program to print a file of LRA data.

Author:
Owen H Saxton
Id
qlra_print.c,v 1.5 2011/03/29 21:11:23 saxton Exp

Function Documentation

int main ( int  argc,
char **  argv 
)

Main program.

This is the main program to format and display the contents of a file of LRA science or diagnostic packets returned from the LAT.

References printMsg(), printUsage(), and QLRA_DOPT_PLAIN.

void printMsg ( MSG_OutputModes  mode,
void *  parm,
const MSG_Message *  msg 
) [static]

Print an error message.

This routine is an output processor for the message system. It prints the message in a simple format.

Parameters:
mode Calling mode (initial, normal, exit)
parm User parameter (not used)
msg The message to be output

Referenced by main().

void printUsage ( void   )  [static]

Print a usage description.

This routine prints brief instructions for running the program.

Referenced by main().


Generated on Tue Mar 29 14:21:27 2011 by  doxygen 1.5.8