fix: postmortemlog ioc template
Deploy / deploy (push) Successful in 19s

This commit is contained in:
Benjamin Labrecque
2026-07-17 11:31:35 +02:00
parent 8ed97a263a
commit 9f206e4a57
@@ -1,37 +1,48 @@
# This is a template for preaparing an IOC providing BD Service specific PVs
# Access Security Groups:
# DEFAULT - logt wenn EGU oder so veraendert werden
# LOG - logt wenn neuer wert geschrieben wird
# PROTECTED - verhindert versuchte caputs auf alle fields ausser VAL
# READONLY - verhindert versuchte caputs und aktiviert caputlog
# Input links can specify CA, CP, or CPP.
# If the input link specifies CA, it will be forced to be a Channel Access link.
# If the input link specifies CP, it will also be forced to be a Channel Access link; in addition, it will cause the record containing the input link to process whenever a monitor is posted, no matter what the record's SCAN field specifies.
# If the input link specifies CPP, it means the same thing as CP, except that the record will be processed if and only if the record itself specifies passive in its SCAN field. Output links can specify CA, which will simply cause them to be Channel Access links.
#
record(ao, "$(DEVICE):AO") {
field(DESC, "Analog Output Record (ao)")
# HLA Service Control Parameters
record(bo, "$(DEVICE):TEST") {
field(DESC, "Test Trigger PM Logger")
field(ASG, "PROTECTED")
field(VAL, "0")
field(PINI, "YES")
field(HIGH, "1") # Seconds until automatic switch to 0
}
record(bo, "$(DEVICE):BO") {
field(DESC, "Binary Output Record (bo)")
# emit event 1 to trigger copying of buffer Records after beam abort
record(calcout, "$(DEVICE):BEAM-ABORT-EVT") {
field(DESC, "Trigger PM Buffer Copy")
field(ASG, "READONLY")
field(ZSV, "MINOR")
field(OSV, "NO_ALARM")
field(VAL, "1")
field(CALC, "A")
field(PINI, "YES")
field(INPA, "AGESA-SBDC-0000:INT-COUNTER CP")
field(HIGH, "1") # Seconds until automatic switch to 0
field(OOPT, "On Change")
field(OEVT, "1")
field(ODLY, "30") # Time Axis below needs to be adapted to follow this
}
# time axis for 15 minute data
record(waveform, "$(DEVICE):BUFFER-TIME") {
field(DESC, "Time axis for 15min 10Hz buffer")
field(ASG, "READONLY")
field(EGU, "s")
field(FTVL, "FLOAT")
field(DTYP, "sequence")
field(NELM, "9000")
field(LOPR, "-870")
field(HOPR, "30")
field(PINI, "YES")
}
# TODO: ok?
record(bo, "$(DEVICE):CALLBACK") {
field(DESC, "Callback PV to listen to for changes")
# Filling Pattern measured by APD X08DB-DFPM-DI:FW-SIS0DAQ-CH0-INTEGRAL-WF
record (compress, "$(DEVICE):BUFFER-FILLPATTERN-APD") {
field(DESC, "5min Buffer for post mortem plot")
field(ASG, "READONLY")
field(ZSV, "MINOR")
field(OSV, "NO_ALARM")
field(VAL, "1")
field(PINI, "YES")
}
field(SCAN, "1 second")
field(INP, "X08DB-DFPM-DI:FW-SIS0DAQ-CH0-INTEGRAL-WF")
field(ALG, "Circular Buffer")
field(NSAM, "432000") # 480 * 60 * 15
}
# Records for automatically copying HW buffer Records after beam abort
# AGESA-SBDC-0000:INT-COUNTER
# Circular Buffer Record for Live Copy of desired PVs