GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCI / dev > lci_host / mv2304
#include "configure.h"
Functions | |
unsigned | LCI_create (LCI_configuration *cnf, const char *filename, int mode) |
Open the file and associate it with this configuration structure. | |
unsigned | LCI_finish (LCI_configuration *cnf) |
Close the configuration file. | |
unsigned | LCI_write (LCI_configuration *cnf) |
Write the configuration structure to its file. | |
unsigned | LCI_writeHdr (LCI_configuration *cnf) |
Write the configuration header to its file. |
unsigned LCI_create | ( | LCI_configuration * | cnf, | |
const char * | filename, | |||
int | mode | |||
) |
Open the file and associate it with this configuration structure.
cnf | Pointer to an initialised configuration structure | |
filename | Name of the file to create | |
mode | Calibration mode |
LCI_SUCCESS | if the file opens successfully | |
LCI_FOPEN | if the file failed to open successfully | |
LCI_TYPE | if the specified type is not one of ACD, CAL or TKR | |
LCI_FWRITE | if an error occurs writing the file verion information |
unsigned LCI_finish | ( | LCI_configuration * | cnf | ) |
Close the configuration file.
cnf | Pointer to an opened configuration |
LCI_SUCCESS | If the file closes successfully | |
LCI_FCLOSE | If there is an error closing the file |
unsigned LCI_write | ( | LCI_configuration * | cnf | ) |
Write the configuration structure to its file.
cnf | Pointer to an opened configuration |
LCI_SUCCESS | if a configuration was written successfully | |
LCI_FWRITE | if there was an error during the write | |
LCI_TYPE | if the configuration type is bad (not reported) |
unsigned LCI_writeHdr | ( | LCI_configuration * | cnf | ) |
Write the configuration header to its file.
cnf | Pointer to an opened configuration |
LCI_SUCCESS | if a configuration was written successfully | |
LCI_FWRITE | if there was an error during the write |