From b77cdf6cdd2f142a4e42a5e1c878a0d7a3a96b06 Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Wed, 9 Jun 2010 18:46:38 +0000 Subject: [PATCH] Disable MAXv board if WDT CTR is nonzero; don't clear CTR. If STAT=STATE, display yellow border around readbacks. --- motorApp/op/adl/motorx_more.adl | 54 ++++++++++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/motorApp/op/adl/motorx_more.adl b/motorApp/op/adl/motorx_more.adl index 0a4149d9..f9aef310 100644 --- a/motorApp/op/adl/motorx_more.adl +++ b/motorApp/op/adl/motorx_more.adl @@ -246,8 +246,10 @@ rectangle { width=2 } "dynamic attribute" { - vis="if not zero" + vis="calc" + calc="A!=0||B==7" chan="$(P)$(M).SET" + chanB="$(P)$(M).STAT" } } rectangle { @@ -787,6 +789,56 @@ composite { } } } +composite { + object { + x=305 + y=22 + width=60 + height=26 + } + "composite name"="" + vis="static" + chan="$(P)$(M).LVIO" + children { + text { + object { + x=300 + y=35 + width=60 + height=13 + } + "basic attribute" { + clr=30 + fill="outline" + } + "dynamic attribute" { + vis="calc" + calc="A==7" + chan="$(P)$(M).STAT" + } + textix="Error" + } + text { + object { + x=300 + y=22 + width=60 + height=13 + } + "basic attribute" { + clr=30 + fill="outline" + } + "dynamic attribute" { + vis="calc" + calc="A==7" + chan="$(P)$(M).STAT" + } + textix="Controller" + } + } +} + "text update" { object { x=0