GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> FES / V6-5-0 > fes_ux / rhel4-32
#include <fesConvert.h>
#include <fesConfig.h>
#include <fesDataFmt.h>
#include <fesFile.h>
#include <fesMsgs.h>
#include <fesUtil.h>
#include <EMSG/EMSG_pubdefs.h>
#include <VBI/vxwdef.h>
#include <EDS/EDS_fw.h>
#include <EDS/io/EBF_stream.h>
#include <EDS/io/LCBP.h>
#include <EDS/LCBV.h>
#include <EDS/EBF_pkt.h>
#include <EDS/EBF_dir.h>
#include <EDS/EBF_cid.h>
#include <EDS/EBF_gem.h>
#include <EDS/EBF_cal.h>
#include <EDS/EBF_tkr.h>
#include <QSD/CCSDS_istream.h>
#include <QSD/CCSDS_apidDsc.h>
#include <QSD/CCSDS_telemetry.h>
#include <QSEP/QSEP.h>
#include <QSEP/QSEP_dgmDvr.h>
#include <QSEC/QSEC.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
Functions | |
int | fesConvert (const char *iName, int nSkip, int nProc, int versn, const char *oName, long long bMask, int optns, int action) |
Convert event data file to FES format. |
$Id: fesConvert.c,v 1.22 2011/03/29 23:06:15 saxton Exp $
int fesConvert | ( | const char * | iName, | |
int | nSkip, | |||
int | nProc, | |||
int | versn, | |||
const char * | oName, | |||
long long | bMask, | |||
int | optns, | |||
int | action | |||
) |
Convert event data file to FES format.
This routine generates a set of FES data files from a supplied EBF or packet event data file.
iName | The address of the name of the input data file. | |
nSkip | The number of events to be skipped at the beginning of the input file. | |
nProc | The number of events to process from the input file. If zero or negative, all events (after passing the skip count) are processed. | |
versn | The format version of data to be generated:
| |
oName | The address of the name of the output file stem, i.e. without disk name or extension, to be used for the generated files. | |
bMask | A 40-bit mask which, if non-zero, selects which boards of the full set are to have their files loaded. Bits 0 - 15 select tracker boards 0 - 15; bits 16 - 31 select calorimeter boards 0 - 15; bits 32 - 39 select ACD boards 0 - 7. | |
optns | A bit mask of processing options. The following bit values are defined:
| |
action | Specifies what to do if a file already exists:
|
FES_SUCCESS | Success. | |
FES_EFILOPEN | Unable to open input file. |
References CVO_PKTDATA, and CVO_VERBOSE.