GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QLMC / V0-0-0

Constituent: qlmc     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QLMC_disp.c File Reference

Routines for displaying LMC data. More...

#include "QLMC/QLMC.h"
#include "QLMC/QLMC_msgs.h"
#include "LMC/LMC_tlmdefs.h"
#include "LMC/LMC_pubdefs.h"
#include "PBS/WCT.h"
#include "stdio.h"
#include "string.h"
#include "time.h"

Include dependency graph for QLMC_disp.c:


Defines

#define ONE_MILLION   1000000

Functions

static int satTimeToStr (unsigned int secs, unsigned int usecs, char *cTime)
 Convert spacecraft time to a string.
static int usecsToStr (unsigned int usecs, char *cTime)
 Convert microseconds to a string.
void QLMC_dispCalData (unsigned int secs, char *pkt, int pktL, void *parm)
 Display LMC calorimeter data.
void QLMC_dispTkrData (unsigned int secs, char *pkt, int pktL, void *parm)
 Display LMC tracker data.
void QLMC_dispAcdData (unsigned int secs, char *pkt, int pktL, void *parm)
 Display LMC ACD tile data.
void QLMC_dispDeadData (unsigned int secs, char *pkt, int pktL, void *parm)
 Display LMC TEM dead time data.

Detailed Description

Routines for displaying LMC data.

Author:
Owen H Saxton
Id
QLMC_disp.c,v 1.1.1.1 2007/12/11 23:08:20 saxton Exp

Function Documentation

void QLMC_dispAcdData unsigned int  secs,
char *  pkt,
int  pktL,
void *  parm
 

Display LMC ACD tile data.

This routine produces a formatted display of the contents of a packet of LMC ACD tile data.

Parameters:
secs The time the register data was obtained, in spacecraft units.
pkt The address of the packet.
pktL The number of bytes in the packet.
parm Options to modify the display.

void QLMC_dispCalData unsigned int  secs,
char *  pkt,
int  pktL,
void *  parm
 

Display LMC calorimeter data.

This routine produces a formatted display of the contents of a packet of LMC calorimeter data.

Parameters:
secs The time the register data was obtained, in spacecraft units.
pkt The address of the packet.
pktL The number of bytes in the packet.
parm Options to modify the display.

void QLMC_dispDeadData unsigned int  secs,
char *  pkt,
int  pktL,
void *  parm
 

Display LMC TEM dead time data.

This routine produces a formatted display of the contents of a packet of LMC TEM dead time data.

Parameters:
secs The time the register data was obtained, in spacecraft units.
pkt The address of the packet.
pktL The number of bytes in the packet.
parm Options to modify the display.

void QLMC_dispTkrData unsigned int  secs,
char *  pkt,
int  pktL,
void *  parm
 

Display LMC tracker data.

This routine produces a formatted display of the contents of a packet of LMC tracker data.

Parameters:
secs The time the register data was obtained, in spacecraft units.
pkt The address of the packet.
pktL The number of bytes in the packet.
parm Options to modify the display.

int satTimeToStr unsigned int  secs,
unsigned int  usecs,
char *  cTime
[static]
 

Convert spacecraft time to a string.

This routine converts a spacecraft time, in seconds and microseconds, to a string with the format YYYY-MM-DD HH:MM:SS.UUUUUU.

Parameters:
secs The seconds part of the time to be converted.
usecs The microseconds part of the time to be converted.
cTime The address of an area to hold the converted time. It must be at least 27 bytes long (including the terminating null byte).
Returns:
The length of the converted time string.

int usecsToStr unsigned int  usecs,
char *  cTime
[static]
 

Convert microseconds to a string.

This routine converts a number of microseconds to a string expressed as seconds.

Parameters:
usecs The number of microseconds to be converted.
cTime The address of an area to hold the converted value. It must be at least 12 bytes long (including the terminating null byte).
Returns:
The length of the converted microseconds string.


Generated on Wed Dec 12 03:20:55 2007 by  doxygen 1.4.4