/****************************************************************************** * Module: Bunch length fcom * Filename: fcomBlm.h * Author: Qing Yang * Created: 1/5/2010 * Description: * Fcom related bunch length processing ****************************************************************************** * Modification history * * $Log: fcomBlm.h,v $ * Revision 1.3 2014/04/30 16:25:37 gwbrown * Fixed a bug where chan. A imax data was put where chan. B imax should be in fcom data. * * Revision 1.2 2013/02/28 02:02:32 gwbrown * Merged branch B_BunchLength_Strauman into HEAD. * * Revision 1.1.4.2 2012/05/25 21:00:28 strauman * 20120525 (Till Straumann) * - modified BunchLength App to use the generic PAD application (same * as used by BPMs) to stream raw data using drvPadUdpComm (from the * udpComm module). * All processing is done in the VME/master IOC. * Parallel computation of IMAX in EPICS record was removed; the * low-level computation is picked up by the EPICS record for BSA. * * Revision 1.1.4.1 2012/05/11 17:34:18 strauman * - started cleanup with the goal to * * use generic udpComm instead of private clone/copy * * remove parallel computation of imax in record- and fcom land. * The fcom-based version should be made available to BSA * * improve ill-written code (without redesigning from scratch) * * Revision 1.1 2010/03/04 23:08:54 qing * Initial check in. * *****************************************************************************/ #ifndef FCOM_BLM_H #define FCOM_BLM_H #include #include #include typedef struct { float araw; float aimax; float braw; float bimax; } FcomBlobBlenData_t; #define NUM_RAW_FCOM_DATA 4 #define NUM_IMAX_FCOM_DATA 4 int fcomBlmInit(void); void fcomBlmProc(BlmStation station, FcomBlobRef tmitBlob); /* Section; set by startup script */ extern int gBlenSection; void blmFcomTask(void *arg); #endif