GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QLRA / dev > qlra / rhel5-64
#include <QLRA/QLRA.h>
#include <QLRA/QLRA_msgs.h>
#include <LRA/LRA_telem.h>
#include <QSD/CCSDS_istream.h>
#include <QSD/CCSDS_apidDsc.h>
#include <QSD/CCSDS_telemetry.h>
#include <LSF/LSF.h>
#include <LSF/LSF_ids.h>
#include <MSG/MSG_pubdefs.h>
#include <PBS/MBA.h>
#include <PBS/BSWP.h>
#include <PBI/PTR.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
Classes | |
struct | _QLRA_procPrm |
Typedefs | |
typedef struct _QLRA_procPrm | QLRA_procPrm |
Functions | |
static int | checkPacket (void *parm, void *stream, const CCSDS_telemetry *pkt, CCSDS_apidDsc *dsc) |
static int | checkStatus (int status) |
static int | processDatagram (void *parm, const void *data, int dLeng) |
static int | resolvePacket (void *parm, const CCSDS_telemetry *pkt, CCSDS_apidDsc **dsc) |
unsigned | QLRA_readSci (char *fName, void *parm, QLRA_regsCb regsRtn, QLRA_esrCb esrRtn, QLRA_statsCb statsRtn) |
Read the contents of an LRA datagram file. | |
unsigned | QLRA_readDiag (char *fName, void *parm, QLRA_regsCb regsRtn) |
Read the contents of an LRA packet file. |
unsigned QLRA_readDiag | ( | char * | fName, | |
void * | parm, | |||
QLRA_regsCb | regsRtn | |||
) |
Read the contents of an LRA packet file.
This routine reads a file of LRA diagnostic data returned from the LAT and calls a processing routine whenever a complete set of data has been assemnled.
fName | The name of the file to be processed | |
parm | User parameter to pass to the processing routine. | |
regsRtn | Routine to process a set of register data. May be NULL. |
QLRA_SUCCESS | Success |
References _QLRA_regData::nCc, _QLRA_regData::nFe, _QLRA_regData::nRc, _QLRA_regData::nReg, _QLRA_regData::nTem, _QLRA_regData::tMask, _QLRA_regData::value, and _QLRA_regData::width.
unsigned QLRA_readSci | ( | char * | fName, | |
void * | parm, | |||
QLRA_regsCb | regsRtn, | |||
QLRA_esrCb | esrRtn, | |||
QLRA_statsCb | statsRtn | |||
) |
Read the contents of an LRA datagram file.
This routine reads a file of LRA datagrams returned from the LAT, and calls a user-supplied processing routine for each type of data found.
fName | The name of the file to be displayed | |
parm | User parameter to pass to the processing routine. | |
regsRtn | Routine to call when a set of register values is read. Can be NULL. | |
esrRtn | Routine to call when a set of ESR data is read. Can be NULL. | |
statsRtn | Routine to call when a set of statistics data is read. Can be NULL. |
QLRA_SUCCESS | Success |