Skip to content
Snippets Groups Projects
Commit 692e27e5 authored by Gabriel Fedel's avatar Gabriel Fedel :speech_balloon: Committed by Gabriel Fedel
Browse files

sig-mon: Fix limit on MAGTHRESVAL PV

The higher limit is 1.999984741211, because the format for this data is
UQ1.15

Fixed the tests too.
parent 27805d90
No related branches found
No related tags found
No related merge requests found
...@@ -97,16 +97,16 @@ file sis8300llrf-Main-Status-CHCG.template ...@@ -97,16 +97,16 @@ file sis8300llrf-Main-Status-CHCG.template
file sis8300llrf-Main-SigMon-CH.template file sis8300llrf-Main-SigMon-CH.template
{ {
pattern{CHANNEL_ID, ASYN_ADDR, MAGTRESH_DRVL, MAGTRESH_DRVH} pattern{CHANNEL_ID, ASYN_ADDR, MAGTRESH_DRVL, MAGTRESH_DRVH}
{AI0, 0, 0.0, 0.999984741211} {AI0, 0, 0.0, 1.999984741211}
{AI1, 1, 0.0, 0.999984741211} {AI1, 1, 0.0, 1.999984741211}
{AI2, 2, 0.0, 0.999984741211} {AI2, 2, 0.0, 1.999984741211}
{AI3, 3, 0.0, 0.999984741211} {AI3, 3, 0.0, 1.999984741211}
{AI4, 4, 0.0, 0.999984741211} {AI4, 4, 0.0, 1.999984741211}
{AI5, 5, 0.0, 0.999984741211} {AI5, 5, 0.0, 1.999984741211}
{AI6, 6, 0.0, 0.999984741211} {AI6, 6, 0.0, 1.999984741211}
{AI7, 7, 0.0, 0.999984741211} {AI7, 7, 0.0, 1.999984741211}
{AI8, 8, 0.0, 0.999984741211} {AI8, 8, 0.0, 1.999984741211}
{AI9, 9, 0.0, 0.999984741211} {AI9, 9, 0.0, 1.999984741211}
} }
########### REFERENCE COMPENSATION MONITORING ########### ########### REFERENCE COMPENSATION MONITORING ###########
......
...@@ -32,7 +32,7 @@ class TestSignalMonitoring: ...@@ -32,7 +32,7 @@ class TestSignalMonitoring:
for ch in range(10): for ch in range(10):
caput(prefix + ":AI" + str(ch) + "-SMON-STARTEVNT", 0) caput(prefix + ":AI" + str(ch) + "-SMON-STARTEVNT", 0)
caput(prefix + ":AI" + str(ch) + "-SMON-STOPEVNT", 2) caput(prefix + ":AI" + str(ch) + "-SMON-STOPEVNT", 2)
caput(prefix + ":AI" + str(ch) + "-SMON-MAGTRESHVAL", 1) caput(prefix + ":AI" + str(ch) + "-SMON-MAGTRESHVAL", 2)
caput(prefix + ":AI" + str(ch) + "-SMON-ALARMCND", 1) caput(prefix + ":AI" + str(ch) + "-SMON-ALARMCND", 1)
caput(prefix + ":AI" + str(ch) + "-SMON-ILOCKEN", 1) caput(prefix + ":AI" + str(ch) + "-SMON-ILOCKEN", 1)
......
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