Files
sinqDAQ/db/sim_proton_current.db
soederqvist_a ed1f3f8b28
Some checks failed
Example Action / Lint (push) Successful in 2s
Example Action / BuildAndTest (push) Failing after 9s
Add default behavior to mimic counterbox current to cts conversion
Document how to use proton current instead of cts.
2026-02-26 11:54:44 +01:00

14 lines
374 B
Plaintext

# This is database that provides a simulated proton current
# for testing purposes.
#
record(calc, "$(INSTR)$(NAME):SIM-PROTON-CURR") {
field(SCAN, ".1 second")
field(CALC, "1500 + 101 * SIN(A)")
field(INPA, "$(INSTR)$(NAME):PROTON-CURR-VAR PP")
}
# Incrementing value to pass to the Sinus
record(calc, "$(INSTR)$(NAME):PROTON-CURR-VAR") {
field(CALC, "VAL + 0.001")
}