GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LIH / V0-2-7 > lih / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

LIH_CtdbCounts.c File Reference

CTDB (1553) counter information capture. More...

#include <CCSDS/CCSDS_pkt.h>
#include <CTDB/CTDB_rt.h>
#include <CTS/CTS_pubdefs.h>
#include <LHK/LHK_pubdefs.h>
#include <LHK/LHK_tlmdefs.h>
#include <LHK_DB/LHK_DB_pktdefs.h>
#include <LRA/LRA.h>
#include <MDB/MDB_pubdefs.h>
#include <PBS/WCT.h>
#include <LIH/LIH_msgs.h>
#include <LIH_prvdefs.h>

Functions

static LHK_PacketStatus LIH_captureCtdbCounts (unsigned int *sav, unsigned int abas, unsigned int aidx, unsigned int seq, unsigned char *out)
 Capture CTDB statistics (an immediate operation).
unsigned int LIH_defineCtdbCounts ()
 Initialize capture of CTDB (1553) counters.


Detailed Description

CTDB (1553) counter information capture.

CVS $Id: LIH_CtdbCounts.c,v 1.2 2011/03/29 22:38:00 apw Exp $
Author:
A.P.Waite
LIH_CtdbCounts.c provides a housekeeping interface to capture the CTDB counters.

Function Documentation

static LHK_PacketStatus LIH_captureCtdbCounts ( unsigned int *  sav,
unsigned int  abas,
unsigned int  aidx,
unsigned int  seq,
unsigned char *  out 
) [static]

Capture CTDB statistics (an immediate operation).

Parameters:
sav (in) User parameter (update counter of last packet copy)
abas (in) Base of APID table (ITC_K_APID_HOUSE or ITC_K_APID_DIAG)
aidx (in) APID index
seq (in) CCSDS sequence count
out (in) Output buffer (beginning of CCSDS telemetry header)
Returns:
A member of the LHK_PacketStatus enumeration

Referenced by LIH_defineCtdbCounts().

unsigned int LIH_defineCtdbCounts ( void   ) 

Initialize capture of CTDB (1553) counters.

Return values:
LHK_GENERROR Generic error
LHK_SUCCESS Success
LIH_defineCtdbCounts() initializes any necessary resources to capture "CtdbCounts" packets, and puts the handler definition in the packet table.

References LIH_captureCtdbCounts().

Referenced by initializeAcq().


Generated on Fri Sep 30 19:15:35 2011 by  doxygen 1.5.8