From f8ac3ea17689b404aeb5acf80fff8938e5a80377 Mon Sep 17 00:00:00 2001 From: rivers Date: Mon, 22 Mar 2010 16:41:23 +0000 Subject: [PATCH] Added Scale and Offset; lots of work on recursive filter git-svn-id: https://subversion.xor.aps.anl.gov/synApps/areaDetector/trunk@10295 dc6c5ff5-0b8b-c028-a01f-ffb33f00fc8b --- ADApp/op/adl/NDProcess.adl | 2182 ++++++++++++++++++++---------------- 1 file changed, 1218 insertions(+), 964 deletions(-) diff --git a/ADApp/op/adl/NDProcess.adl b/ADApp/op/adl/NDProcess.adl index 05a210e..f4a12bd 100755 --- a/ADApp/op/adl/NDProcess.adl +++ b/ADApp/op/adl/NDProcess.adl @@ -5,10 +5,10 @@ file { } display { object { - x=116 - y=105 - width=1155 - height=500 + x=36 + y=109 + width=1150 + height=610 } clr=14 bclr=4 @@ -116,7 +116,7 @@ rectangle { x=390 y=40 width=350 - height=410 + height=520 } "basic attribute" { clr=14 @@ -128,7 +128,7 @@ rectangle { x=5 y=40 width=380 - height=455 + height=470 } "basic attribute" { clr=14 @@ -786,7 +786,7 @@ text { composite { object { x=442 - y=380 + y=490 width=280 height=45 } @@ -795,7 +795,7 @@ composite { composite { object { x=473 - y=405 + y=515 width=249 height=20 } @@ -804,7 +804,7 @@ composite { text { object { x=473 - y=405 + y=515 width=90 height=20 } @@ -817,7 +817,7 @@ composite { menu { object { x=574 - y=406 + y=516 width=80 height=18 } @@ -830,7 +830,7 @@ composite { "text update" { object { x=660 - y=406 + y=516 width=62 height=18 } @@ -848,7 +848,7 @@ composite { rectangle { object { x=442 - y=380 + y=490 width=280 height=21 } @@ -859,7 +859,7 @@ composite { text { object { x=447 - y=380 + y=490 width=270 height=20 } @@ -874,7 +874,7 @@ composite { composite { object { x=411 - y=245 + y=350 width=319 height=120 } @@ -883,7 +883,7 @@ composite { composite { object { x=411 - y=270 + y=375 width=319 height=95 } @@ -892,7 +892,7 @@ composite { text { object { x=421 - y=270 + y=375 width=150 height=20 } @@ -905,7 +905,7 @@ composite { "text update" { object { x=668 - y=271 + y=376 width=62 height=18 } @@ -922,7 +922,7 @@ composite { text { object { x=431 - y=295 + y=400 width=140 height=20 } @@ -935,7 +935,7 @@ composite { "text update" { object { x=668 - y=296 + y=401 width=62 height=18 } @@ -951,7 +951,7 @@ composite { text { object { x=411 - y=320 + y=425 width=160 height=20 } @@ -964,7 +964,7 @@ composite { "text update" { object { x=668 - y=321 + y=426 width=62 height=18 } @@ -981,7 +981,7 @@ composite { "text update" { object { x=668 - y=345 + y=450 width=62 height=18 } @@ -997,7 +997,7 @@ composite { text { object { x=421 - y=345 + y=450 width=150 height=20 } @@ -1010,7 +1010,7 @@ composite { menu { object { x=582 - y=271 + y=376 width=80 height=19 } @@ -1023,7 +1023,7 @@ composite { "text entry" { object { x=582 - y=296 + y=401 width=80 height=19 } @@ -1038,7 +1038,7 @@ composite { menu { object { x=582 - y=321 + y=426 width=80 height=19 } @@ -1051,7 +1051,7 @@ composite { "text entry" { object { x=582 - y=345 + y=450 width=80 height=19 } @@ -1068,7 +1068,7 @@ composite { rectangle { object { x=442 - y=245 + y=350 width=280 height=21 } @@ -1079,7 +1079,7 @@ composite { text { object { x=447 - y=245 + y=350 width=270 height=20 } @@ -1255,130 +1255,119 @@ composite { } } } -composite { +text { + object { + x=421 + y=70 + width=150 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Save background" + align="horiz. right" +} +"text update" { + object { + x=668 + y=71 + width=62 + height=18 + } + monitor { + chan="$(P)$(R)ValidBackground_RBV" + clr=54 + bclr=4 + } + limits { + } +} +text { object { x=401 + y=95 + width=170 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Enable background" +} +"text update" { + object { + x=668 + y=96 + width=62 + height=18 + } + monitor { + chan="$(P)$(R)EnableBackground_RBV" + clr=54 + bclr=12 + } + clrmod="alarm" + align="horiz. centered" + limits { + } +} +"message button" { + object { + x=582 + y=71 + width=80 + height=19 + } + control { + chan="$(P)$(R)SaveBackground" + clr=14 + bclr=51 + } + label="Save" + press_msg="1" +} +menu { + object { + x=582 + y=96 + width=80 + height=19 + } + control { + chan="$(P)$(R)EnableBackground" + clr=14 + bclr=51 + } +} +rectangle { + object { + x=437 y=42 - width=329 - height=73 + width=280 + height=21 } - "composite name"="" - children { - text { - object { - x=421 - y=70 - width=150 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Save background" - align="horiz. right" - } - "text update" { - object { - x=668 - y=71 - width=62 - height=18 - } - monitor { - chan="$(P)$(R)ValidBackground_RBV" - clr=54 - bclr=4 - } - limits { - } - } - text { - object { - x=401 - y=95 - width=170 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Enable background" - } - "text update" { - object { - x=668 - y=96 - width=62 - height=18 - } - monitor { - chan="$(P)$(R)EnableBackground_RBV" - clr=54 - bclr=12 - } - clrmod="alarm" - align="horiz. centered" - limits { - } - } - "message button" { - object { - x=582 - y=71 - width=80 - height=19 - } - control { - chan="$(P)$(R)SaveBackground" - clr=14 - bclr=51 - } - label="Save" - press_msg="1" - } - menu { - object { - x=582 - y=96 - width=80 - height=19 - } - control { - chan="$(P)$(R)EnableBackground" - clr=14 - bclr=51 - } - } - rectangle { - object { - x=437 - y=42 - width=280 - height=21 - } - "basic attribute" { - clr=2 - } - } - text { - object { - x=442 - y=42 - width=270 - height=20 - } - "basic attribute" { - clr=54 - } - textix="Background subtraction" - align="horiz. centered" - } + "basic attribute" { + clr=2 } } +text { + object { + x=442 + y=42 + width=270 + height=20 + } + "basic attribute" { + clr=54 + } + textix="Background subtraction" + align="horiz. centered" +} composite { object { x=390 - y=455 + y=565 width=350 height=40 } @@ -1387,7 +1376,7 @@ composite { rectangle { object { x=390 - y=455 + y=565 width=350 height=40 } @@ -1399,7 +1388,7 @@ composite { composite { object { x=505 - y=465 + y=575 width=120 height=20 } @@ -1408,7 +1397,7 @@ composite { "related display" { object { x=560 - y=465 + y=575 width=65 height=20 } @@ -1423,7 +1412,7 @@ composite { text { object { x=505 - y=465 + y=575 width=47 height=20 } @@ -1437,51 +1426,51 @@ composite { } } } -composite { +rectangle { + object { + x=792 + y=42 + width=280 + height=21 + } + "basic attribute" { + clr=2 + } +} +text { + object { + x=797 + y=42 + width=270 + height=20 + } + "basic attribute" { + clr=54 + } + textix="Recursive filter" + align="horiz. centered" +} +rectangle { object { x=745 y=40 width=400 - height=455 + height=565 + } + "basic attribute" { + clr=14 + fill="outline" + } +} +composite { + object { + x=796 + y=70 + width=289 + height=20 } "composite name"="" children { - rectangle { - object { - x=792 - y=42 - width=280 - height=21 - } - "basic attribute" { - clr=2 - } - } - text { - object { - x=797 - y=42 - width=270 - height=20 - } - "basic attribute" { - clr=54 - } - textix="Recursive filter" - align="horiz. centered" - } - rectangle { - object { - x=745 - y=40 - width=400 - height=455 - } - "basic attribute" { - clr=14 - fill="outline" - } - } "text update" { object { x=1023 @@ -1511,34 +1500,6 @@ composite { } textix="Enable filter" } - "text update" { - object { - x=1023 - y=96 - width=62 - height=18 - } - monitor { - chan="$(P)$(R)NumFilter_RBV" - clr=54 - bclr=4 - } - limits { - } - } - text { - object { - x=796 - y=120 - width=130 - height=20 - } - "basic attribute" { - clr=14 - } - textix="N filtered" - align="horiz. right" - } menu { object { x=937 @@ -1552,15 +1513,26 @@ composite { bclr=51 } } + } +} +composite { + object { + x=806 + y=95 + width=279 + height=20 + } + "composite name"="" + children { "text update" { object { - x=937 - y=121 - width=80 - height=19 + x=1023 + y=96 + width=62 + height=18 } monitor { - chan="$(P)$(R)NumFiltered_RBV" + chan="$(P)$(R)NumFilter_RBV" clr=54 bclr=4 } @@ -1595,6 +1567,56 @@ composite { textix="N filter" align="horiz. right" } + } +} +composite { + object { + x=796 + y=120 + width=221 + height=20 + } + "composite name"="" + children { + text { + object { + x=796 + y=120 + width=130 + height=20 + } + "basic attribute" { + clr=14 + } + textix="N filtered" + align="horiz. right" + } + "text update" { + object { + x=937 + y=121 + width=80 + height=19 + } + monitor { + chan="$(P)$(R)NumFiltered_RBV" + clr=54 + bclr=4 + } + limits { + } + } + } +} +composite { + object { + x=836 + y=145 + width=241 + height=20 + } + "composite name"="" + children { text { object { x=836 @@ -1612,7 +1634,7 @@ composite { object { x=937 y=146 - width=120 + width=140 height=18 } control { @@ -1621,761 +1643,993 @@ composite { bclr=51 } } - composite { - object { - x=945 - y=179 - width=187 - height=20 - } - "composite name"="" - children { - text { - object { - x=945 - y=179 - width=30 - height=20 - } - "basic attribute" { - clr=14 - } - textix="FC0" - align="horiz. right" - } - "text entry" { - object { - x=983 - y=180 - width=80 - height=19 - } - control { - chan="$(P)$(R)FC0" - clr=14 - bclr=51 - } - limits { - } - } - "text update" { - object { - x=1070 - y=180 - width=62 - height=18 - } - monitor { - chan="$(P)$(R)FC0_RBV" - clr=54 - bclr=4 - } - limits { - } - } - } - } - composite { - object { - x=752 - y=276 - width=187 - height=20 - } - "composite name"="" - children { - text { - object { - x=752 - y=276 - width=30 - height=20 - } - "basic attribute" { - clr=14 - } - textix="OC4" - align="horiz. right" - } - "text entry" { - object { - x=790 - y=277 - width=80 - height=19 - } - control { - chan="$(P)$(R)OC4" - clr=14 - bclr=51 - } - limits { - } - } - "text update" { - object { - x=877 - y=277 - width=62 - height=18 - } - monitor { - chan="$(P)$(R)OC4_RBV" - clr=54 - bclr=4 - } - limits { - } - } - } - } - composite { - object { - x=752 - y=252 - width=187 - height=20 - } - "composite name"="" - children { - text { - object { - x=752 - y=252 - width=30 - height=20 - } - "basic attribute" { - clr=14 - } - textix="OC3" - align="horiz. right" - } - "text entry" { - object { - x=790 - y=253 - width=80 - height=19 - } - control { - chan="$(P)$(R)OC3" - clr=14 - bclr=51 - } - limits { - } - } - "text update" { - object { - x=877 - y=253 - width=62 - height=18 - } - monitor { - chan="$(P)$(R)OC3_RBV" - clr=54 - bclr=4 - } - limits { - } - } - } - } - composite { - object { - x=752 - y=227 - width=187 - height=20 - } - "composite name"="" - children { - text { - object { - x=752 - y=227 - width=30 - height=20 - } - "basic attribute" { - clr=14 - } - textix="OC2" - align="horiz. right" - } - "text entry" { - object { - x=790 - y=228 - width=80 - height=19 - } - control { - chan="$(P)$(R)OC2" - clr=14 - bclr=51 - } - limits { - } - } - "text update" { - object { - x=877 - y=228 - width=62 - height=18 - } - monitor { - chan="$(P)$(R)OC2_RBV" - clr=54 - bclr=4 - } - limits { - } - } - } - } - composite { - object { - x=752 - y=203 - width=187 - height=20 - } - "composite name"="" - children { - text { - object { - x=752 - y=203 - width=30 - height=20 - } - "basic attribute" { - clr=14 - } - textix="OC1" - align="horiz. right" - } - "text entry" { - object { - x=790 - y=204 - width=80 - height=19 - } - control { - chan="$(P)$(R)OC1" - clr=14 - bclr=51 - } - limits { - } - } - "text update" { - object { - x=877 - y=204 - width=62 - height=18 - } - monitor { - chan="$(P)$(R)OC1_RBV" - clr=54 - bclr=4 - } - limits { - } - } - } - } - composite { - object { - x=945 - y=203 - width=187 - height=20 - } - "composite name"="" - children { - "text entry" { - object { - x=983 - y=204 - width=80 - height=19 - } - control { - chan="$(P)$(R)FC1" - clr=14 - bclr=51 - } - limits { - } - } - "text update" { - object { - x=1070 - y=204 - width=62 - height=18 - } - monitor { - chan="$(P)$(R)FC1_RBV" - clr=54 - bclr=4 - } - limits { - } - } - text { - object { - x=945 - y=203 - width=30 - height=20 - } - "basic attribute" { - clr=14 - } - textix="FC1" - align="horiz. right" - } - } - } - composite { - object { - x=945 - y=228 - width=187 - height=20 - } - "composite name"="" - children { - "text entry" { - object { - x=983 - y=229 - width=80 - height=19 - } - control { - chan="$(P)$(R)FC2" - clr=14 - bclr=51 - } - limits { - } - } - "text update" { - object { - x=1070 - y=229 - width=62 - height=18 - } - monitor { - chan="$(P)$(R)FC2_RBV" - clr=54 - bclr=4 - } - limits { - } - } - text { - object { - x=945 - y=228 - width=30 - height=20 - } - "basic attribute" { - clr=14 - } - textix="FC2" - align="horiz. right" - } - } - } - composite { - object { - x=945 - y=252 - width=187 - height=20 - } - "composite name"="" - children { - "text entry" { - object { - x=983 - y=253 - width=80 - height=19 - } - control { - chan="$(P)$(R)FC3" - clr=14 - bclr=51 - } - limits { - } - } - "text update" { - object { - x=1070 - y=253 - width=62 - height=18 - } - monitor { - chan="$(P)$(R)FC3_RBV" - clr=54 - bclr=4 - } - limits { - } - } - text { - object { - x=945 - y=252 - width=30 - height=20 - } - "basic attribute" { - clr=14 - } - textix="FC3" - align="horiz. right" - } - } - } - composite { - object { - x=945 - y=276 - width=187 - height=20 - } - "composite name"="" - children { - "text entry" { - object { - x=983 - y=277 - width=80 - height=19 - } - control { - chan="$(P)$(R)FC4" - clr=14 - bclr=51 - } - limits { - } - } - "text update" { - object { - x=1070 - y=277 - width=62 - height=18 - } - monitor { - chan="$(P)$(R)FC4_RBV" - clr=54 - bclr=4 - } - limits { - } - } - text { - object { - x=945 - y=276 - width=30 - height=20 - } - "basic attribute" { - clr=14 - } - textix="FC4" - align="horiz. right" - } - } - } - composite { - object { - x=752 - y=301 - width=187 - height=20 - } - "composite name"="" - children { - "text entry" { - object { - x=790 - y=302 - width=80 - height=19 - } - control { - chan="$(P)$(R)RC0" - clr=14 - bclr=51 - } - limits { - } - } - "text update" { - object { - x=877 - y=302 - width=62 - height=18 - } - monitor { - chan="$(P)$(R)RC0_RBV" - clr=54 - bclr=4 - } - limits { - } - } - text { - object { - x=752 - y=301 - width=30 - height=20 - } - "basic attribute" { - clr=14 - } - textix="RC0" - align="horiz. right" - } - } - } - composite { - object { - x=945 - y=301 - width=187 - height=20 - } - "composite name"="" - children { - "text entry" { - object { - x=983 - y=302 - width=80 - height=19 - } - control { - chan="$(P)$(R)RC1" - clr=14 - bclr=51 - } - limits { - } - } - "text update" { - object { - x=1070 - y=302 - width=62 - height=18 - } - monitor { - chan="$(P)$(R)RC1_RBV" - clr=54 - bclr=4 - } - limits { - } - } - text { - object { - x=945 - y=301 - width=30 - height=20 - } - "basic attribute" { - clr=14 - } - textix="RC1" - align="horiz. right" - } - } - } - composite { - object { - x=752 - y=179 - width=187 - height=20 - } - "composite name"="" - children { - text { - object { - x=752 - y=179 - width=30 - height=20 - } - "basic attribute" { - clr=14 - } - textix="OC0" - align="horiz. right" - } - "text entry" { - object { - x=790 - y=180 - width=80 - height=19 - } - control { - chan="$(P)$(R)OC0" - clr=14 - bclr=51 - } - limits { - } - } - "text update" { - object { - x=877 - y=180 - width=62 - height=18 - } - monitor { - chan="$(P)$(R)OC0_RBV" - clr=54 - bclr=4 - } - limits { - } - } - } - } + } +} +composite { + object { + x=776 + y=168 + width=241 + height=20 + } + "composite name"="" + children { text { object { - x=770 - y=386 - width=259 - height=14 + x=776 + y=168 + width=150 + height=20 } "basic attribute" { clr=14 } - textix="Filter is reset when disabled/enabled" + textix="Reset filter" + align="horiz. right" } - text { + "message button" { object { - x=770 - y=369 - width=245 - height=14 + x=937 + y=169 + width=80 + height=19 } - "basic attribute" { + control { + chan="$(P)$(R)ResetFilter" clr=14 + bclr=51 + } + label="Reset" + press_msg="1" + } + } +} +composite { + object { + x=421 + y=245 + width=309 + height=95 + } + "composite name"="" + children { + text { + object { + x=421 + y=270 + width=150 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Enable scale/off." + align="horiz. right" + } + "text update" { + object { + x=668 + y=271 + width=62 + height=18 + } + monitor { + chan="$(P)$(R)EnableScaleOffset_RBV" + clr=54 + bclr=12 + } + clrmod="alarm" + align="horiz. centered" + limits { + } + } + text { + object { + x=431 + y=295 + width=140 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Scale value" + align="horiz. right" + } + "text update" { + object { + x=668 + y=296 + width=62 + height=18 + } + monitor { + chan="$(P)$(R)Scale_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + menu { + object { + x=582 + y=271 + width=80 + height=19 + } + control { + chan="$(P)$(R)EnableScaleOffset" + clr=14 + bclr=51 + } + } + "text entry" { + object { + x=582 + y=296 + width=80 + height=19 + } + control { + chan="$(P)$(R)Scale" + clr=14 + bclr=51 + } + limits { + } + } + rectangle { + object { + x=442 + y=245 + width=280 + height=21 + } + "basic attribute" { + clr=2 + } + } + text { + object { + x=447 + y=245 + width=270 + height=20 + } + "basic attribute" { + clr=54 + } + textix="Scale and Offset" + align="horiz. centered" + } + text { + object { + x=421 + y=320 + width=150 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Offset value" + align="horiz. right" + } + "text entry" { + object { + x=582 + y=320 + width=80 + height=19 + } + control { + chan="$(P)$(R)Offset" + clr=14 + bclr=51 + } + limits { + } + } + "text update" { + object { + x=668 + y=320 + width=62 + height=18 + } + monitor { + chan="$(P)$(R)Offset_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + } +} +text { + object { + x=755 + y=481 + width=112 + height=14 + } + "basic attribute" { + clr=14 + } + textix="On filter reset:" +} +text { + object { + x=755 + y=424 + width=294 + height=14 + } + "basic attribute" { + clr=14 + } + textix=" (OC3+OC4/N)*I[n])" +} +text { + object { + x=755 + y=462 + width=294 + height=14 + } + "basic attribute" { + clr=14 + } + textix=" (FC3+FC4/N)*I[n])" +} +text { + object { + x=755 + y=562 + width=168 + height=14 + } + "basic attribute" { + clr=14 + } + textix="N = value of NumFiltered" +} +text { + object { + x=755 + y=543 + width=252 + height=14 + } + "basic attribute" { + clr=14 + } + textix="F = Stored filter (double precision)" +} +text { + object { + x=755 + y=524 + width=189 + height=14 + } + "basic attribute" { + clr=14 + } + textix="I = Input array in callback" +} +text { + object { + x=755 + y=581 + width=238 + height=14 + } + "basic attribute" { + clr=14 + } + textix="O = Output array passed to clients" +} +text { + object { + x=752 + y=195 + width=70 + height=20 + } + "basic attribute" { + clr=14 + } + textix="OOffset" +} +"text entry" { + object { + x=825 + y=196 + width=50 + height=19 + } + control { + chan="$(P)$(R)OOffset" + clr=14 + bclr=51 + } + limits { + } +} +"text update" { + object { + x=880 + y=196 + width=60 + height=18 + } + monitor { + chan="$(P)$(R)OOffset_RBV" + clr=54 + bclr=4 + } + limits { + } +} +text { + object { + x=792 + y=220 + width=30 + height=20 + } + "basic attribute" { + clr=14 + } + textix="OC1" + align="horiz. right" +} +"text entry" { + object { + x=825 + y=221 + width=50 + height=19 + } + control { + chan="$(P)$(R)OC1" + clr=14 + bclr=51 + } + limits { + } +} +"text update" { + object { + x=880 + y=221 + width=60 + height=18 + } + monitor { + chan="$(P)$(R)OC1_RBV" + clr=54 + bclr=4 + } + limits { + } +} +text { + object { + x=988 + y=220 + width=30 + height=20 + } + "basic attribute" { + clr=14 + } + textix="OC2" + align="horiz. right" +} +"text entry" { + object { + x=1021 + y=221 + width=50 + height=19 + } + control { + chan="$(P)$(R)OC2" + clr=14 + bclr=51 + } + limits { + } +} +"text update" { + object { + x=1076 + y=221 + width=60 + height=18 + } + monitor { + chan="$(P)$(R)OC2_RBV" + clr=54 + bclr=4 + } + limits { + } +} +text { + object { + x=792 + y=245 + width=30 + height=20 + } + "basic attribute" { + clr=14 + } + textix="OC3" + align="horiz. right" +} +"text entry" { + object { + x=825 + y=246 + width=50 + height=19 + } + control { + chan="$(P)$(R)OC3" + clr=14 + bclr=51 + } + limits { + } +} +"text update" { + object { + x=880 + y=246 + width=60 + height=18 + } + monitor { + chan="$(P)$(R)OC3_RBV" + clr=54 + bclr=4 + } + limits { + } +} +text { + object { + x=988 + y=245 + width=30 + height=20 + } + "basic attribute" { + clr=14 + } + textix="OC4" + align="horiz. right" +} +"text entry" { + object { + x=1021 + y=246 + width=50 + height=19 + } + control { + chan="$(P)$(R)OC4" + clr=14 + bclr=51 + } + limits { + } +} +"text update" { + object { + x=1076 + y=246 + width=60 + height=18 + } + monitor { + chan="$(P)$(R)OC4_RBV" + clr=54 + bclr=4 + } + limits { + } +} +text { + object { + x=752 + y=345 + width=70 + height=20 + } + "basic attribute" { + clr=14 + } + textix="ROffset" + align="horiz. right" +} +"text entry" { + object { + x=825 + y=346 + width=50 + height=19 + } + control { + chan="$(P)$(R)ROffset" + clr=14 + bclr=51 + } + limits { + } +} +"text update" { + object { + x=880 + y=346 + width=60 + height=18 + } + monitor { + chan="$(P)$(R)ROffset_RBV" + clr=54 + bclr=4 + } + limits { + } +} +text { + object { + x=752 + y=270 + width=70 + height=20 + } + "basic attribute" { + clr=14 + } + textix="FOffset" +} +"text entry" { + object { + x=825 + y=271 + width=50 + height=19 + } + control { + chan="$(P)$(R)FOffset" + clr=14 + bclr=51 + } + limits { + } +} +"text update" { + object { + x=880 + y=271 + width=60 + height=18 + } + monitor { + chan="$(P)$(R)FOffset_RBV" + clr=54 + bclr=4 + } + limits { + } +} +text { + object { + x=792 + y=295 + width=30 + height=20 + } + "basic attribute" { + clr=14 + } + textix="FC1" + align="horiz. right" +} +"text entry" { + object { + x=825 + y=296 + width=50 + height=19 + } + control { + chan="$(P)$(R)FC1" + clr=14 + bclr=51 + } + limits { + } +} +"text update" { + object { + x=880 + y=296 + width=60 + height=18 + } + monitor { + chan="$(P)$(R)FC1_RBV" + clr=54 + bclr=4 + } + limits { + } +} +text { + object { + x=988 + y=295 + width=30 + height=20 + } + "basic attribute" { + clr=14 + } + textix="FC2" + align="horiz. right" +} +"text entry" { + object { + x=1021 + y=296 + width=50 + height=19 + } + control { + chan="$(P)$(R)FC2" + clr=14 + bclr=51 + } + limits { + } +} +"text update" { + object { + x=1076 + y=296 + width=60 + height=18 + } + monitor { + chan="$(P)$(R)FC2_RBV" + clr=54 + bclr=4 + } + limits { + } +} +text { + object { + x=792 + y=320 + width=30 + height=20 + } + "basic attribute" { + clr=14 + } + textix="FC3" + align="horiz. right" +} +"text entry" { + object { + x=825 + y=321 + width=50 + height=19 + } + control { + chan="$(P)$(R)FC3" + clr=14 + bclr=51 + } + limits { + } +} +"text update" { + object { + x=880 + y=321 + width=60 + height=18 + } + monitor { + chan="$(P)$(R)FC3_RBV" + clr=54 + bclr=4 + } + limits { + } +} +text { + object { + x=988 + y=320 + width=30 + height=20 + } + "basic attribute" { + clr=14 + } + textix="FC4" + align="horiz. right" +} +"text entry" { + object { + x=1021 + y=321 + width=50 + height=19 + } + control { + chan="$(P)$(R)FC4" + clr=14 + bclr=51 + } + limits { + } +} +"text update" { + object { + x=1076 + y=321 + width=60 + height=18 + } + monitor { + chan="$(P)$(R)FC4_RBV" + clr=54 + bclr=4 + } + limits { + } +} +text { + object { + x=958 + y=195 + width=60 + height=20 + } + "basic attribute" { + clr=14 + } + textix="OScale" +} +"text entry" { + object { + x=1021 + y=196 + width=50 + height=19 + } + control { + chan="$(P)$(R)OScale" + clr=14 + bclr=51 + } + limits { + } +} +"text update" { + object { + x=1076 + y=196 + width=60 + height=18 + } + monitor { + chan="$(P)$(R)OScale_RBV" + clr=54 + bclr=4 + } + limits { + } +} +text { + object { + x=958 + y=270 + width=60 + height=20 + } + "basic attribute" { + clr=14 + } + textix="FScale" +} +"text entry" { + object { + x=1021 + y=271 + width=50 + height=19 + } + control { + chan="$(P)$(R)FScale" + clr=14 + bclr=51 + } + limits { + } +} +"text update" { + object { + x=1076 + y=271 + width=60 + height=18 + } + monitor { + chan="$(P)$(R)FScale_RBV" + clr=54 + bclr=4 + } + limits { + } +} +text { + object { + x=755 + y=443 + width=315 + height=14 + } + "basic attribute" { + clr=14 + } + textix="F[n] = FOffset + FScale*((FC1+FC2/N)*F[n-1] +" +} +text { + object { + x=755 + y=405 + width=322 + height=14 + } + "basic attribute" { + clr=14 + } + textix="O[n] = OOffset + OScale*((OC1+OC2/N)*F[n-1] + " +} +text { + object { + x=755 + y=500 + width=252 + height=14 + } + "basic attribute" { + clr=14 + } + textix="F[0] = ROffset + RC1*F[n] + RC2*I[0]" +} +composite { + object { + x=792 + y=370 + width=148 + height=20 + } + "composite name"="" + children { + text { + object { + x=792 + y=370 + width=30 + height=20 + } + "basic attribute" { + clr=14 + } + textix="RC1" + align="horiz. right" + } + "text entry" { + object { + x=825 + y=371 + width=50 + height=19 + } + control { + chan="$(P)$(R)RC1" + clr=14 + bclr=51 + } + limits { + } + } + "text update" { + object { + x=880 + y=371 + width=60 + height=18 + } + monitor { + chan="$(P)$(R)RC1_RBV" + clr=54 + bclr=4 + } + limits { + } + } + } +} +composite { + object { + x=988 + y=370 + width=148 + height=20 + } + "composite name"="" + children { + text { + object { + x=988 + y=370 + width=30 + height=20 + } + "basic attribute" { + clr=14 + } + textix="RC2" + align="horiz. right" + } + "text entry" { + object { + x=1021 + y=371 + width=50 + height=19 + } + control { + chan="$(P)$(R)RC2" + clr=14 + bclr=51 + } + limits { + } + } + "text update" { + object { + x=1076 + y=371 + width=60 + height=18 + } + monitor { + chan="$(P)$(R)RC2_RBV" + clr=54 + bclr=4 + } + limits { } - textix="On filter reset F[0] = RC0+RC1*I[0]" - } - text { - object { - x=770 - y=403 - width=210 - height=14 - } - "basic attribute" { - clr=14 - } - textix="and when NumFilter is changed." - } - text { - object { - x=770 - y=454 - width=168 - height=14 - } - "basic attribute" { - clr=14 - } - textix="N = value of NumFiltered" - } - text { - object { - x=770 - y=352 - width=336 - height=14 - } - "basic attribute" { - clr=14 - } - textix="O[n] = OC0+(OC1+OC2/N)*F[n-1] + (OC3+OC4/N)*I[n]" - } - text { - object { - x=770 - y=335 - width=336 - height=14 - } - "basic attribute" { - clr=14 - } - textix="F[n] = FC0+(FC1+FC2/N)*F[n-1] + (FC3+FC4/N)*I[n]" - } - text { - object { - x=770 - y=437 - width=252 - height=14 - } - "basic attribute" { - clr=14 - } - textix="F = Stored filter (double precision)" - } - text { - object { - x=770 - y=420 - width=189 - height=14 - } - "basic attribute" { - clr=14 - } - textix="I = Input array in callback" - } - text { - object { - x=770 - y=471 - width=238 - height=14 - } - "basic attribute" { - clr=14 - } - textix="O = Output array passed to clients" } } }