GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSE / V1-6-4

Constituent: qseprint     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QSE_aemPrint.c File Reference

Prints a formatted dump of an QSE_aem structure. More...

#include "QSE/QSE_aemPrint.h"
#include "QSE/QSE_aemNames.h"
#include "QSE/QSE_aem.h"
#include "stdio.h"

Include dependency graph for QSE_aemPrint.c:


Functions

static void channel_print (const QSE_aem_chn *chn, int nchns)
 Prints a formatted dump of the AEM channel-by-channel information.
static void header_print (const QSE_aem *aem)
 Internal routine to print the header information of an unpacked AEM record.
static void newline (void)
 Emits a new line to the output stream.
void QSE_aemPrint (const QSE_aem *aem, unsigned int options)
 Prints a formatted dump of the specified QSE_aem structure.
static __inline int count (unsigned char *cables, const QSE_aem_chn *chns, int nchns)
 Internal routine to count the number of channels on each cable with data.
static __inline void title_print (const QSE_aem_chn *chns, int beg, int ncables, const unsigned char *cables)
 Prints the title line for the specified cables.
static __inline int row_print (const QSE_aem_chn *chns, int beg, int ncables, const unsigned char *cables)
 Prints one row of the AEM channel-by-channel information.

Detailed Description

Prints a formatted dump of an QSE_aem structure.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: QSE_aemPrint.c,v 1.2 2006/04/06 21:30:42 russell Exp $

Function Documentation

static void channel_print const QSE_aem_chn chns,
int  nchns
[static]
 

Prints a formatted dump of the AEM channel-by-channel information.

Parameters:
chns The source array of AEM channel-by-channel information.
nchns The count of the number of elements in the chns array

static __inline int count unsigned char *  cables,
const QSE_aem_chn chns,
int  nchns
[static]
 

Internal routine to count the number of channels on each cable with data.

Returns:
The number of cables with data
Parameters:
cables The destination array to receive the counts for each active cable. This array is filled in a dense fashion, and, thus, contains only cables with data.
chns The source array of AEM channel-by-channel information.
nchns The count of the number of elements in the chns array

static void header_print const QSE_aem aem  )  [static]
 

Internal routine to print the header information of an unpacked AEM record.

Parameters:
aem The unpacked AEM information to print

void QSE_aemPrint const QSE_aem aem,
unsigned int  options
 

Prints a formatted dump of the specified QSE_aem structure.

Parameters:
aem The AEM structure to print
options What to print

static __inline int row_print const QSE_aem_chn chns,
int  beg,
int  ncables,
const unsigned char *  cables
[static]
 

Prints one row of the AEM channel-by-channel information.

Parameters:
chns The source array of AEM channel-by-channel information.
beg Index of first channel of the first cable to be printed
ncables The number of 'cable' titles to be printed
cables The array of offsets to the last channel of each cable to be printed.

static __inline void title_print const QSE_aem_chn chns,
int  beg,
int  ncables,
const unsigned char *  cables
[static]
 

Prints the title line for the specified cables.

Parameters:
chns The source array of AEM channel-by-channel information.
beg Index of first channel of the first cable to be printed
ncables The number of 'cable' titles to be printed
cables The array of offsets to the last channel of each cable to be printed.


Generated on Tue Jul 17 04:25:55 2007 by  doxygen 1.4.4