GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCI / V6-0-4 > lci / sun-gcc
#include <PBS/TASK.h>
Classes | |
struct | _LCI_runInfo |
Structure to hold information about the last LCI run Must match the layout of LHK telemetry. More... | |
Typedefs | |
typedef struct _LCI_runInfo | LCI_runInfo |
Structure to hold information about the last LCI run Must match the layout of LHK telemetry. | |
Functions | |
unsigned | LCI_getRunInfo (LCI_runInfo *info) |
Get extended information about the calibration run. | |
unsigned | LCI_initialise (void) |
Initialize the calibration system from its config database. | |
unsigned | LCI_sizeofRunInfo () |
Get the size of the extended calibration run information. | |
unsigned | LCI_startTask (void) |
Start the LCI task using its config database. | |
unsigned | LCI_stopTask (void) |
Stop the LCI task. | |
unsigned | LCI_teardown (void) |
Tear down the calibration system. |
unsigned LCI_getRunInfo | ( | LCI_runInfo * | info | ) |
Get extended information about the calibration run.
This routine fills a block of information detailing the current state of calibration runs.
info | The address of a block to be filled with the current run information. |
LCI_SUCCESS | success always |
References _LCI_runInfo::cfgFid, _LCI_runInfo::endSec, _LCI_runInfo::endSub, _LCI_runInfo::latcFid, _LCI_runInfo::runId, _LCI_runInfo::spare, _LCI_runInfo::startSec, _LCI_runInfo::startSub, and _LCI_runInfo::status.
unsigned LCI_initialise | ( | void | ) |
Initialize the calibration system from its config database.
This routine is normally called at system initialization time to initialize the calibration system . It uses a configuration database to supply the capacity, cpuid and srcid parameters.
References LCI_init().
unsigned LCI_sizeofRunInfo | ( | void | ) |
Get the size of the extended calibration run information.
This routine returns the size of the area needed to hold the extended run information for the last calibration.
unsigned LCI_startTask | ( | void | ) |
Start the LCI task using its config database.
This routine is normally called during system initialization. It starts the LCI task using the CPU configuration database to supply its attributes.
References LCI_start().
unsigned LCI_stopTask | ( | void | ) |
Stop the LCI task.
This routine stops the LCI task and sets the state to INITIALISED.
unsigned LCI_teardown | ( | void | ) |
Tear down the calibration system.
This routine frees all the resources associated with the LCI task.
LCI_STATE | If the LCI task is not in the INITIALISED state | |
LCI_SUCCESS | If all goes well |
References LCI_Apid67c, LCI_Apid67d, and LCI_deleteController().
Referenced by LCI_init().