20240328 (S.H.) Release Bpm-mr_branch_eic-R3-7-05 SC BSAS in sioc-l1b-bp03 20231030 (S.H.) Release Bpm-mr_branch_eic-R3-7-04 Add DASEL BPMs Some archiver cleanup 20230830 (S.H.) Release Bpm-mr_branch_eic-R3-7-03 For Cavity BPMs firmware algorithm, automatically adjust scale factors (QSCLINT, DFT{U,V,R}SCL) based on announced bunch charge (eg BPMS:UND{H,S}:1:QANN) 20230707 (S.H.) Release Bpm-mr_branch_eic-R3-7-02 For Common Platform systems, include ADCVALID status in both cavity and stripline systems For Common Platform stripline systems in SC mode, automtically disable calibration alarms when beam rate > 120 Hz 20230516 (S.H.) Release Bpm-mr_branch_eic-R3-7-01 For SC beam triggers, tie together settings for diagnostic and firmware triggers. See Changelog for details 20230418 (S.H.) Release Bpm-mr_branch_eic-R3-7-00 First tag with recent SC BSA/timing updates New supported ATCA carrier FW version, 0x040A0100 Release Bpm-mr_branch_eic-R3-6-08 *NOTE* mismatch here: These timing/BSA versions are compatible with FW 0x04080600 and before. But the calibration sequence software changes do not match those older versions. So if you do need to run this version with older firmware, expect the calibration sequence delays to need adjustment. Mostly SC/NC mode switching Updates to how CHRG charge setpoint reference is defined: now has fixed value based on location, defined at startup. Does not change during mode-switching. Fix for CP systems TMIT/CHRG incorrectly updating once at startup, even with no beam data Details in ChangeLog Release Bpm-mr_branch_eic-R3-6-07 Rename NC/SC mode PVs LCLSMODE -> FACMODE First version of FACMODE status database Release Bpm-mr_branch_eic-R3-6-06 BPM-name aliases for NC/SC TPR trigger settings Fixes for crossbar control Release Bpm-mr_branch_eic-R3-6-05 Undo change in Bpm-mr_branch_eic-R3-6-03 Update static IOC file to perform some SC-only functions at startup Release Bpm-mr_branch_eic-R3-6-04 Fix FW:X/Y/TMIT updates record value even when individual signal severity is invalid Release Bpm-mr_branch_eic-R3-6-03 Quick fix for udpComm watchdog 5-minute timeout active in SC systems: use mode switching database (not static) Release Bpm-mr_branch_eic-R3-6-02 Increase ATCA SRP timeouts to 1 second Add klystron gallery test stand sioc-bpn29-bp99 Release Bpm-mr_branch_eic-R3-6-01 Temporarily comment BPMSP4S from sioc-sps-bp03 Release Bpm-mr_branch_eic-R3-6-00 Latest SC timing and MPS modules/packages More updates for NC/SC mode switching See ChangeLog for details Release Bpm-mr_branch_eic-R3-5-15 Common Platform firmware algorithm: fix QSCL PV set on boot; add optional independent DFT phases See ChangeLog for details Release Bpm-mr_branch_eic-R3-5-14 Updates/fixes for Common Platform systems, mostly Cavity See ChangeLog for details Release Bpm-mr_branch_eic-R3-5-13 Cexpsh module change, hoping to prevent cexpsh readline crashes Release Bpm-mr_branch_eic-R3-5-12 Mostly changes in software support for CP cavity BPM Revive FW:QSCL as main user interface for FW charge scaling More details in ChangeLog Release Bpm-mr_branch_eic-R3-5-11 Add independent X/Y scale factors for cavity BPM firmware Release Bpm-mr_branch_eic-R3-5-10 To handle CPSW timeouts during IOC boot, replace epicsThreadSleep with overload of yaml containing increased read timeout and number of retries Release Bpm-mr_branch_eic-R3-5-9 Move SC MPS enable from local yaml to L2MPSASYN module Fix to firmware cavity algorithm DFT coefficient calculation Increase udpComm data timeout for SC systems to prevent RWAV being scanned when no beam (and losing data) See Changelog for details Release Bpm-mr_branch_eic-R3-5-8 For CP systems, add debug flag to print register readback to console at run-time Release Bpm-mr_branch_eic-R3-5-7 Change BPM name COL0:125 to COL0:135 Reorganize cpu-l0b-sp02/03 Add waits to work around crashes occuring since R3-5-6 See Changelog for details Release Bpm-mr_branch_eic-R3-5-6 LCLS2 MPS module updates See Changelog for details Release Bpm-mr_branch_eic-R3-5-5 MPS updates, new supported firmware version 0x04070200, See Changelog for details Release Bpm-mr_branch_eic-R3-5-3 Workaround for fcomInit udpComm file open limit See Changelog for details Release Bpm-mr_branch_eic-R3-5-2 New supported firmware version 0x04060002, contains MPS fix for handling BPM status (see Changelog) Release Bpm-mr_branch_eic-R3-5-1 Update BSSS archiving parameters Add meta data macros for BSSS databases Bring GUNB MPS up to date Change MPS CHRG fault names to CHRGDIFF Release Bpm-mr_branch_eic-R3-5-0 Add support for latest LCLS2 timing, including Beam Synchronous Scalar Service (BSSS) New supported firmware version 0x04060001 Set up data streaming from BPM to BLEN in HTR area. Set RWAV TSE to -2 for udpComm to use driver timestamp See ChangeLog for details Release Bpm-mr_branch_eic-R3-4-4 Activate FNET support for select FACET IOCs Add MPS info in iocBoot/lcls/sioc-undh-bp20 Release Bpm-mr_branch_eic-R3-4-3 Support for new FACET ATCA stripline BPMS:LI20:3218 Support for new LCLS ATCA cavity BPMS:UNDH:4790 Release Bpm-mr_branch_eic-R3-4-2 Convert 5 LTUH BPMs from VME/PAD to ATCA: 120, 130, 170, 190, 390 Add new 'supported' firmware version 0x04030002, which reinstates the 6dB low limit on the stripline calibration attenuator Set up communication with some LCLS2 Bunch Length system carriers See ChangeLog for all the details Release Bpm-mr_branch_eic-R3-4-1 Mostly fixes for ATCA cavity BPM support See ChangeLog for all the details Release Bpm-mr_branch_eic-R3-4-0 Many ATCA MPS info additions & updates Change default beam presence modifier bit in fidProcess.c (and update affected startup files) Update ATCA cavity simulation data for latest firmware channel mapping Release Bpm-mr_branch_eic-R3-3-0-mode-br-R0-0 ATCA Common Platform systems: add infrastructure for supporting both NC and SC modes in a single system. Rename some CP records for consistency Add link node IDs to LCLS systems Misc other small changes See ChangeLog for all the details Release Bpm-mr_branch_eic-R3-3-0 Tag on mr_branch_eic. Identical to Bpm-mr_branch_eic-R3-2-0-fw202103-br-R0-0 but with slot change for sioc-spd-bp04 Release Bpm-mr_branch_eic-R3-2-0-fw202103-br-R0-0 20210323 (S.H.) Add support for MPS calculation of difference between BPM-calculated TMIT and expected charge from timing system New supported firmware version 0x04030001 Change sis8300 CP X/Y/TMITDIAG records to FW:X/Y/TMIT_SLOW Change vmeBpmApp X/Y/TMIT_SLOW records to only be used for software calculations (previously might be used for firmware based on mode) Some cleanup: remove unused CP databases Add databases to support firmware calculations in: iocBoot/lcls/sioc-undh-bp18, sioc-ltuh-bp07, sioc-ltuh-bp08 Release Bpm-mr_branch_eic-R3-2-0 20210303 (S.H.) Split cpu-undh-sp01 into cpu-undh-sp01, 05, 06 for load balancing. Move to cpu-undh-sp05: sioc-undh-bp01 through bp05 Move to cpu-undh-sp06: sioc-ltuh-bp13, sioc-ltuh-bp15 Add alarm limit for cavity BPM receiver PLL +15V Add/fix alarm for ATCA cavity BPM ADCVALID status Release Bpm-mr_branch_eic-R3-1-1 20210113 (S.H.) More testing of cavity and stripline firmware algorithm in LCLS: Load relevant databases in sioc-ltuh-bp13, sioc-undh-bp19 Release Bpm-mr_branch_eic-R3-1-0 20210104 (S.H.) Merged fw202010-br onto mr_branch_eic. See notes for tag Bpm-mr_branch_eic-R3-0-0-fw202010-br-R0-0 below. Migrate BPMS UNDH 1305, 1390, 1490, 1590, 1690, 1790 to ATCA. For ATCA BPMs, add status/alarm for BPM type consistency between firmware and software. FACET: Update FACET boot scripts to use pockcel_perm for beam acquisition Release Bpm-mr_branch_eic-R3-0-0-fw202010-br-R0-0 20201113 (S.H.) Update to use latest BPM firmware, 0x03060000. IMPORTANT: this release is not compatible with older firmware versions because the channel multiplexer settings have changed. There is now firmware version readback and status to check for consistent versions. Remove old EVRV2 trigger support for Common Platform systems. This now all handled by external EPICS modules. See ChangeLog for details Release Bpm-mr_branch_eic-R3-0-0 20201027 (S.H.) Build against EPICS base R7.0.3.1-1.0 and associated modules Add LCLS superconducting area IOCs and archive files Add IOC-level archive templates Add scripts for auto-generating archive substitutions file from st.cmd Activate cavity BPM receiver support for BPMs UNDH 1990 and 2090 See ChangeLog for details Release Bpm-mr_branch_eic-R2-6-1-EPICS7-br-R0-0 Merged latest mr_branch_eic Release Bpm-mr_branch_eic-R2-4-0-EPICS7-br-R0-0 First tag of EPICS7, branched from Bpm-mr_branch_eic-R2-4-0 Release Bpm-mr_branch_eic-R2-6-1 20201019 (S.H.) Migrate BPMS UNDH 2290/2390 to ATCA. Update to cavity BPM receiver PLL register write records to initialize correct values on first boot Release Bpm-mr_branch_eic-R2-6-0 20201007 (S.H.) Improve alarms for cavity BPM receiver status. Release Bpm-mr_branch_eic-R2-5-0 20200928 (S.H.) Migrate BPMS UNDH 1890 to ATCA, 1990 still in VME Add support for FACET ATCA BPMs Release Bpm-mr_branch_eic-R2-4-1 Add archive files for LTUS/DMPS Release Bpm-mr_branch_eic-R2-4-0 For CP systems - add sleep at startup to prevent FPGA comm timeouts: Add databases for cavity firmware algorithm to start testing in sioc-undh-bp19 Release Bpm-mr_branch_eic-R2-3-2 Fixes for swapped slots of sioc-unds-bp01 and sioc-unds-bp02 Release Bpm-mr_branch_eic-R2-3-1 Add support for DL13 and DL17 for SXR Release Bpm-mr_branch_eic-R2-3-0 Reactivate ATCA cavity BPM IOC with some changes Add parallel cavity firmware calculation databases for BPMS:UNDH:5190, for testing See ChangeLog for details Release Bpm-mr_branch_eic-R2-2-1 Because of spurious MPS faults in ATCA system, disable MPS callback for now. Change to: iocBoot/common/cp/cp_mps_lcls.cmd iocBoot/common/cp/cp_mps_lcls_xc.cmd Release Bpm-mr_branch_eic-R2-2-0 To support support both LCLS hard and soft beam, add option to use different bit in timing pattern to determine beam presence. In relevant IOCs, set flag in IOC st.cmd. Changes to: vmeBpmApp/src/fidProcessBPM.c iocBoot/ioc*/st.cmd, iocBoot/common/cp/st.cp*_lcls.cmd Use local bsaBPMSEdef.db to use sink size of 1 Updates to Channel Watcher configuration files Release Bpm-mr_branch_eic-R2-1-0 Second tag after 2019 long downtime Add LCLS-I ATCA MPS for UNDH/UNDS systems Activate fast feedback support for all new LCLS ATCA systems Copy archive data request file to $IOC_DATA at boot time Incorporate Leonid's latest fixes for ATCA cavity digitizer initialization Fixes for Common Platform CPU and system reliability: Use new linuxRT buildroot-2019.08 Use new EPICS base R3.15.5-1.3 and associated modules New EPICS modules also include changes for: BSA/event updates for LCLS HXR/SXR beamlines Graceful shutdown of IOC Going forward, for linuxRT, be sure to use epicsExit() or Ctrl-c when exiting IOC to prevent core dump Release: Bpm-mr_branch_eic-R2-0-0 First tag after 2019 long downtime LTU/UND/DMP systems in ATCA New SXR beamlines, CLTS-DMPS Upgrade EPICS, linuxRT for kernel fix Updates to Common Platform system alarms See ChangeLog for details Release: Bpm-mr_branch_eic-R1-2-7 Fix for sioc-gunb-bp01: Add missing flag to bypass beam presence checks and fix BSA channel assignments Reorganize LCLS-II calibration/AFE sequence diagnostic databases Updates to iocBoot/common/cp command files See ChangeLog for details Release: Bpm-mr_branch_eic-R1-2-6 - DO NOT USE FOR sioc-gunb-bp01 Fix for sioc-gunb-bp01: Add missing BCM communication setup (this error introduced in Bpm-mr_branch_eic-R1-2-5). Temporary dbpfs to remove calibration signals from alarm summary. Release: Bpm-mr_branch_eic-R1-2-5 - DO NOT USE FOR sioc-gunb-bp01 Common startup command files and database templates for Common Platform systems New LCLS HXR unduolator IOCs sioc-gunb-bp01: swap BPM<->AMC order to match installation conventions Common Platform AFE delay settings: small adjustment to tick scaling Add AFE databases that restore cal sequencer settings to be used in LCLS-II SC systems that will need tuning Remove vmeBpmApp/Db/lcls2 Misc other minor changes See ChangeLog for details Release: Bpm-mr_branch_eic-R1-2-4 Fix software calculation & channel mapping for calibration register settings for LCLS-II striplines. Work on common databases and command files for ATCA IOC. More on this soon. See Changelog for details. Release: Bpm-mr_branch_eic-R1-2-3 iocBoot/dev/sioc-b034-bp01/st.cmd: Set up dev ioc to mimic gunb Add debug messages controllable by TPRO for common platform PVs Release: Bpm-mr_branch_eic-R1-2-2 iocBoot/lcls2/sioc-gunb-bp01/st.cmd: Update tprPattern macros iocBoot/common/cp: Updates to common ioc command files Release: Bpm-mr_branch_eic-R1-2-1 Update MPS software for GUNB and along with it, all related or inter-dependent software. See Changelog for details Release: Bpm-mr_branch_eic-R1-2-0 New firmware fixes timstamp bug. Many changes to Common Platform components. Update to high-level crossbar controls Use CAS in GUNB In GUNB yamlDownloader to use yaml files from FPGA See Changelog for details Release: Bpm-mr_branch_eic-R1-1-1 Overhaul vmeBpmApp/srcArchive Release: Bpm-mr_branch_eic-R1-1-0 Update to TPRTRIGGER_MODULE_VERSION=R1.2.4 and convert to using tprTrigger databases. Associated and misc small changes. See Changelog Release: Bpm-mr_branch_eic-R1-0-1 Add access to TimingFrameRx MsgDelay register Bpm-mr_branch_eic-R1-0-0 Branch: mr_branch_eic Release: Bpm-mr_branch-R1-0-1 Initial archiving configs for Timing Pattern Receiver PVs. Changes to vmeBpmApp/srcArchive Release: Bpm-mr_branch-R1-0-0 Initial release for deployment of LCLS-I ATCA BPMs Added iocBoot/lcls Updated module versions to pick up modified BsaCore in order for MR BPMs to work with pre-existing EVG EVENT_MODULE_VERSION=R4.3.6 BSACORE_MODULE_VERSION=R1.4.0 UDPCOMM_MODULE_VERSION=R2.11.6 FCOM_MODULE_VERSION=R1.9.5 FCOMUTIL_MODULE_VERSION=R1.9.5 Branch: mr_branch (git) Release: Bpm-R11-2-0 Minor updates to Common Platform cavity BPMs Updates to CP defaults file structure Add support for GUNB system to send data along backplane Last tag before switching from CVS to git. See ChangeLog for details Release: Bpm-R11-1-0 Initial support for Common Platform cavity BPMs Other changes related to CP support and for shared functionality between CP and non-CP and between LCLS and LCLS-II See ChangeLog for details Release: Bpm-R11-0-1 Updates to data scaling for Common Platform system Add support for hardware info meta data Add help documents BPM_CP_FW_Scaling_Support_Records.* New Common Platform firmware version yaml directories Remove front-panel trigger database substitutions for LCLS EVRs See ChangeLog for details Release: Bpm-R11-0-0 Add support for LCLS2 Common Platform stripline system Upgrade to EPICS base R3-15 See ChangeLog for details Release: Bpm-R10-3-0 For BSY common-line reconfiguration, update BSY BPM device lists and corresponding eioc names. See Changelog for more details. New vmeBpmApp/srcArchive for archive request generation To support Mission Readiness ATCA digitizer, update sis8300Digi to supprt different digitizer front-ends. See Changelog for details. Release: Bpm-R10-2-5 Revert module versions shown in Bpm-R10-2-4. Increased CPU load is too substantial for some systems. rcvrSupport: update front-end 'BPM' register count New sampling time adjustment and display PVs for cavity BPMs Fix 'FBCK' PV record configuration Release: Bpm-R10-2-4 Use event-R4-2-5, udpComm-R2-5-9-BR-3, fcom-R1-3-35, fcomUtil-R1-2-3, drvUioPciGen-R1-0-2, ip470-R1-0-0_1-4, devBusMapped-R3-1-2, miscUtils-R2-2-3 vmeBpmApp/Db/*/bpmEvr*substitutions: add missing SYS macro Note that this release of event introduces a new per-BSA signal compress record of pulse IDs, which will likely increase CPU load. Change sioc-und1/b34-bp01 arch from linux-x86 to linux-x86_64 Release: Bpm-R10-2-3 Changes related to cavity BPMs, rcvr support, modified use of Struck digitizer to support PAL cavity BPMs. See ChangeLog for details Release: Bpm-R10-2-2 Change LCLS LI28 BPM hardware from LCLS-style (PAD digitizer) to XTA/FACET-style (Bill Ross digitizer and AFE chassis) Changes to iocBoot/ioc-li28-bp01/st.cmd, ioc-li28-bp02/st.cmd vmeBpmApp/Db/lcls/IOC-LI28-BP01bpm.sub, IOC-LI28-BP02bpm.sub Change to AFE support to allow user to specify a default AFE FW version in st.cmd that will be used if the AFE is offline when the IOC boots up. Changes to afeSupport/src/afeDevSup.c Release: Bpm-R10-2-1 Update for PAL XFEL installation: PV/IOC names/configurations default event code 43->41 afeSupport/Db/bpmAfeRtm.part.db: change CAL RED/GRN cycle delays Release: Bpm-R10-2-0 No longer build for linuxRT_glibc-x86_64 target, use linuxRT-x86_64 Small bug fix More detail in Changelog Release: Bpm-R10-1-0 Build for linuxRT_glibc-x86_64 target New directories/files for PAL/XFEL Details in Changelog Release: Bpm-R10-0-0 Use EPICS base-R3-14-12-4_1-0, build for target linuxRT-x86_64, update associated EPICS modules Details in Changelog Release: Bpm-R9-5-8 vmeBpmApp/Db/bpmCavity.db.part: Add slowly updating REFR/URER/UIMR/VRER/VIMR PVs for archiving Release: Bpm-R9-5-7 iocBoot/ioc-li20-bp01/st.cmd: increase drvPadUdpCommStrmTimeout to avoid processing X/Y/TMIT PVs when cal disabled Release: Bpm-R9-5-6 Moved eioc-li20-bl01 to this app from BunchLengthCF, like the other eioc-*-bl01 IOCs. Release: Bpm-R9-5-5 afeSupport/src/afeDevSup.c/.h, drvGenAfe: Add flag indicating AFE outage must be detected and recovered from No longer halt boot if AFE offline during initialization Fixes for drvGenericAfeCheck, it was not reading CSR as it should iocBoot/common/start_restore*.cmd: Increase autosave period vmeBpmApp/Db/common/bpmQMaster.db: Autosave QANNEL iocBoot/soft-iocbpminj/st.cmd: Make raw waveforms update at beam rate (10 Hz for SPEAR) Release: Bpm-R9-5-4 vmeBpmApp/Db/spear/SOFT-IOCBPMINJbpm.substitutions, bpmTH.template: add 10hz records for transfer to b140-iocbpm. vmeBpmApp/Db/bpm.db.part: remove bsaflnk macro - no longer needed. Release: Bpm-R9-5-3 vmeBpmApp/src/fidProcess.c/.h: Add drvBpmFidTimeSetBeamAcquireMask to optionally override default timing pattern acquisition bits. iocBoot/ioc-li20-bp01/st.cmd: UsedrvBpmFidTimeSetBeamAcquireMask to set acq bits to match either e- or e+ operation FACET/XTA Update st.cmd to remove obsolete vmeDigiAfe.dbd Add missing devsup macro to IOC-LI20-BP01bpm.sub, IOC-XT01-BP01.sub Release: Bpm-R9-5-2 iocBoot/soft-iocbpminj/st.cmd: corrections found during testing. vmeBpmApp/Db/spear/SOFT-IOCBPMINJbpm.substitutions: changes while testing vmeBpmApp/Db/bpm.db.part: add macros when BSA and EVR not used. Release: Bpm-R9-5-1 DMP BPMUE1 moves upstream. Change unit number from 301 to 299. Changes to: vmeBpmApp/Db/lcls/IOC-DMP1-BP01*.substitutions vmeBpmApp/srcRestore/IOC-DMP1-BP01*.substitutions New directory iocBoot/eioc-dmp1-bp299 vmeBpmApp/src/fidProcess.c: quiet fidTimeGetBaseline_BPM error messages unless debug flag set; it floods the log when there is a timing outage iocBoot/sioc-und1-bp01/st.cmd: replace restore with autosave Release: Bpm-R9-5-0 Update app for static build and to use cram release software Changes to configure/CONFIG New directory .cram Release: Bpm-R9-4-6 Save/restore receiver lock setting Release: Bpm-R9-4-5 Updates for PAL BPMs: vmeBpmApp/Db/pal/*: Fix missing ATTR macro; add 7th BPM Change event code from 41 to 43 iocBoot/vioc-l001-bpm01/st.cmd: Update slot numbers and add 7th BPM afeSupport/Db/bpmRtmAfePart.db: add save/restore for delay settings vmeBpmApp/Db/common/bpm.db.part: Add EGU=mm for XOFF, YOFF PVs Release: Bpm-R9-4-4 No longer alarm cavity BPM receiver lock status vmeBpmApp/Db/common/bpmCavity.db.part Release: Bpm-R9-4-3 Add support for PAL BPMs: vmeBpmApp/Db/pal, iocBoot/vioc-l001-bpm01 Change PV names, hFILT->TFILT, HFILT->FFILT in vmeBpmApp/Db/common/bpmCavity.db.part Release: Bpm-R9-4-2 configure/RELEASE: Use latest sis8300, use autosave update macros for vmeBpmApp/Db/*/*trig.substitutions update AFE parameters used to set attenuators Release: Bpm-R9-4-1 configure/RELEASE: Use latest event, udpComm, fcom, fcomUtil Added SYS macro, removed TEC for event R4-1-0 upgrade, left ACTIV macro still defined for now, so no event code invariant delays Release: Bpm-R9-4-0 Add support for SPEAR BPMs (see Changelog for details) vmeBpmApp/Db/common/bpm.db.part: Change BSA root device TSE from -1 to -2 configure/RELEASE: Use latest event, udpComm, fcom, fcomUtil afeSupport/src/Makefile: remove reference to obsolete mrfApi vmeBpmApp/src/Makefile: add CEXP_DBDS Release: Bpm-R9-3-1 Fixes for rcvrSupport. Details in Changelog. Release: Bpm-R9-3-0 Add support for LCLS cavity BPM receiver: rcvrSupport dir Add test cavity BPM BPMS:UND1:3395 Add soft ioc, sioc-und1-bp01 (See Changelog for more info) Release: Bpm-R9-2-1 Added files for LCLS-II (see Changelog for specifics) Release: Bpm-R9-2-0 Many changes for AFE re-structuring. See Changelog for details Release: Bpm-R9-1-2 iocBoot/st.vmegeneric.cmd and iocBoot/ioc-und1-bp0*/st.cmd Add additional buffers Release: Bpm-R9-1-1 FACET - change unit 3120 to 3315. Changes to: vmeBpmApp/Db/facet and /srcRestore/IOC-LI20-BP01* Release: Bpm-R9-1-0 Add PV and adjustable threshold for stripline energy detection Changes to vmeBpmApp/src, Db, and srcRestore. See Changelog for details. Move SIMCSEQ record back to bpm.db.part and add macros to appropriately set its links for different architectures. See Changelog for details. Build cleanup, changes to: afeSupport/src/Makefile afeSupport/src/systemCommand.c vmeBpmApp/src/Makefile iocBoot/ioc-in20-bp02/st.cmd: Add buffers; this IOC has 10 BPMs and requires more Release: Bpm-R9-0-0 **Note: do not use for ioc-in20-bp02 and its eiocs; Bpm-R9-1-0 has fix** Many changes. See Changelog for details. This release supports LinuxRT/MicroTCA stripline BPM system. New sis8300Digi dir and support for Struck SIS8300 digitizer Changes to vmeBpmApp/src for new digitizer Changes for new udpComm, devBusMapped; use cexpsh module and latest event Changes to build for new architecture & have RTEMS-specific dbd file New argument to drvPadUdpCommSetup New linuxRT soft ioc vioc-li27-bp03 Update st.cmd files for new dbd/drvPadUdpCommSetup Fix XTA active timeslots New afeSupport dir for AFE support software New support for SLAC RTM AFE module Move vmeDigi and some padBpmApp AFE-related files and code to afeSupport New vmeBpmApp/Db/lcls/bpmEvrPmc.sub for PMC EVR vmeBpmApp/Db/common/bpmQMaster.db: New records for users who prefer to see QANN in # of electrons Release: Bpm-R8-0-1 Added eioc-und1-blm1. Beam loss monitor adopted the patern of bunch length eiocs. Release: Bpm-R8-0-0 Reorganize padBpmApp to separate BPM-specific and PAD-specific code Many changes to padBpmApp st.padgeneric.cmd now for non-BPM PADs st.bpmpadgeneric.cmd now used for BPM eiocs with PADs New bunch length eioc-li21-bl01, eioc-li24-bl01 BPM DMP1 199 removed. BPM DMP1 381 added. BPM DMP1 301 now first in PAD multi-cast group Changes to vmeBpmApp, iocBoot (See Changelog for details of above) Release: Bpm-R7-1-0 Add support for FACET EPICS BPMs: Change to: vmeBpmApp/Db/Makefile New: vmeBpmApp/Db/facet vmeBpmApp/srcRestore/IOC-LI20-BP01* iocBoot/ioc-li20-bp01 Release: Bpm-R7-0-2 Change XTA beam acq digitizer event code from 30 to 31 (XTA beam at 60 Hz, but BEAMFULL bit set at 120 Hz) Release: Bpm-R7-0-1 Change XTA active timeslot from 6 to 3. Changes to: vmeBpmApp/Db/xta/bpmEvrXta.substitutions iocBoot/ioc-xt01-bp01/st.cmd Release: Bpm-R7-0-0 Add support for "XTA" BPMs--these use VME Bill Ross digitizers with SLAC AFE vmeDigi: Renamed vmeDigiSim.h -> vmeDigiComm.h New files drvVmeDigiAfeQspi.c/.h, vmeDigiAfe.dbd Changes to vmeDigi.c/.h, vmeDigiComm.c/.h, Makefile padBpmApp/Db: Split bpmPadAfe.template into bpmAfe.db (common to all AFEs) and bpmPadAfe.db.part Changes to Makefile padBpmApp/src: Build library and dbd for AFE support New file bpmAfeAtt.dbd Changes to Makefile, bpmPadSupport.dbd vmeBpmApp/src: Changes to fidProcessBPM.c/.h, bpmSupport.dbd, Makefile vmeBpmApp/Db: Break up into lcls, xta, common sub-directories New files IOC-XT01-BP01*.substitutions Changes to bpmVmeDigiAfe.db, bpmVmeDigiAfe.substitutions vmeBpmApp/srcRestore: New Channel Watcher files IOC-XT01-BP01*; change to Makefile iocBoot: New directory ioc-xt01-bp01 configure/RELEASE: use latest event, updComm, fcom, fcomUtil Use errlogPrintf instead of epicsPrintf iocBoot:st.vmedb.cmd: do not load generalTime database Release: Bpm-R6-0-1 Fix timestamp for cavity BPM REFR, UIMR, VIMR, URER, VRER vmeBpmApp/Db/bpmCavity.db.part: set TSE = -1 for above records Release: Bpm-R6-0-0 **Do not use for cavity BPMs - raw cavity signals timestamp **misconfigured and cavity BPM calibration will not work Use EPICS base R3-14-12 and associated modules Add configure/RULES.Restore and include it in srcRestore/Makefile Update devAaoVmeCommSim.c Use udpComm-R2-2-0 and associated modules Use event-R3-2-2-br_generaltime-2-0 Set TSE of BSA source PVs (X,Y,TMIT) to -1 Add 2 new macros to vmeBpmApp/Db/IOC*trig.sub: TOUT, ACTV Add srcRestore/evrIocTrig.cwConfig and evrDevTrig.cwConfig (until available again from event) Use iocAdmin-R3-1-6-RC1-lcls1 Install and load iocGeneralTime.db BUGFIX in vmeBpmApp/src/cavFilt.c which led to endless loop in cavity IOC Add debug messages to vmeBpmApp/src/drvBpm.c after instance of fatal fcom error Move common ioc*/st.cmd commands to new iocBoot/st.vmedb.cmd Changes to iocBoot/ioc*/st.cmd and st.vmegeneric.cmd Move SIMCSEQ PV from bpm.db.part to bpmCavity.db.part and bpmStripl.db.part to prevent CA requests for nonexistent PVs More details in Changelog Release: Bpm-R5-4-0 Add control and save/restore of stripline pincushion correction Changes to: vmeBpmApp/Db/bpmStripl.db.part vmeBpmApp/src/drvBpmStripl.c vmeBpmApp/srcRestore/BPMS_STRIP_VME.cwConfig Add cavity BPM LO status to alarm summary. Changes to: vmeBpmApp/Db/bpmCavity.db.part Fixes for VME digitizer simulation waveform Changes to vmeDigi Display updates Changes to vmeBpmApp/srcDisplay/bpm_cavity_diagnostics.edl vmeBpmApp/srcDisplay/bpm_stripline_diagnostic.edl Add IOC release version support Changes to vmeBpmApp/Db/Makefile Use shared CA security configuration Remove vmeBpmApp/Db/bpmMps.acf Changes to vmeBpmApp/Db/ioc-und1-bp0*.substitutions Release: Bpm-R5-3-1 configure/RELEASE: use fcomUtil-R1-0-0, fcom-R1-3-2, udpComm-R1-3-1, event-R3-2-1 Use iocAdminRTEMS.db (instead of iocAdmin.db) Add :CHK PV per BPM to inform that BPM needs calib/ironing; add to save/restore; add to alarm summary Remove Cavity BPM raw BSA substitutions (URER, UIMR, VRER, VIMR, REFR) vmeBpmApp/srcDisplay/bpm_*_diagnostic.edl: add text based on :CHK PV; add expert related display; remove :FBCK PV control See Changelog for more detail Release: Bpm-R5-3-0 Fixed a few minor bugs in vectorized stripline code and enabled this vectorized code by default. Release: Bpm-R5-2-0 Merged changes in the _lowI _calGlitchTrap variants. Added a few diagnostic/statistics counters. Use udpComm-R1-3-0 (which contains some more statistics, too). Release: Bpm-R5-1-0 Bugfix: Make sure cavity BPM data packet is vector-aligned. (Do not use Bpm-R5-0-0 or Bpm-R5-0-1 with cavity BPM IOCs.) Changes to vmeDigi/vmeDigiComm.c, vmeBpmApp/src/drvBpmCavity.c padBpmApp/Db/bpmPadAfe.template Change cal attenuation CALA.DRVL from 0 to 6 dB configure/RELEASE: use fcom-R1-3-0, udpComm-R1-2-0, fcomUtil-R0-4-1 vmeBpmApp/srcDisplay/bpm_stripline_diagnostic: remove UOFF/VOFF Release: Bpm-R5-0-1 Additional X/Y offsets per undulator request Changes to vmeBpmApp/Db/bpm.db.part, vmeBpmApp/srcRestore/BPM_*_VME.cwConfig iocBoot/st.vmegeneric.cmd, st.padgeneric.cmd Remove incorrect optional argument for ld(lanIpBasic*.obj) Release: Bpm-R5-0-0 Use rtems-4.9.4 and base-R3-14-8-2-lcls6 Many changes associated with fast feedback project to vmeBpmApp, padBpmApp, iocBoot directories. For detail, see Changelog. configure/RELEASE: add udpComm, fcom, fcomUtil Add multicast support (use if PADMCGRP envvar defined) Stripline VME-PAD communication changed from broadcast/UDP to multicast/UDP (for fnet systems only) Add support for IOCs to stream X,Y,TMIT (+ timestamp/status) data on new fast network Use new padSupport and udpComm modules (moved from ssrlApps to new EPICS module udpComm) Bitmask for channels using FCOM - can remove undesired BPMs First phase of fast feedback using all IN20, LI21, BSY0, LTU0, LTU1, UND1, DMP1 iocs/eiocs padBpmApp/srcdrvPadAfeQspi.c: reject 0xff AFE version number (value if no AFE present) vmeBpmApp/src/drvBpm.c, vmeBpmApp/src/drvBpm.h,vmeBpmApp/src/drvBpmStripl.c, vmeBpmApp/src/drvBpmCavity.c: Add TimeStamp* argument to drvBpmCalcPos() so that the timestamp from the PAD reply can be passed on and used to tag the X/Y/TMIT records. (TSE on these records needs to be set to make use of the feature.) padBpmApp/src/devWfPadBpm.c: rtems 4.9.1, 4.10 API changes in uC5282 BSP Use new ao records to hold MPS thresholds (instead of X,Y,TMIT .LOLO,.HIHI) vmeBpmApp/Db/bpm.db/part: new records with ASG set; changed X,Y,TMIT alarm severities = NO_ALARM vmeBpmApp/src/: new device support to access new MPS thresholds vmeBpmApp/srcRestore/ stripline and cavity templates: add threshold PVs New device suppport to deposit waveform into digitizer memory Changes in vmeDigi Move vmeBpmApp/Db/bpmQMaster.db to BpmSoft app to reduce number of CA conn for ioc-in20-bp01; remove PVs from vmeBpmApp/srcRestore/IOC-IN20-BP01.cwConfig vmeBpmApp/Db/bpm.db/part: new calcout records to allow additional X/Y offsets Add .B and .C fields to vmeBpmApp/srcRestore/ strip and cavity templates vmeBpmApp/Db remove unused mpsLimits.db vmeBpmApp/bpm.db.part: Set X_SLOW.SCAN (for cavity bpms, was not being processed) vmeBpmApp/db/bpmMps.acf: remove iocegr/lcls-builder from allowed user/host: eiocdesk only Release: Bpm-R4-1-1 Use event-R3-0-5 Release: Bpm-R4-1-0 Change MPS algorithm to include BYKICK status, add new PVs MPSFLT_T, MPSLTBYP Changes to vmeBpmApp/src/drvBpm.c, vmeBpmApp/Db/bpm.db.part vmeBpmApp/Db/IOC-LTU1-BP01bpm.substitutions Add MPS record substitutions iocBoot/ioc-ltu1-bp01/st.cmd For MPS signal, add IP470A, XY9660 init; define mpsPetCallback Fix flagging of X, Y, TMIT when TMIT over/underrange (was being reset) Changes to vmeBpmApp/src/drvBpm.c vmeBpmApp/Db/bpm.db.part: Replace ASG=BPM_MPS with ASG=$(asg) for X, Y, TMIT and MPS PVs. Populate asg macros in ioc*bpm.subsitutions files: most will be set to ""; units in MPS will be set to BPM_MPS Set MPSBYP default db value to 0 (bypassed) Use event-R3-0-4 vmeBpmApp/src/fidProcess.c Add additional argument (0) to fidProcess.c call to evrTimeRegister iocBoot/st.vmegeneric.cmd Add rtems-4.9.1 VME bus timing change to fix EVR errors Release: Bpm-R4-0-0 Add remaining Linac BPMs to vmeBpmApp/Db and /srcRestore, iocBoot vmeBpmApp/Db/bpmCavity.db.part,bpmStripl.db.part Change STA_ALH from sel to calc; sel doesn't work for alh acknowledge padBpmApp/Db/bpmPadAfe.template To support new PAD design with 6dB less atten, optionally add 6dB to total att based on fw version vmeBpmApp/srcRestore Add :Z to BPMS_STRIP_VME.cwConfig and BPMS_CAVITY_VME.cwConfig BPMS_STRIP_VME.cwConfig, replace X.AOFF, Y.AOFF with XAOFF, YAOFF Remove all SLC-aware code Changes to vmeBpmApp/Db and iocBoot directories Add evrInitialize() to all stripline st.cmd files New file vmeBpmApp/Db/bpmIocMps.db Move MPS PVs from bpmIocStripl to bpmIocMps Update IOC-UND1-BP0*.sub accordingly Add MPS substitutions to IOC-LTU1-BP01.substitutions vmeBpmApp/Db/bpmPattern.substitutions Comment out LNK5 to FIDP record; FIDP record is usually commented out in bpmIocStripl.db, so both will need to be uncommented to use event simulation mode vmeBpmApp/srcRestore/ Add X,Y,TMIT .HHSV, .LLSV to strip and cavity cw configs This is to avoid unwanted alarms due to MPS-related limits vmeBpmApp/Db/bpm.db.part Set RSTA.SCAN to 1 second; remove RSTA from diagnostic processing chain vmeBpmApp/Db/bpmCavity.db.part Remove URMS,VRMS,RRMS fields that were intended to be used by MPS; since then we have decided to use X,Y,TMIT for MPS Release: Bpm-R3-0-0 Use RTEMS 4.9.1 configure/RELEASE Change base and module versions padBpmApp/src/devWfPadBpm.c Redefine RTEMS symbols Timer_initialize,Read_timer iocBoot/ioc-und1-bp0*/st.cmd Change ipac carrier declaration Release: Bpm-R2-0-5 vmeBpmApp/Db/bpm.db.part Set Z.PINI=YES, change Z ai to ao vmeBpmApp/srcRestore/BPMS_CAVITY_VME.cwConfig Remove unused RCVR_SELFTST, RCVR_LO_CTL Release: Bpm-R2-0-4 Changes to vmeBpmApp/src/drvBpmStripl.c, drvBpm.h, drvBpmCavity.c To fix bug reported by elog id 284523 Changes to setting overrange bits, setting status/severity, flagging underflow/overflow Move most MPS support from databases to low-level code Many changes in: vmeBpmApp/Db and vmeBpmApp/src (Details in ChangeLog) New file: vmeBpmApp/src/mpsSupport.c Add CAS to X, Y PVs Use event-R2-8-2 Use iocAdmin-R2-1-4 Release: Bpm-R2-0-3 Changes to: vmeBpmApp/src/vp/vp.c vmeBpmApp/src/drvBpm.c,drvBpmCavity.c for: -Fixed problem where AI record status/severity (X/Y/TMIT) update was delayed by 1 pulse. -Other code cleanup vmeBpmApp/Db/mps_stat.db Set :MPSSIG to 1 on startup (1=FAULT) Release: Bpm-R2-0-2 vmeBpmApp/srcRestore/BPMS_STRIP_VME.cwConfig Change U/VOFF to U/VOFF_SEL.A Change PCMM to U/VSCL_SEL.A vmeBpmApp/Db/bpm.db.part Remove PCMM Use iocAdmin-R2-1-2 to pick up new feedback PV Add FBCK, FBCK.RVAL to vmeBpmApp/srcRestore BPMS*.cwConfig Add FBCK to vmeBpmApp/srcDisplay/bpm*diagnostic.edl vmeBpmApp/srcDisplay/ bpm_cavity_diagnostics.edl - added a new tab giving access to X/Y ASLO/AOFF. bpm_stripline_diagnostic.edl - remove PCMM, add USCL,VSCL Release: Bpm-R2-0-1 Use iocAdmin-R2-1-1 Use event-R2-8-1 vmeBpmApp/Db/ Changes to mps_stat.db for non-heartbeat signal for MPS Add bpmMps.acf for MPS CAS Add CAS for all MPS-related records Add mpsLimits.db vmeBpmApp/Db/bpmEvrCavity.substitutions Remove IRQ enable for event codes 20, 30, 40 iocBoot/ioc-und1-bp01/st.cmd Add mpsLimits.db iocBoot/ioc-und1-bp01,-bp02,-bp03,-bp04/st.cmd Add bpmMps.acf vmeBpmApp/src/ drvBpmCavity.c - scale u_re/v_re/u_im/v_im by 128/nsamples drvBpm.c, drvBpm.h - must always try to convert; even if callback returns error Release: Bpm-R2-0-0 Added support for cavity BPMs: New directories: fftw,vmeDigi Many new/changed vmeBpmApp/Db and /src files Support for signal to MPS: vmeBpmApp/Db/mps_stat.db New vmeBpmApp/srcDisplay and /srcRestore files Support for ioc-und1-bp01,-bp02,-bp03,-bp04 Support for new BSA attributes: URER,UIMR,VRER,VIMR,REFR (not in use) Commented out simulation records in vmeBpmApp/Db/bpmIocStripl.db When no beam, :TMIT no longer invalid Release: Bpm-cavity-branch-merged Merged Bpm-cavity-branch back onto main trunk. Branch: Bpm-R1-branch Branched-off before merging the major changes that add support for cavity BPMs (and modified a lot of stuff under the hood) back onto the main trunk. Further fixes of Bpm-R1-x-y should be done on the Bpm-R1-branch! Release: Bpm-R1-branchpoint CVS HEAD just before creating Bpm-R1-branch and before merging the Bpm-cavity-branch back onto the HEAD. Further fixes of Bpm-R1-x-y should be done on the Bpm-R1-branch! Release: Bpm-R1-0-10 vmeBpmApp/Db/IOC-LTU1-BP03trig.substitutions and IOC-LTU1-BP04trig.substitutions Correct typos (change ltu to ltu1) iocBoot/ioc-ltu1-bp02,-bp03,-bp04/st.cmd Correct EVR declarations and names (Add second evr declaration to -bp02 and increment subsequent evr unit numbers) Release: Bpm-R1-0-9 vmeBpmApp/Db/IOC-BSY0-BP01bpm.substitutions, ""/""/IOC-BSY0-BP01trig.substitutions, ""/""/IOC-BSY0-BP02bpm.substitutions, and ""/""/IOC-BSY0-BP02trig.substitutions - Change the following MAD names: BPM460029T to BPMBSY29 BPM460039T to BPMBSY39 BPM920020T to BPMBSY61 BPM920030T to BPMBSY63 BPM920050T to BPMBSY83 BPM921010T to BPMBSY85 BPM921020T to BPMBSY88 BPM921030T to BPMBSY92 vmeBpmApp/Db/bpmStripl.db - Add $(bpm):Z PV for modelling/database software to identify BPM. padBpmApp/src/subAtt.c - When calculating attenuator settings we must not assume that ATTO is a positive offset. Treat all values as signed quantities. (T.S. 20090923) Release: Bpm-R1-0-8 Change ioc-li25-bp01 save/restore location from: /data/restore/ to /data to match other bpm iocs. Add new stripline ioc and bpm instances. New units: ioc-bsy0-bp02, eioc-bsy0-bp61, eioc-bsy0-bp63, eioc-bsy0-bp83, eioc-bsy0-bp85, eioc-bsy0-bp88, eioc-bsy0-bp92 and all ltu0, ltu1, dmp1 iocs and eiocs. Add simulation mode and link for each BPM X,Y,TMIT on the VME IOC. The simulation link uses the pulse ID from the EVR. Database changes only. To simulate, set :PATTERNSIM to "Raw" or "2". To go back to data from the PADs, set :PATTERNSIM to "Off" or "0" or reboot. Release: Bpm-R1-0-7 Add new ioc and bpm instances. New units: ioc-li21-bp02, eioc-li21-bp401, eioc-li21-bp501 eioc-li21-bp601, eioc-li21-bp701 eioc-li21-bp801, eioc-li21-bp901 No changes to software. Release: Bpm-R1-0-6 Change ioc-li24-bp02 and ioc-li25-bp01 EVRs from PMC to VME. Only software change for this is to ErConfigure() in st.cmd. Use new version of event module event-R2-6-3. bpm_stripline_diagnostic.edl Added related display to tabular bpm values display. Branch: Bpm-cavity-branch New branch where development of cavity BPM support is done. Branch: Bpm-cavity-branch-before Branchpoint on the main trunk where Bpm-cavity-branch was forked. Release: Bpm-R1-0-5 Generate alarm limits for IOC:IN20:BP01:QANN automatically based on charge feedback setpoint FBCK:BCI0:1:CHRGSP. Release: Bpm-R1-0-4 Add new ioc and bpm instances. New units: ioc-li27-bp01, eioc-li27-bp301, eioc-li27-bp401 ioc-li27-bp02, eioc-li27-bp701, eioc-li27-bp801 ioc-li28-bp01, eioc-li27-bp301, eioc-li27-bp401 ioc-li28-bp02, eioc-li27-bp701, eioc-li27-bp801 ioc-bsy0-bp01, eioc-bsy0-bp29, eioc-bsy0-bp39 eioc-bsy0-bp52 Use new version of micro module micro-R1-1-13 Release: Bpm-R1-0-3 Use new version of event module: event-R2-6-2 Release: Bpm-R1-0-2 Two files changed to accomodate new AFE firmware: bpmPadAfe.template - add $(dev):ATT2H, $(dev):ATT2HFO, $(dev):ATTH, $(dev):ATTHFO Together, these records use the firmware version :VERS to determine the values of :ATT2.HOPR, :ATT2.DRVH, :ATT.HOPR, :ATT.DRVH, and :ATTC.E and then write the values to those fields. padBpmApp/src/subAtt.c - use :ATTC.E input instead of hardcoded value for max. attenuation of ATT2. Head: vmeBpmApp/Db/bpmIocStripl.db: - read MODIFIER5.R (EVR bit 'this timeslot carries beam' info) into record that is processed at 120Hz vmeBpmApp/src/fidProcess.c, vmeBpmApp/src/fidProcess.h - add routine 'fidHasBeam()' to access info w/o need to go through EPICS db every time the driver needs to know. vmeBpmApp/src/drvPadUdpComm.c: - support continuous triggering; beam data packets acquired when there is no beam (according to MODIFIER5.R) are ignored (cal-data is always used). Release: Bpm-R1-0-1 bpmStripl.db - add slow_x/y/tmit/r/b/g/y to use for slow update display change sevr of RSTA from INVALID to MAJOR Release: Bpm-R1-0-0 Till's latest and greatest finally tagged