Added documentation to some of the records

This commit is contained in:
2025-10-01 16:06:01 +02:00
parent aa30774b45
commit ecf823c6f6

View File

@@ -1,8 +1,18 @@
# A collection of records which can be used to integrate the proton
# signal coming from HIPA. Please see ../README.md for examples on how to use
# them.
# The individual records are described below.
#
# Macros # Macros
# P - Prefix # P - Prefix
# AI - HIPA Beam Current PV # AI - HIPA Beam Current PV
# GATE - (optional) second gating PV # GATE - (optional) second gating PV
# Switch to activate / deactivate the following records:
# - $(P)BEAMINT: Used to integrate the proton count over time
# - $(P)COUNTTIME: Used to compute the count time.
# Setting this record to 1 starts integration of the proton signal, setting it
# to zero stops it.
record(bi, "$(P)SWITCH") record(bi, "$(P)SWITCH")
{ {
field(DESC, "Gates signal intensity measurement") field(DESC, "Gates signal intensity measurement")
@@ -30,6 +40,8 @@ record(ai, "$(P)BEAMCPY")
field(SCAN, "Passive") field(SCAN, "Passive")
} }
# This record reports the time since the start of the proton count integration.
# This record is populated from $(P)COUNTTIME and only meant to be read.
record(ai, "$(P)ACCTIME") record(ai, "$(P)ACCTIME")
{ {
field(DESC, "Beam time accumulator") field(DESC, "Beam time accumulator")
@@ -51,6 +63,8 @@ record(calcout, "$(P)COUNTTIME")
field(DOPT, "Use CALC") field(DOPT, "Use CALC")
} }
# Integral proton count. This record is populated from $(P)BEAMINT and only
# meant to be read. It is reset once the preset has been reached.
record(ai, "$(P)ACCINT") record(ai, "$(P)ACCINT")
{ {
field(DESC, "Beam intensity accumulator") field(DESC, "Beam intensity accumulator")
@@ -73,6 +87,8 @@ record(calcout, "$(P)BEAMINT")
field(FLNK, "$(P)PRESET-COUNTER") field(FLNK, "$(P)PRESET-COUNTER")
} }
# Preset value for the proton count. When the integral proton count stored in
# $(P)ACCINT reaches this value, the integration is stopped.
record(ai, "$(P)PRESET") record(ai, "$(P)PRESET")
{ {
field(DESC, "max intensity count preset") field(DESC, "max intensity count preset")