Files
sinqDAQ/db/sim_proton_current.db
soederqvist_a f7d4292d68
Example Action / Lint (push) Successful in 3s
Example Action / BuildAndTest (push) Failing after 10s
Software proton counter DAQ (#5)
This PR implements a software based proton counterbox implementation supporting only 1 channel, the proton current that is typically propagated over channel access.

It also changes a minor convention of how to signal low rate, but this wasn't used by the client Nicos so this shouldn't affect anything.

Reviewed-on: #5
2026-03-11 09:25:17 +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")
}