Skip to content
Snippets Groups Projects
Commit 6a50364c authored by Juliano Murari's avatar Juliano Murari
Browse files

Add range checking after calculate AdcScale

parent 33e05208
No related branches found
No related tags found
No related merge requests found
Pipeline #114642 failed
......@@ -125,6 +125,14 @@ record(calcout, "$(P)$(R)AdcScaleCalc")
field(INPC, "$(P_BCM=$(P))$(R)CalibrationActualCurrent")
field(INPD, "$(P_BCM=$(P))$(R)CalibrationPulseCounter CPP")
field(CALC, "(163.84*C) / (B-A)")
field(FLNK, "$(P)$(R)AdcScaleCalcCheck.PROC")
}
record(calcout, "$(P)$(R)AdcScaleCalcCheck")
{
field(INPA, "$(P)$(R)AdcScaleCalc")
field(CALC, "(0 < A) AND (A < 2) ? A : 0")
field(OOPT, "When Non-zero")
field(OUT, "$(P)$(R)AdcScale PP")
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment