
#==============================================================
#
#  Name: RELEASE_NOTES
#
#  Rem:  This files describes release notes for
#        the XXX IOC Application.
#
#  Auth: xx-Dec-2012, XXX         (xxx)
#  Rev:  dd-mmm-yyyy, Reviewer's Name    (USERNAME)
#--------------------------------------------------------------
#
#

R2.0.1 May 6th, 2024 R McClanahan (rpm)
    modified:   tpgSupportApp/Db/tpgPatternSelection.db
     Added PVs for readback displays and pattern verification script control:
	TPG:$(S_SYS):$(UNIT):DST$(DEST):TIME_SRC
	TPG:$(S_SYS):$(UNIT):DST$(DEST):RATE_CALC
	TPG:$(S_SYS):$(UNIT):DST$(DEST):RATE_RBV
	TPG:$(S_SYS):$(UNIT):PATT_VERIFY_HRTBT
	TPG:$(S_SYS):$(UNIT):PATT_VERIFY_CTRL
	TPG:$(S_SYS):$(UNIT):PATT_VERIFY_MSG

R2.0.0 May 3rd, 2024 C.B. Mattison (carolina)
	upgrade to RHEL7 

R1.8.7 Feb 15th, 2023 R McClanahan (rpm)
    modified:   tpgSupportApp/Db/tpgPatternSelection.db
        Added autosave to TPG:$(S_SYS):$(UNIT):MODE
        Added TPG:$(S_SYS):$(UNIT):PATTERNS_HEARTBEAT

R1.8.6 Jan 30th, 2023 R McClanahan (rpm)
    modified:   tpgSupportApp/Db/tpgPatternSelection.db
        changed TPG:$(S_SYS):$(UNIT):MANUAL_PATH (TPG:SYS0:1:MANUAL_PATH) to a waveform

R1.8.5 Oct 16th, 2023 R Mcclanahan (rpm)
    Fixed typo that caused pvs in SIOC:SYS0:TS06 to be named incorrectly

R1.8.4 Sep 29th, 2023 R Mcclanahan (rpm)
     renamed and moved the following pvs from TS00 -> TS06
     BSA:SYS0:29:HST_READY    -> BSA:SYS0:1:29:HST_READY
     BSA:SYS0:29:HST_PERCENT  -> BSA:SYS0:1:29:HST_PERCENT
     tpgSupportApp/src/bsaControl.st also moved from TS00 -> TS06
     Removed logging functionality as it did not work
     fixed bug where pvs were being assigned and monitored even when the rootnames entry was empty

R1.8.3 Sep 1st, 2023 R Mcclanahan (rpm)
     Fix HST_READY and HST_PERCENT PVs

R1.8.2 Aug 31st, 2023 Carolina B Mattison (carolina)
     Fix Summary destination readback for BSA 
     Add macros to fix databases for multiple instances of TPGSupport 
     on same server

R1.8.1 Aug 30th, 2023 Carolina B Mattison (carolina)
     Adding Mode database for switching the whole machine NC/SC timing source.
     These databases live in sioc-sys0-ts05, a separate SIOC to improve stability and allow decoupled 
     reboots from timing system SIOCs ( work performed with Tyler Kabana and Ryan McClanahan)

R1.8.0 Aug 17th, 2023 Carolina B Mattison (carolina)
     Changing UNIT macro to be field macro instead of 1 default
     Changing macros in sioc-b084-ts00 to use TPG:B084:2

R1.7.5 May 11th, 2023 Ryan McClanahan (rpm)
     Added checks to FACMOD pvs for bsa control sequences

R1.7.4 April 28th, 2023 Ryan McClanahan (rpm)
     Fixed bsa control not reporting ready after trying for a minute when time stamps
     did not match.
     Fixed counter not resetting after successful aquisition
     Added log files for bsaControl sequences
     Corrected pv names for bsa control/ready 
     PHYS:SYS0:${UNIT}:${BTYPE}_READY to BSA:SYS0:${UNIT}:${BTYPE}_READY
     PHYS:SYS0:${UNIT}:${BTYPE}_PERCENT to BSA:SYS0:${UNIT}:${BTYPE}_PERCENT

R1.7.3   April 28th, 2023 Ryan McClanahan (rpm) 
	 Added logic for bsa Control/ bsa ready
     modified:
     iocBoot/sioc-sys0-ts00/st.cmd
     tpgSupportApp/Db/Makefile
     tpgSupportApp/src/Makefile
     added:
     iocBoot/sioc-sys0-ts00/bsaControl.cmd
     tpgSupportApp/Db/bsaReady.substitutions
     tpgSupportApp/Db/bsaReady.template
     tpgSupportApp/src/bsaControl.dbd
     tpgSupportApp/src/bsaControl.st

R1.7.2   April 7th, 2023 Carolina B Mattison (carolina) 
	 Fixed all Db/bsa* that are used for bsaReserve.st from src/
	 The change consisted in settign default severity to Major and add all Diag0/BSY/LINAC
         SYS BSA buffers for 1H TH and HH. In addition the indexes in bsaReserve.st needed to be updated.

R1.7.1   March 30th, 2023 Ryan McClanahan (rpm)
         added $(P):CH{0,14}_LOOPCLK to archive files
         tpgSupportApp/Db/af_cpsw.tpl-arch

R1.7.0   March 14th, 2023 Carolina B Mattison (carolina)
         Naming Convention Change to match bsaDriver
         tpgSupportApp/Db/Bsas.db 
         tpgSupportApp/Db/BsasMod.substitutions 
         tpgSupportApp/Db/BsssRate.db 
         tpgSupportApp/Db/BsssRateDef.substitutions


R1.6.4   February 21, 2023 Carolina B Mattison  (carolina)
         Changed unit number for active fanout siocs:
          iocBoot/sioc-in20-ts04/st.cmd 
          iocBoot/sioc-ltu0-ts03/st.cmd
          iocBoot/sioc-gunb-ts02/st.cmd 


R1.6.3   October 19, 2022 Carolina B Mattison (carolina)
         
	1) File tpgSupportApp/Db/TpgDest_Space.substitutions removing ^M 
           characters at the end of the lines that need to be removed.
        2) In file tpgSupport/Db/af_summary_fiber.db, the second INP should 
           be $(P):$(AMC):FIBERNOADAPTOR.B$(N).
	 record(bi, "$(P):CH$(CHN)_FIBERSTATUS"){
	  field(DESC, "Fiber Status")
	  field(ZNAM, "Not Ready")
	  field(ONAM, "Ready")
	  field(INP, "$(P):$(AMC):FIBERSTATUS.B$(N) CP")                                                        
	}
	 record(bi, "$(P):CH$(CHN)_FIBERADAPTOR"){
	  field(DESC, "Fiber adaptor connected")
	  field(ZNAM, "Not Connected")
	  field(ONAM, "Connected")
	  field(INP, "$(P):$(AMC):FIBERSTATUS.B$(N) CP")
	}
        3) tpgSupportApp/Db/TpgDest_Frequency_SUB.substitutions Adding rates for mode SC15-SC18

R1.6.2   September 29, 2022 Carolina B Mattison (carolina)
         Adding to tpgPatternSelection.db TpgDestSpace.substitutions
         Active Fanout Program HeartBeat AF_HRTBT
         2000 spacing for burst patterns option requested by BCS

R1.6.1   September 16, 2022 Carolina B Mattison (carolina)
	 Fixing SFP PV connection error messages when not detected.
	 Added PVs to read back bit status for active fanout database
         tpgPatternSelection.db TpgDestSpace.substitutions
R1.6.0   September 15, 2022 Carolina B Mattison (carolina)
	 Added sioc-gunb-ts02/sioc-ltu0-ts03/sioc-in20-ts04 to support active fanout 
	 installation in s2/B005/s20. 
         Added template and sb files to support active fanout build activeFanout
	 work done with Marcio and Mike S (TID)

R1.5.7   July 7, 2022, Justin Chen (justinc)
         Add FLTBUFSTAT PV
R1.5.6   July 6, 2022, Justin Chen (justinc)
         Add B015 TpgSupport
R1.5.5   July 5, 2022, Justin Chen (justinc)
         Add BSAS global PVs
R1.5.4   July 5, 2022, Justin Chen (justinc)
         Fix BSSS global PVs
R1.5.3   July 5, 2022, Justin Chen (justinc)
         Update AC rate list
R1.5.2   July 5, 2022, Justin Chen (justinc)
         Revise naming for destination for BSA and TPG, fix DES PVs default value by removing PINI from bunches, spaces, AC and frequency
R1.5.1   July 5, 2022, Justin Chen (justinc)
         Add Manual_path/load for manual load in pattern to TPG
R1.5.0   May 17, 2022, Justin Chen (justinc)
         Add more bunches to TpgDest_Bunch.substitutions
R1.4.9   May 16, 2022, Justin Chen (justinc)
         Revise BSA free slot monitor in bsaBuffReserve.st to reduce CPU load
R1.4.8   May 11, 2022, Justin Chen (justinc)
         Add PVs to reset DES_FREQUENCY to 0 when swtiching rate mode
R1.4.7   April 28, 2022, Justin Chen (justinc)
         Remove 120Hz to DIAG0 fixed rate for all mode and destination
R1.4.6   April 26, 2022, Justin Chen (justinc)
         Add 120Hz to DIAG0 fixed rate for all mode and destination
R1.4.5   April 25, 2022, Justin Chen (justinc)
         Fixed timeslot PVs to BSA:XXX instead of TPG:XXX
R1.4.4   April 19, 2022, Justin Chen (justinc)
         Add rate mode selection PV for fixed/AC rate and modify AC rate PV
R1.4.3   April 8, 2022, Justin Chen (justinc)
         Add archive and default for destination mask selection
R1.4.2   April 1, 2022, Justin Chen (justinc)
         Change default of MEASSEVR to Invalid
R1.4.1   March 30, 2022, Justin Chen (justinc)
         Add default to system BSA and fix last active time
R1.4.0   March 30, 2022, Justin Chen (justinc)
         Revise all BSA PVs to BSA:XXX:X:INS:ATTR
R1.3.9   March 29, 2022, Justin Chen (justinc)
         Revise PV for request buffer, update default for BSA setup and set bunch_charge PV with upper limit
R1.3.8   March 22, 2022, Justin Chen (justinc)
         Revise frequency drop-down list PVs naming and 1kHz, 1.4kHz, 5kHz and update "_DES_" PVs
R1.3.7   March 15, 2022, Justin Chen (justinc)
         Add BSA free slots number PV
R1.3.6   March 9, 2022, Justin Chen (justinc)
         Change destination PV to DSTxx_NAME
R1.3.5   March 8, 2022, Justin Chen (justinc)
         Fix load autosave in sioc-sys0-ts00/st.cmd
R1.3.4   March 7, 2022, Justin Chen (justinc)
         Add expert display button and log PV
R1.3.3   March 2, 2022, Justin Chen (justinc)
         Modify load/apply buttons to initialize with value
R1.3.2   March 1, 2022, Justin Chen (justinc)
         Modify autosave and change load/apply buttons to not call script
R1.3.1   Feb 28, 2022, Justin Chen (justinc)
         Add MDEL field to monitor Load/Apply pattern script
R1.3.0   Feb 25, 2022, Justin Chen (justinc)
         Revise MPS read back PVs
R1.2.9   Feb 24, 2022, Justin Chen (justinc)
         Add PVs related to TPG display
R1.2.8   Feb 1, 2022, Justin Chen (justinc)
         Add Charge related PVs in tpgPatternSelection.db
R1.2.7   Jan 31, 2022, Justin Chen (justinc)
         Add AC Rate PVs and reduce .db file size by modifying TpgDest PVs
R1.2.6   Jan 25, 2022, Justin Chen (justinc)
         Add Mode, Destination and Rate PVs for pattern selection by adding in TpgDestRate.db
         Add autosave to BSSS related PVs
R1.2.5   Jan 19, 2022, Justin Chen (justinc)
         Add BSSS related PVs in BsssRate.db
R1.2.4   Jan 4, 2022, Justin Chen (justinc)
         Add Mode, Destination and Rate PVs by adding TpgDest.substitutions, TpgDestMode.substitutions, TpgDestRate.db
R1.2.3   Dec 15, 2021, Justin Chen (justinc)
         Add BSSS rate limit by adding BsssRate.db and BsssRateLimit.substitutions
R1.2.2   Aug 18, 2021, Justin Chen (justinc)
         Fixed bsaBufferAll.substitutions
R1.2.1   Aug 17, 2021, Justin Chen (justinc)
         Updated bsaBuffSetDefaults.vdb, bsaBufferMask.st and substitution for default SYS BSA. Modified 
	 bsaBuffReserve.st and bsaBufferMaskName.db to fix 64th slot reservation bug and :FREE PV name 
	 from BSAXXX:FREE to XXX:FREE
R1.2.0   July 20, 2021, Justin Chen (justinc)
         Updated bsaBufferDestMask.db to include publish 30 destination slots
R1.1.9   July 13, 2021, Justin Chen (justinc)
         Fixed default Destination Mask checkbox to default as SC1 GUN, modified bsaBuffSetDefaults.vdb
	 and bsaBufferDestMask.db
R1.1.8   July 2, 2021, Justin Chen (justinc)
         Added bsaBufferMask.st and modified st.cmd, bsaBufferDestMask.db, bsaBufferAll.substitutions, 		    	     		  
	 bsaBufferMaskName.db and Makefile for BSA destination summary
R1.1.7   June 16, 2021, Justin Chen (justinc)
         Modified st.cmd and bsaBuffReserve.st(remove unit for TOD assign TOD to "SIOC:{SYS}:TS00:TOD")
	 to SYS0
R1.1.6   June 11, 2021, Justin Chen (justinc)
	 Add sioc-sys0-ts00 st.cmd to git 
R1.1.5   June 9, 2021, Justin Chen (justinc)
	 Add .cram 
R1.1.4   June 8, 2021, Justin Chen (justinc)
	 Modified:bsaBuffSetDefaults.vdb, bsaBufferAll.substitutions, bsaBufferMaskName.db, 
	 bsaBuffReserve.st bsaBufferDestMask.db bsaTimeSlot.db
	 To achieve default setup, timeslot selection, destination selection, user name, name,
	 time stamps functionality of bas Buffer with all files push on git
R1.1.3   June 7, 2021, Justin Chen (justinc)
	 Modified:bsaBuffSetDefaults.vdb, bsaBufferAll.substitutions, bsaBufferMaskName.db, 
	 bsaBuffReserve.st
	 To achieve default setup, timeslot selection, destination selection, user name, name,
	 time stamps functionality of bas Buffer
R1.1.2   May 24, 2021, Justin Chen (justinc)
	 Changed iocBoot sioc-b34-ts00 SYS from B34 to B034 

R1.1.1   May 19, 2021, CBM and Justin Chen (carolina and justinc)
	 Added cram 

R1.1.0   May 11th 2021, CBM and Justin Chen (carolina and justinc)
	 In order to define the BSA reservation API for SC Timing, the following files were added:
	 Added following files to tpgSupportApp/Db/:
	 Makefile   O.linuxRT-x86_64/  bsaBuffName.db          bsaBufferAll.substitutions
	 O.Common/  O.rhel6-x86_64/    bsaBuffSetDefaults.vdb  bsaBufferMaskName.db
	 Added following files to tpgSupportApp/src/:
	 bsaBuffReserve.st	bsaBuffReserve.dbd
	 Added following files to /iocBoot:
	 sioc-b34-ts00/  sioc-sys0-ts00/
	 Updated tpgSupportApp/src/Makefile to support new added files
	 Upgraded modules to most recent version that compile in configure/RELEASE
	 Update bsa index to sc bsa buffer 21 to 64 tpgSupportApp/src/bsaBuffReserve.st

R1.0.0   Feb 12, 2020    K. Kim (khkim)
         support buildroot-2019.08 and epics R7.0.3.1-1.0
         add sioc-sys0-ts02 to match naming convention

R0.0.0   Feb 28, 2019    K. Kim (khkim)
         Intial Commit
