$Id: RELEASE_NOTES,v 1.122 2013/06/11 23:34:50 lpiccoli Exp $ Later: in mpsLinkNodeApp/src/drvMpsLinkNode.c: fill out mpsPICQADCReport remove all unnecessary setting of PIC_SELECT register Next: change to only set mode register if mode is not BYKIK. For BYKIK this is no longer necessary and is actually better not to do it, since it has the side effect of resetting some, but not all, of the new counters and this may look strange" drvMpsLinkNode.c slow-but-usuable solution to flashing without having to revert to rtems 4.7.*. This version (of ports.c) uses pulseClock (instead of rtems_wake_after_...) and takes ~20 min to copy the image mpsLinkNodeApp/src/ports.c MpsLinkNodeApp-R3-7-3: Several fixes to make the 32-bit BLM threshold registers work. This version requires FPGA version 0x45 or greater. MpsLinkNodeApp-R3-7-2: MpsLinkNodeApp-R3-7-1: Corrected bit problem introduced on R3-6-8. Comment was wrong. The correct bit is the fifth one. MpsLinkNodeApp-R3-7-0: EPICS R3-14-12 MpsLinkNodeApp-R3-6-10: Ready for production BYKIK test. Fixes issues with LN37 PV names that were incorrect in the previous version. MpsLinkNodeApp-R3-6-9: Ready for production BYKIK test. MpsLinkNodeApp-R3-6-8: Enabled sync thread to read QADC at 1 Hz. mpsSyncReadRequest was setting the wrong bit to trigger readout. MpsLinkNodeApp-R3-6-7: Add abort counter, standby counter, EVG abort counter devAiMpsLinkNode.c drvMpsLinkNode.c drvMpsLinkNode.h mps.byk_template MpsLinkNodeApp-R3-6-6: Changes so that BYK waveform gets copied via making sync read requests drvMpsLinkNode.c,drvMpsLinkNode.h,iocBoot/eioc-mcc0-mp01/st.cmd, iocBoot/lclsdev-20/st.cmd Changes to add new FPGA id fields drvMpsLinkNode.{c,h}, devStringinMpsLinkNode.c mps.byk_template, mps.template MpsLinkNodeApp-R3-6-5: Fixes to (revert back) to LN23 being Mitigation Ctrl and not PIC link node MpsLinkNodeApp-R3-6-4: Add ADEL to autosave for ai and ao Add alarm limits and severities to autosave for ai MpsLinkNodeApp-R3-6-3: Add two more channels to PIC module 3. They are channels 4 and 5 Name VMS DeviceName New EPICS Name ###### ############## ################ IC17_A PICS.AB01.1701 PICM:BSYA:1701A IC17_B PICS.AB01.1702 PICM:BSYA:1701B MpsLinkNodeApp-R3-6-2: Name changes for PIC modules 2 and 3 of LN25. Channels 1,2,3 of PIC module 3 move to channels 6,7,8 of PIC module 2. Channels 4,5,6 of PIC module 3 move to channels 1,2,3 of PIC module 3. Channels 4,5,6 of PIC module 3 are now spare. MpsLinkNodeApp-R3-6-1: Add PIC A-Line channels to module 3 of LN25. This brings a new location, BSYA, that is needed for channels 1-6 Confirmed: no ai records with routine #12 any longer. All instances using ai routine 8 instead MpsLinkNodeApp-R3-6-0: FID_DELAY and FID_WIDTH need LOCA, not LOCA2 mpsLinkNodeApp/Db/mps.pic_ln25_template Major change: QADC CSRs and other registers all need offset to get to correct mem location for relevant PIC. It is NOT enough to just fill pic_select reg and read. You also have to go to add + (module*0x80). Add 3rd PIC module for LN25 Started on mpsPICQADCReport (int pic) MpsLinkNodeApp-R3-5-6: iocBoot/eioc-mcc0-mp11/st.cmd now loads mps.pic2_ln25_template MORE LN22 and LN25 PIC module2 PVs need module=1 (was 0) in @param strings AND delete all the FID*, HV* PVs redund with pic_template mpsLinkNodeApp/Db/mps.pic2_ln22_template mpsLinkNodeApp/Db/mps.pic2_ln25_template MpsLinkNodeApp-R3-5-5: LN22 and LN25 PIC module2 PVs need module=1 (was 0) in @param strings and comment out HV_STS since redund with mps.pic_ln* mpsLinkNodeApp/Db/mps.pic2_ln22_template mpsLinkNodeApp/Db/mps.pic2_ln25_template MpsLinkNodeApp-R3-5-4: LN22 PIC module2 channel1 needs own LOCA (LI29) mpsLinkNodeApp/Db/mps.pic2_ln22_template MpsLinkNodeApp-R3-5-3 iocBoot/eioc-in20-mp11/st.cmd iocBoot/eioc-li24-mp11/st.cmd iocBoot/eioc-li30-mp01/st.cmd iocBoot/eioc-bsy0-mp01/st.cmd iocBoot/eioc-mcc0-mp11/st.cmd load pic templates MpsLinkNodeApp-R3-5-2 Add Db/mps.pic_ln23_template MpsLinkNodeApp-R3-5-1 Add rack locations for FEH link nodes to st.cmd files Add FEH link node IOCSTAT button on mps_all_linknodes.edl Db/mps.blm_template revision 1.17 BUG FIX: TIMING_HIHI's OUT should be TIMING.HIHI; not TEST.HIHI srcDisplay and all its edls are moved to tools/edm/display/mps repo Turn LN11,16,22,23 and 25 into PICs NB: LN22 and 25 have two PIC modules each files are the st.cmds and, in mpsLinkNodeApp/Db: mpsBSY0MP01.substitutions: PRIM EIOC->PICM mpsIN20MP11.substitutions: PRIM EIOC->PICM mpsLI20MP01.substitutions: PRIM EIOC->PICM mpsLI24MP11.substitutions: PRIM EIOC->PICM mpsLI30MP01.substitutions: PRIM EIOC->PICM mpsMCC0MP11.substitutions: PRIM EIOC->PICM Makefile mpsLI20MP01.pic_substitutions new mpsIN20MP11.pic_substitutions new mpsLI24MP11.pic_substitutions new mpsLI30MP01.pic_substitutions new mpsBSY0MP01.pic_substitutions new mpsMCC0MP11.pic_substitutions new Guessed at unit numbers. Assumed no exceptions, so all can load mps.pic_template New exceptions: LN22 has channel 1 in LI28, channels 2-5 in LI29 of PIC1; channels 1 in LI29 and channels 2-5 in LI30 of PIC2. LN23 has channel 1 in LOCA BSYN LN25 has all channels of PIC1 and first five channels of PIC2 in alt LOCA (BSY0) load saveRestore db on LN30 and 32 add another dev test node, ioc-b34-lclsdev-88 MpsLinkNodeApp-R3-5-0 add far hall nodes eioc-feh-mp0{1,2} MpsLinkNodeApp-R3-4-9 mps.byk_template adds SCL_OFF and then the calcout adds this in. mps_byk.edl adds text entry for SCL_OFF and changes suggested scale factor to 0.111 V/kGm MpsLinkNodeApp-R3-4-8 bug fix (BLM): getting faults does NOT need to be invasive; rather, these are acquired via sync read" mpsLinkNodeApp/srcDisplay/mps_blm_qadc.edl 1.13 mpsLinkNodeApp/src/drvMpsLinkNode.c 1.98 separate bykik high and low tolerance into two values mps_byk.edl, mps.byk_template MpsLinkNodeApp-R3-4-7 tag for backup prior to lab test of generic BLMlinknode Does not have changes migrated to LN30 or LN32 (special BLMs) Summary: finishes mods per JEDU's BLM QADC Modifications Summary, task calls sync read at 1 hz, but PVs do not wait for signal, they just read. Added Jeff's event counter (link node FPGA heartbeat). It should match acq counter (the QADC FPGA heartbeat) For these versions and higher, there is a new thread to do sync read request at 1 Hz: <-- drvMpsLinkNode.c new revision: 1.96 <-- drvMpsLinkNode.h new revision: 1.57 <-- iocBoot/lclsdev-75/st.cmd new revision: 1.2 Also, this version of drvMpsLinkNode.c stops doing the signed extension by ifdef-ing out with SIGN_EXTENSION_NEEDED MpsLinkNodeApp-R3-4-6 tag prior to removing USE_PIC_MUTEX_AND_THREAD in src MpsLinkNodeApp-R3-4-5 make BYKIK threshold tolerance a variable MpsLinkNodeApp-R3-4-4 fixes after testing in production: 1. BYK faults needed 1 second scan in mps.byk_template, 2. added notes re: unused regs re: ADC in drvMpsLinkNode.c, 3. mps_byk.edl lower xygraph needed trigger only on change in X, not X and Y MpsLinkNodeApp-R3-4-3 new threshold calculation, based on BEND BACT only; add vertical bars on BYKIK waveform plot to show where sample is mpsLinkNodeApp/Db/mps.byk_template mpsLinkNodeApp/src/devWaveformMpsLinkNode.c mpsLinkNodeApp/src/drvMpsLinkNode.c mpsLinkNodeApp/src/drvMpsLinkNode.h mpsLinkNodeApp/srcDisplay/mps_byk.edl MpsLinkNodeApp-R3-4-2 fix up BYK waveforms for thresholds in voltages devAoMpsLinkNode passes val (not rval) to mpsSetBYKThreshold make BYK faults scan at 1 Hz (formerly passive) in mps.byk_template clean up type decs in drvMpsLinkNode.c clean up mps_byk.edl MpsLinkNodeApp-R3-4-1 add link node id to the title in header of each gui most .edl files rm rotary_ln_id from mps_all_linknodes.edl add MADDECK name and PV name to losses, doses and thresholds MpsLinkNodeApp-R3-4-0: extend lower high voltage limit from 0 to -1 to make noisy near null but negative values stop causing alarms mps.blm_ln30_template mps.blm_ln32_template mps.blm_template fix useBgDisplayColor for one text entry mpsLinkNodeApp/srcDisplay/mps_blm_hv_ln30.edl NOTE FOR INSTALLING: If things go awry, use /home/iocegr/mps/LN3*_adjust_HV another fix to drvMpsLinkNode.c to avoid setting state PV to -1 when no match found fix up autosave for IOC booted from afs iocBoot/lclsdev-79/st-lab-pic.cmd extend QADC thresholds psLinkNodeApp/Db/mps.blm_ln30_template stop autosaving DRVH and DRVL since not edittable from GUI mpsLinkNodeApp/Db/mpsao.db extend QADC thresholds mpsLinkNodeApp/src/drvMpsLinkNode.c mpsLinkNodeApp/src/drvMpsLinkNode.h mpsLinkNodeApp/src/mpsLinkNodeMacros.h mpsLinkNodeApp/src/devAoMpsLinkNode.c add readbacks for two halves of QADC threshold registers for debug/testing mpsLinkNodeApp/src/devAiMpsLinkNode.c add PV names, add counts, add upper and lower registers for extended QADC thresholds mpsLinkNodeApp/srcDisplay/mps_blm_qadc_threshold_ln30.edl initial version" iocBoot/lclsdev-12/st-lab-blm.cmd MpsLinkNodeApp-R3-3-9: updates from production MpsLinkNodeApp-R3-3-8: these belonged to R3-3-7 but got missed mps_pic1_linknode_ln31.edl mps_pic_qadc_loss_ln31.edl mps_pic_qadc_threshold_ln31.edl fix UNIT5 for PIC LN28 (was 28-5, now 450) mps_all_linknodes.edl substitutions that use mps.template no longer need UNIT1-8 *.substitutions MpsLinkNodeApp-R3-3-7: change UNIT5 definition from 28-5 to 450 mpsLTU1MP11.pic_substitutions (6/2/9 pre-beam testing) fix to parsing of databaseVersion: discern non-printable characters based on ASCII decimal value <32 instead of trying to match them drvMpsLinkNode.c fixes after 6/9/9 beam testing 2) PV name mapping vs physical channel mapping in Link-Node #29 is incorrect: a) Physically, the PIC chambers are connected as follows: (NOW) CH1 = CX31 / PICM:LTU1:722 CH2 = CY32 / PICM:LTU1:732 CH3 = BX36 / PICM:LTU1:480 b) Virtually (in the SW) the channels are mapped as: (WAS) CH1 = BX36 / PICM:LTU1:480 CH2 = CX31 / PICM:LTU1:722 CH3 = CY32 / PICM:LTU1:732 4) Additional Item: It has been requested by OPS that the PV name associated with each channel be included in the displays for the Thresholds, Losses and Doses. This make for ease of operation. add epics env var ENGINEER and LOCATION to all iocBoot/st.cmd add eioc-li24-mp11/st.cmd to repo MpsLinkNodeApp-R3-3-6: LN29 needs new driver routine and device support due to diffs in the wiring Date: Wed, 3 Jun 2009 14:29:40 -0700 From: "Dusatko, John E." Subject: Need to change mapping of HVPS status bit on LN#29 We need to change the mapping of the HVPS status bit on Link-Node #29. Everywhere else (ln34,28,31) Input card 1 channel 9 is used. On LN29, input card 1 channel 2 (starting from 1 not 0) is used instead. Channel 9 is physcially connected to a trunk cable that goes into the tunnel. I don't think its actually used, but it is connected. MpsLinkNodeApp-R3-3-5: Fixes after testing in production (LN28 and 29) MpsLinkNodeApp-R3-3-4: LOCA3 is not needed after all for LN34 LN28 and LN29 PICs into production: PICM device type MpsLinkNodeApp-R3-3-3: Fixes after testing in production. mps_pic1_linknode_ln31.edl, eioc-und1-mp02/st.cmd MpsLinkNodeApp-R3-3-2: PV name changes: LN31 needs own version of template, substitutions, Makefile rule, GUIs to be able to have 3 diff location macro substitutions MpsLinkNodeApp-R3-3-1: Add more info to DP_ERROR for debugging out of range channel LN31 PIC into production: PICM device type MpsLinkNodeApp-R3-3-1: Add more info to DP_ERROR for debugging out of range channel LN31 PIC into production: PICM device type MpsLinkNodeApp-R3-3-0: Device type change: PIC -> PICM MpsLinkNodeApp-R3-2-1: Add mps_pic_qadc_loss_ln34.edl MpsLinkNodeApp-R3-2-0: IRMIS-compatible iocBoot for all the rest PV name changes: LN34 needs own version of template, substitutions, Makefile rule, GUIs to be able to have 3 diff location macro substitutions MpsLinkNodeApp-R3-1-7: IRMIS-compatible iocBoot for eioc-und1-mp11 fixes re: ON/OFF bit pattern assignment add initial condition: ensure HVPS is OFF at start MpsLinkNodeApp-R3-1-6: don't forget TODOs from MpsLinkNodeApp-R3-1-2 !!THIS VERSION WORKS FOR ONE PIC MODULE PER CHASSIS!! (i.e. mps.pic_template has PVs for just P1_*) add HV PS control and readback for PIC. !! PVs only added to mps.pic_template, i.e. not to the variations re: the number of pic modules!! !! PV only added to mps_pic1_linknode.edl, not all variations of mps_pic*_linknode.edl mpsLinkNodeApp/srcDisplay/mps_pic1_linknode.edl mpsLinkNodeApp/Db/mps.pic_template mpsLinkNodeApp/src/devBiMpsLinkNode.c mpsLinkNodeApp/src/devBoMpsLinkNode.c mpsLinkNodeApp/src/drvMpsLinkNode.c mpsLinkNodeApp/src/drvMpsLinkNode.h MpsLinkNodeApp-R3-1-5: don't forget TODOs from MpsLinkNodeApp-R3-1-2 !!THIS VERSION WORKS FOR ONE PIC MODULE PER CHASSIS!! (i.e. mps.pic_template has PVs for just P1_*) more changes for extended gate width MpsLinkNodeApp-R3-1-4: don't forget TODOs from MpsLinkNodeApp-R3-1-2 !!THIS VERSION WORKS FOR ONE PIC MODULE PER CHASSIS!! (i.e. mps.pic_template has PVs for just P1_*) Later (phase 3) Jeff is going to copy pages of mem so that each PIC module has its own area to get/set values. This means the *pic_select register will fall out. fixes per 4/28/9 benchtesting: - set extended gate high and low byte width ONLY via set extended gate width. i.e. no PVs for the two halves. TODO re: mutex. Compare eg in drvPadUdpComm.c in llrf2App MpsLinkNodeApp-R3-1-3: don't forget TODOs from MpsLinkNodeApp-R3-1-2 fixes per 4/21/9 benchtesting: stop scanning fault and fault summary PVs at 2 second - since read is invasive change PIC ADC DRVH/DRVL range from +/-5 V to +10 V change PIC ASLO from 0.0001525 to 0.000305 fix edl files where LN_ID s/b ROTARY_LN_ID MpsLinkNodeApp-R3-1-2: fix to BLM:UND1:120:HV_SF channel. mps.blm_ln32_template had $(LOCA2) for LOCA, but it is channel 4 and should be $(LOCA). Fixed its INPA field, too; it had same mistake. TO DO: once this fix gets into LN32, ask RDH to add BLM:UND1:120:HV_SF to archiver finished PIC add GUIs: mps_pic_qadc.edl mps_pic_qadc_dose.edl mps_pic_qadc_loss.edl mps_pic_qadc_threshold.edl mps_pic_raw_adc.edl updated ALL-except-pic templates: ai,ao,bi,bo,mbbo PVs to add 0 in 2nd field of OUT (now used for PIC #) corrected PIC UNIT numbers in both Db substitutions and macros in mps_all_linknodes.edl passed to PICs added _LOLO and _HIHI to get _L and _H into .LOLO and .HIHI fields of LOSS TODO: test all 3 types of blm nodes (after mods that add module to function arguments MpsLinkNodeApp-R3-1-1: add BYK and BXK faults fixes to BYK thresholds for display in RAW counts before committing, switch to PROD version of ao PVs in mps.byk_template (with real magnets) comment out two places where mpsGetLatched* returns -1 comment out one places where mpsGetState* returns -1 add two missing fn prototypes used by bi to driver h: mpsQADCReadout and mpsSetCSR3FBC MpsLinkNodeApp-R3-1-0: add alh summary PVs to GUIs to propagate severities MpsLinkNodeApp-R3-0-9: add lcls-opi05-9 to HAG in mpsLinkNode.acf MpsLinkNodeApp-R3-0-8: fix missing deadmen channels 1-3 in mps.template add missing PV for LOSS_LOLO ch 1 mps.blm_template MpsLinkNodeApp-R3-0-7: add alarms on TIMING_1/TEST_1/HRTBT_1 FREEZE CODE AT END OF DOWNTIME MpsLinkNodeApp-R3-0-6: add alarms on LOSS, PED and TIMNG/TEST/HRTBT MpsLinkNodeApp-R3-0-5: finishing up all known bug fixes/mods on BLM link node software; initial startup of PIC link nodes in production; all GUIs change to no autoSelects and yes alarmSensitive MpsLinkNodeApp-R3-0-4: fix top level pic GUI MpsLinkNodeApp-R3-0-3: fixes to blms add alarms on HV when out of range of thresholds start on pic launching MpsLinkNodeApp-R3-0-2: IMPORTANT FIX TO BLM LINK NODES: do not set the FPGA init bit at end of startup script. It has the effect of resetting some registers, including HV thresholds. This is not good since autosave restored values are lost. Now that byk has its separate startup, FPGA init bit can be done for it (which is needed, but for unknown reasons). MpsLinkNodeApp-R3-0-1: change TEST, TEST_L and TEST_H for BLM QADC CH 1 thresholds and losses to be TIMING, TIMING_L and TIMING_H GUIs and templates changes divide up the databases into common and specific and modify st*cmd to deal with them BYKIK Upper Threshold = 1.04 * (KICK:LTU1:320:BACT + KICK:LTU1:340:BACT)/BEND:LTU1:220:BACT BYKIK Lower Threshold = 0.96 * (KICK:LTU1:320:BACT + KICK:LTU1:340:BACT)/BEND:LTU1:220:BACT MpsLinkNodeApp-R3-0-0: RTEMS 4.9.1/EPICS3.14.10 channels 4-8 change $(LOCA2) to $(LOCA) M Db/mps.ln32_template M src/devAoMpsLinkNode.c M src/drvMpsLinkNode.c M srcDisplay/mps_blm_hv_ln32.edl M srcDisplay/mps_blm_qadc_dose_ln32.edl M srcDisplay/mps_blm_qadc_loss_ln32.edl M srcDisplay/mps_blm_qadc_threshold_ln32.edl M srcDisplay/mps_blm_raw_adc_ln32.edl fixes to BLM HV thresholds M mpsLinkNodeApp/src/devAiMpsLinkNode.c M mpsLinkNodeApp/src/devMpsLinkNode.dbd M mpsLinkNodeApp/src/drvMpsLinkNode.h M mpsLinkNodeApp/srcDisplay/mps_blm_hv.edl add new readbacks of counts of BLM HV thresholds mpsLinkNodeApp/Db/mps.template ld of sockstats no longer needed by 4.9.1 - it's built in MpsLinkNodeApp-R2-3-2: tag for what's running in production end of 2/26/9 MpsLinkNodeApp-R2-3-1: autosave setup in ln30 and 32 fixes to mps.ln32_template make _ng.edl files the current version Kristi adds buttons to EVR triggers to all blm_linknode*.edl Sonya adds buttons to IOC Stats on mps_all_linknodes.edl add fiducial readbacks (driver,PV,GUI) MpsLinkNodeApp-R2-3-0: bring LN #30 and #32 special case databases and GUIs up to date with R2-2-0 remove ChannelWatcher files and srcRestore dir from CVS MpsLinkNodeApp-R2-2-0: fixes after testing BLM link node 37 in prod add dose integration, move dose GUI to be loss GUI so that dose integration can be dose; fix unit numbers where flipped; add unit numbers where more known; add registers; add debug routine force QADC read; TAKE OUT currentLen adjustment for PROD (always) MpsLinkNodeApp-R2-1-9: fixes to ln#36 M mpsLinkNodeApp/Db/Makefile M mpsLinkNodeApp/Db/mps.template M mpsLinkNodeApp/src/devLonginMpsLinkNode.c M mpsLinkNodeApp/src/devLongoutMpsLinkNode.c M mpsLinkNodeApp/srcDisplay/mps_blm_hv.edl M mpsLinkNodeApp/srcDisplay/mps_blm_qadc.edl MpsLinkNodeApp-R2-1-8: changes to test ln#36 prod (more name changes, CSR3, Registers) M mpsLinkNodeApp/Db/mps.template M mpsLinkNodeApp/Db/mpsbi.db cvs update: Updating mpsLinkNodeApp/src M mpsLinkNodeApp/src/devBiMpsLinkNode.c M mpsLinkNodeApp/src/devBoMpsLinkNode.c M mpsLinkNodeApp/src/devLonginMpsLinkNode.c M mpsLinkNodeApp/src/devLongoutMpsLinkNode.c M mpsLinkNodeApp/src/devMbbiMpsLinkNode.c M mpsLinkNodeApp/src/devMbboMpsLinkNode.c M mpsLinkNodeApp/src/drvMpsLinkNode.c M mpsLinkNodeApp/src/drvMpsLinkNode.h M mpsLinkNodeApp/srcDisplay/mps_all_linknodes.edl M mpsLinkNodeApp/srcDisplay/mps_blm_hv.edl M mpsLinkNodeApp/srcDisplay/mps_blm_qadc.edl M mpsLinkNodeApp/srcDisplay/mps_blm_qadc_dose.edl M mpsLinkNodeApp/srcDisplay/mps_blm_qadc_threshold.edl MpsLinkNodeApp-R2-1-7: fixes to conversion of BYK threshold conversion: V to counts and switching to working with unsigned two-byte value in register per 2-byte offset binary format next: add device support for bi records add bi records for CSR1 add bi,bo,longin,longout records for CSR2 .edl files have diverged. updating to what Sherry has checked in. MpsLinkNodeApp-R2-1-6: fixes to accumulation dose driver routines: both the 16-bit type (baseline, most recent) and the 26-bit type (1 sec, .1 sec, 1/30 sec, 1/60 sec) upgrade to iocAdmin-R2-1-1 src/Makefile now uses devIocStats instead of iocAdmin MpsLinkNodeApp-R2-1-5: tag after autosave running in PROD MpsLinkNodeApp-R2-1-4: tag before switch to autosave in PROD MpsLinkNodeApp-R2-1-3: configure, src and Db changes to add autosave MpsLinkNodeApp-R2-1-2: changes for analog inputs to use EGUL and ESLO --- LAST TAG BEFORE IMPLEMENTING AUTOSAVE --- MpsLinkNodeApp-R2-1-1: changes for analog outputs to use EGUL and ESLO to convert HV to DAC V to counts changes to be able to work with *HV_*_CTL, *HV*_LTH, *HV_*LTH and *HV_*_MON in high voltage units and, at the same time GUI be able to set all the paramters throughout the pipe --- PENULTIMATE TAG BEFORE IMPLEMENTING AUTOSAVE --- MpsLinkNodeApp-R2-1-0: change to accommodate channel-specific unit numbers for BLMs; changes to accommodate exceptions: where BLM link node has a different location from the BLM in one or more channels; make GUIs that support these exceptions MpsLinkNodeApp-R2-0-6: second part of fixes after John's testing 1/25/9 set real slope value (ASLO) in BLM QADC threshold mpsLinkNodeApp/Db/mps.template Work with raw values (counts) to send to driver for BLM QADC thresholds mpsLinkNodeApp/src/devAoMpsLinkNode.c fix display mpsLinkNodeApp/srcDisplay/mps_blm_qadc_dose.edl mpsLinkNodeApp/srcDisplay/mps_blm_qadc_threshold.edl fixes to mpsAssembleBeamDose, mpsGetQADCTestDose, mpsGetQADCBeamDose, mpsSetQADCBaseThreshold, mpsSetQADCBeamThreshold, mpsSetQADCTestThreshold mpsLinkNodeApp/src/drvMpsLinkNode.c mpsLinkNodeApp/src/drvMpsLinkNode.h take out the link_node_control = 8 in mpsGetQADCFault because this should NEVER be done by prod'n software. It is INVASIVE to FPGA" src/drvMpsLinkNode.c lab link node is a BLM today iocBoot/st-lab.cmd 3 more fields need to be RVAL mpsLinkNodeApp/srcDisplay/mps_blm_qadc_dose.edl MpsLinkNodeApp-R2-0-5: add button to launch related display mps_blm_raw_adc mps_blm_linknode.edl add hex display of raw values mps_blm_qadc_dose.edl fix display title (was "Autosave") for mpsLinkNodeApp/srcDisplay/mps_all_linknodes.edl ---- fgets behaviour varies across cdlx08 and builder --- add case 60 in Assemble mpsLinkNodeApp/src/drvMpsLinkNode.c first part of fixes after John's testing 1/25/9 iocBoot/st-office.cmd mpsLinkNodeApp/Db/mps.template mpsLinkNodeApp/Db/mpsUND1MP01.substitutions mpsLinkNodeApp/src/drvMpsLinkNode.c mpsLinkNodeApp/srcDisplay/mps_all_linknodes.edl mpsLinkNodeApp/srcDisplay/mps_blm_qadc.edl MpsLinkNodeApp-R2-0-4: add PVs for raw adc values mpsLinkNodeApp/Db/mps.template mpsLinkNodeApp/src/devAiMpsLinkNode.c mpsLinkNodeApp/src/drvMpsLinkNode.c mpsLinkNodeApp/src/drvMpsLinkNode.h change titles: i.e. 10 Sec -> 1/10 Sec,... and add 1/60 Sec column mpsLinkNodeApp/srcDisplay/mps_blm_qadc_dose.edl initial version mpsLinkNodeApp/srcDisplay/mps_blm_raw_adc.edl MpsLinkNodeApp-R2-0-3: add integrated doses: 8 channels of baseline, current, 1 second, 10 second, 30 second beam AND current and 1 second test mpsLinkNodeApp/Db/mps.template add integrated dose driver support mpsLinkNodeApp/src/mpsLinkNodeMacros.h mpsLinkNodeApp/src/drvMpsLinkNode.h mpsLinkNodeApp/src/drvMpsLinkNode.c add integrated dose device support mpsLinkNodeApp/src/devAiMpsLinkNode.c finish PV names in RH Column mpsLinkNodeApp/srcDisplay/mps_fiducial.edl initial version mpsLinkNodeApp/srcDisplay/mps_blm_qadc_dose.edl fixes mpsLinkNodeApp/srcDisplay/mps_blm_qadc_threshold.edl MpsLinkNodeApp-R2-0-2: add bo device support for single bit PVs of CSR1; add BLM QADC thresholds; add fiducial PVs MpsLinkNodeApp-R2-0-1: fixes for BLM testing in production MpsLinkNodeApp-R2-0-0: Start of PV name changes base on link node type MpsLinkNodeApp-R1-1-9: BLM set/get access procedure finalized. Some steps required to write and read from FPGA via FIFO (that is only updated when FPGA idle (in the final tenth of millisec before next trigger). Ok to merge the GUIs re: PEP-II and Argonne Power Supplys (and PV names in db). As it turns out, PEP-II PS is used for all but ch 4 for all BLMs. MpsLinkNodeApp-R1-1-8: debugging problems setting BLM HV control via ao record where RVAL gets stuck at -10 and brute force conversion in device support avoiding RVAL altogether *** CHANCE OF THIS MESSING UP BYK Threshold stuff. Need to retest that val vs rval is correct ******** adding DRVH and DRVL for ao records due to note in RRM re: non-Soft records will never change if these are both zero MpsLinkNodeApp-R1-1-7: start on CSR1 control and status; add rack location update top level panel comments to reflect node status in prod MpsLinkNodeApp-R1-1-6: add BLM thresholds, add QADC faults MpsLinkNodeApp-R1-1-5: change BYK Get routines to return short; update global structure with BYK params; remove obsolete code flagged with GOING; comment out errlogPrintfs for now (too obtrusive to running AND TO CMLOG!!!) mpsLinkNodeApp/src/drvMpsLinkNode.c change BYK Get routines to return short; remove obsolete code flagged with GOING mpsLinkNodeApp/src/drvMpsLinkNode.h add waveforms for BYK high and low thresholds so that they can be plotted with the BYK waveform make mps_linknode.edl app-specific so that button to launch BYK waveform only shows on linknode of type "BYKIK", for example MpsLinkNodeApp-R1-1-4: temp'ly commented out two instances of errlogPrintf in drvMpsLinkNode.c re: "poss corruption..." add waveform for BYKIK add more PVs to mps_all_linknodes.edl setup for testing in lab and in office iocBoot/st-lab.cmd iocBoot/st-office.cmd move definition of MPS Link Node Configuration Modes to include for access by device support mpsLinkNodeApp/src/mpsLinkNodeMacros.h production needs changes to match development: call mpsReadDatabaseVersion once and then just mpsGetDataVersion every time you need the string iocBoot/st.cmd add BYKIK waveform support, both raw and processed mpsLinkNodeApp/src/Makefile mpsLinkNodeApp/src/devWaveformMpsLinkNode.c mpsLinkNodeApp/src/devMpsLinkNode.dbd mpsLinkNodeApp/Db/Makefile mpsLinkNodeApp/Db/mps.template mpsLinkNodeApp/Db/mpswaveform.db now that rotary switches are correct, script with override switches is unnecessary iocBoot/st-eioc-ltu1-mp11.cmd iocBoot/st-eioc-ltu1-mp21.cmd iocBoot/st-eioc-und1-mp02.cmd iocBoot/st-eioc-und1-mp11.cmd add BYKIK waveform driver routines, both raw and processed; change blm_control to link_node_control since this reg is used to control alltypes of link nodes; IMPORTANT: see link_node_control to 1 whenever mode is changed in order to init the FPGA to the new mode mpsLinkNodeApp/src/drvMpsLinkNode.c pvprefix no longer needed: comment out the related case mpsLinkNodeApp/src/mpsParseXml.c pvprefix no longer needed. use concatenation of GetLOCA and GetUNIT instead mpsLinkNodeApp/src/drvMpsLinkNode.h when parsing the channels, move the non-matches and comment lines to DP_DEBUG level mpsLinkNodeApp/src/drvMpsLinkNode.c add device support to retrieve BYK thresholds mpsLinkNodeApp/src/devAiMpsLinkNode.c MpsLinkNodeApp-R1-1-3: Add EGU to all PVs that have it; add stringin PV for database version; add longin PV for FPGA version; add new PVs to GUI M iocBoot/st-lab.cmd M mpsLinkNodeApp/Db/mps.template M mpsLinkNodeApp/Db/mpsai.db M mpsLinkNodeApp/Db/mpslongin.db M mpsLinkNodeApp/Db/mpslongout.db M mpsLinkNodeApp/Db/mpsmbbi.db M mpsLinkNodeApp/src/devLonginMpsLinkNode.c M mpsLinkNodeApp/src/devStringinMpsLinkNode.c M mpsLinkNodeApp/src/drvMpsLinkNode.c M mpsLinkNodeApp/src/drvMpsLinkNode.h M mpsLinkNodeApp/srcDisplay/mps_all_linknodes.edl MpsLinkNodeApp-R1-1-2: what is running in production as of beam through undulator test 12/13/8 MpsLinkNodeApp-R1-1-1: add link node id and link node id from rotaries and display on top-level GUI MpsLinkNodeApp-R1-1-0: further tag for testing in ops 12/10/08 MpsLinkNodeApp-R1-0-9: tag for testing in ops 12/10/08 MpsLinkNodeApp-R1-0-7: add PIC thresholds, add BYKIK setpoints MpsLinkNodeApp-R1-0-6: exit(),rtemsReboot() clobbering fixed. MpsLinkNodeApp-R1-0-5: Generic st.cmd. Link node determines which node it is by consulting rotary switch at startup. This required the driver to be initialised in advance of iocInit so that the mem map could be read and the appropriate data base loaded. Called by iocCommon//startup.cmd with pre/post wrappers. IRMIS now happy. New registers and PVs for 96 deadman status bits New registers and PVs for 96 autorecoverable status bits New registers and PVs for 96 fault (latched) status bits New registers and PVs for 96 state (filtered) status bits IN PROGRESS BUT TAGGING ANYWAY: New routine to parse exported SQL database as option to sqlite3 queries. New registers and PVs for PIC and BLM integrated doses New registers and PVs for BLM HV get/set (offset binary 0000-FFFF maps to -10.-9.99969) GUIs set up but not finished. Framework is there, but copy and paste errors may still abound. Initial conditions need work. Right now new PVs that map to bits come up as -1. Note that hardware is not ready yet for testing the BLM HV ADC get/set, so it is untested. exit(),rtemsReboot() appears clobbered. Maybe by new/ recent additions? MpsLinkNodeApp-R1-0-4: Add sqlite interface First tag for production MpsLinkNodeApp-R1-0-3: Device support and GUI for ADC registers MpsLinkNodeApp-R1-0-2: Device support and GUIs for flash and a start on rest of registers MpsLinkNodeApp-R1-0-1: Debounce register setpoints and readbacks working for all 96 channels MpsLinkNodeApp-R1-0: Initial Version