GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCBT / V1-6-1
Constituent: ssrsim     Tag: linux-gcc
#include "PBS/PBS.h"
#include "PBS/FPA.h"
#include "PBS/MBA.h"
#include "PBS/WUT.h"
#include "PBS/TMR.h"
#include "PBS/QI.h"
#include "PBS/FORK.h"
#include "PBS/SPIN.h"
#include "PBS/TASK.h"
#include "MSG/MSG_pubdefs.h"
#include "LCBT/SSRSIM_msgs.h"
#include "LCBD/LCBD_drv.h"
#include "LCBD/LCBD_clk.h"
#include "LCBD/LCBD_evt.h"
#include "LCBD/LCBD_nut.h"
#include "LCBD/LCBD_rst.h"
#include "LCBD/LCBD_stats.h"
#include "LCBD/LCBD_cr.h"
#include "LCBD/LCBC.h"
#include "LCBD/LCBR.h"
#include "LCBD/LCBD_msgs.h"
#include "LCBD/LATP.h"
#include "LCBD/LCB.h"
#include "LCBD/LCB_cr.h"
#include "LCBD/LCBD_pci.h"
#include "LCBT/SSRSIM.h"
#include "RND.h"
Include dependency graph for SSRSIM.c:
Functions | |
void | SSRSIM_init (LCBD lcb, int sendTaskPri, int latpAddr, int appId) |
init the SSR simulate module | |
void | SSRSIM_release () |
shutdown the SSR simulate module | |
int | SSRSIM_setParm (TDATA_DTEST dataType, int dataParm, int tDuration, int reqPacketSize32, int evtPeriod, int *actualPacketSize32) |
Setup and start data simulated SSR data from ISIS. | |
void | SSRSIM_stop () |
stop SSR simulate data output | |
void | SSRSIM_stats () |
print stats | |
void | SSRSIM_statsReset () |
reset stats for printing | |
void | SSRSIM_statsGetErrors (int *timerMiss, int *dmaErrs, int *itemErrs, int *backPresErrs) |
get error stats |
To start: Pulls all buffs from Freelist (FPA), sends buff to fork task Forktask load up buffs with data and put in ReadyList QUE Enable timer, if < 1 KHz datarate timer determined by datarate, one event per dma if > 1 KHz datarate time is 1 mSec, each DMA has N events To Stop: Disable timer Pull all buffers from the ReadyList QUE and puts back in Freelist (FPA)
Normal Operation Timer - runs every N milliSec, pulls buff from ReadyList and sends to LCB LcbRstCallback - when LCB finishes, buffer is send to fork task ForkTask - fills buffer with new data and puts it in ReadyList
|
init the SSR simulate module
|
|
shutdown the SSR simulate module
|
|
Setup and start data simulated SSR data from ISIS.
|
|
print stats
|
|
get error stats
|
|
reset stats for printing
|
|
stop SSR simulate data output
|