diff --git a/bin/linux-x86_64/eib b/bin/linux-x86_64/eib index 87ae090..1c9155a 100755 Binary files a/bin/linux-x86_64/eib and b/bin/linux-x86_64/eib differ diff --git a/db/CHANNEL.substitutions b/db/CHANNEL.substitutions index d0ecf20..2f74b8e 100644 --- a/db/CHANNEL.substitutions +++ b/db/CHANNEL.substitutions @@ -3,7 +3,7 @@ file ../../db/CHANNEL.template{ # pattern{ CH , UNIT} { 0 , deg} - { 1 , periods} - { 2 , periods} - { 3 , periods} + { 1 , deg} + { 2 , deg} + { 3 , deg} } diff --git a/db/CHANNEL.template b/db/CHANNEL.template index 4558208..30e0da9 100644 --- a/db/CHANNEL.template +++ b/db/CHANNEL.template @@ -70,6 +70,15 @@ record(longin, "EIB:CH_$(CH)_heycomp") field(INP, "@CH_$(CH)_HEYCOMP") field(PINI, "1") } +record(longin, "EIB:CH_$(CH)_eibcomp") +{ + field(DESC, "channel 0 homed") + field(SCAN, "Event") + field(EVNT, "81") + field(DTYP, "EIB li") + field(INP, "@CH_$(CH)_EIBCOMP") + field(PINI, "1") +} #............... mbbi .................. @@ -80,6 +89,16 @@ record(mbbi,"EIB:CH_$(CH)_REFACTIVES") field(ZRST, "") field(ONST, "WaitforRef") } +#............... mbbi .................. + +record(mbbi,"EIB:CH_$(CH)_eibcomps") +{ + field(DTYP, "Soft Channel") + field(INP, "EIB:CH_$(CH)_eibcomp CPP") + field(ZRST, "Off") + field(ONST, "On") + field(TWST, "unknown") +} #............... mbbo .................. record(mbbo,"EIB:CH_$(CH)_HEYCOMPS") diff --git a/eibApp/Db/CHANNEL.template b/eibApp/Db/CHANNEL.template index 4558208..30e0da9 100644 --- a/eibApp/Db/CHANNEL.template +++ b/eibApp/Db/CHANNEL.template @@ -70,6 +70,15 @@ record(longin, "EIB:CH_$(CH)_heycomp") field(INP, "@CH_$(CH)_HEYCOMP") field(PINI, "1") } +record(longin, "EIB:CH_$(CH)_eibcomp") +{ + field(DESC, "channel 0 homed") + field(SCAN, "Event") + field(EVNT, "81") + field(DTYP, "EIB li") + field(INP, "@CH_$(CH)_EIBCOMP") + field(PINI, "1") +} #............... mbbi .................. @@ -80,6 +89,16 @@ record(mbbi,"EIB:CH_$(CH)_REFACTIVES") field(ZRST, "") field(ONST, "WaitforRef") } +#............... mbbi .................. + +record(mbbi,"EIB:CH_$(CH)_eibcomps") +{ + field(DTYP, "Soft Channel") + field(INP, "EIB:CH_$(CH)_eibcomp CPP") + field(ZRST, "Off") + field(ONST, "On") + field(TWST, "unknown") +} #............... mbbo .................. record(mbbo,"EIB:CH_$(CH)_HEYCOMPS") diff --git a/eibApp/adl/EIB.adl b/eibApp/adl/EIB.adl index 5c1d99e..4d6fcec 100644 --- a/eibApp/adl/EIB.adl +++ b/eibApp/adl/EIB.adl @@ -5,10 +5,10 @@ file { } display { object { - x=1273 - y=169 + x=2710 + y=465 width=1130 - height=1000 + height=1200 } clr=14 bclr=4 @@ -87,150 +87,35 @@ display { 1a7309, } } -"message button" { +composite { object { - x=480 - y=152 - width=80 - height=20 + x=669 + y=216 + width=70 + height=15 } - control { - chan="EIB:CH_0_DOHOME" - clr=14 - bclr=4 + "composite name"="" + children { + "text update" { + object { + x=669 + y=216 + width=70 + height=15 + } + monitor { + chan="EIB:CH_2_HOMEDS" + clr=20 + bclr=4 + } + align="horiz. centered" + limits { + } + } } - label="WaitForRef" - press_msg="1" -} -"message button" { - object { - x=480 - y=192 - width=80 - height=20 - } - control { - chan="EIB:CH_1_DOHOME" - clr=14 - bclr=4 - } - label="WaitForRef" - press_msg="1" -} -"message button" { - object { - x=480 - y=232 - width=80 - height=20 - } - control { - chan="EIB:CH_2_DOHOME" - clr=14 - bclr=4 - } - label="WaitForRef" - press_msg="1" -} -"message button" { - object { - x=480 - y=272 - width=80 - height=20 - } - control { - chan="EIB:CH_3_DOHOME" - clr=14 - bclr=4 - } - label="WaitForRef" - press_msg="1" -} -text { - object { - x=350 - y=120 - width=120 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Homed" - align="horiz. centered" -} -text { - object { - x=475 - y=120 - width=90 - height=20 - } - "basic attribute" { - clr=14 - } - textix="RefSearch" - align="horiz. centered" -} -"text update" { - object { - x=480 - y=142 - width=80 - height=10 - } - monitor { - chan="EIB:CH_0_REFACTIVES" - clr=20 - bclr=4 - } - limits { - } -} -"text update" { - object { - x=480 - y=182 - width=80 - height=10 - } - monitor { - chan="EIB:CH_1_REFACTIVES" - clr=20 - bclr=4 - } - limits { - } -} -"text update" { - object { - x=480 - y=222 - width=80 - height=10 - } - monitor { - chan="EIB:CH_2_REFACTIVES" - clr=20 - bclr=4 - } - limits { - } -} -"text update" { - object { - x=480 - y=261 - width=80 - height=10 - } - monitor { - chan="EIB:CH_3_REFACTIVES" - clr=20 - bclr=4 - } - limits { + "dynamic attribute" { + vis="if zero" + chan="EIB:CH_2_HOMED" } } text { @@ -245,513 +130,6 @@ text { } textix="EIB741" } -text { - object { - x=795 - y=120 - width=60 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Lines" - align="horiz. centered" -} -text { - object { - x=725 - y=120 - width=45 - height=20 - } - "basic attribute" { - clr=14 - } - textix="rmrks" - align="horiz. centered" -} -"text update" { - object { - x=795 - y=155 - width=60 - height=20 - } - monitor { - chan="EIB:CH_0_lines" - clr=14 - bclr=4 - } - align="horiz. centered" - limits { - } -} -"text update" { - object { - x=795 - y=235 - width=60 - height=20 - } - monitor { - chan="EIB:CH_2_lines" - clr=14 - bclr=4 - } - align="horiz. centered" - limits { - } -} -"text update" { - object { - x=795 - y=275 - width=60 - height=20 - } - monitor { - chan="EIB:CH_3_lines" - clr=14 - bclr=4 - } - align="horiz. centered" - limits { - } -} -"text update" { - object { - x=795 - y=195 - width=60 - height=20 - } - monitor { - chan="EIB:CH_1_lines" - clr=14 - bclr=4 - } - align="horiz. centered" - limits { - } -} -"text update" { - object { - x=735 - y=155 - width=20 - height=20 - } - monitor { - chan="EIB:CH_0_refmarks" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=735 - y=235 - width=20 - height=20 - } - monitor { - chan="EIB:CH_2_refmarks" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=735 - y=195 - width=20 - height=20 - } - monitor { - chan="EIB:CH_1_refmarks" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=735 - y=275 - width=20 - height=20 - } - monitor { - chan="EIB:CH_3_refmarks" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -text { - object { - x=625 - y=120 - width=90 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Status" - align="horiz. centered" -} -byte { - object { - x=620 - y=160 - width=100 - height=7 - } - monitor { - chan="EIB:CH_0_STATUS" - clr=9 - bclr=4 - } - clrmod="discrete" -} -byte { - object { - x=620 - y=200 - width=100 - height=7 - } - monitor { - chan="EIB:CH_1_STATUS" - clr=10 - bclr=4 - } - clrmod="discrete" -} -byte { - object { - x=620 - y=240 - width=100 - height=7 - } - monitor { - chan="EIB:CH_2_STATUS" - clr=10 - bclr=4 - } - clrmod="discrete" -} -byte { - object { - x=620 - y=280 - width=100 - height=7 - } - monitor { - chan="EIB:CH_3_STATUS" - clr=10 - bclr=4 - } - clrmod="discrete" -} -"message button" { - object { - x=560 - y=152 - width=50 - height=20 - } - control { - chan="EIB:CH_0_STOPREF" - clr=14 - bclr=4 - } - label="Abort" - press_msg="1" -} -"message button" { - object { - x=560 - y=192 - width=50 - height=20 - } - control { - chan="EIB:CH_1_STOPREF" - clr=14 - bclr=4 - } - label="Abort" - press_msg="1" -} -"message button" { - object { - x=560 - y=232 - width=50 - height=20 - } - control { - chan="EIB:CH_2_STOPREF" - clr=14 - bclr=4 - } - label="Abort" - press_msg="1" -} -"message button" { - object { - x=560 - y=272 - width=50 - height=20 - } - control { - chan="EIB:CH_3_STOPREF" - clr=14 - bclr=4 - } - label="Abort" - press_msg="1" -} -composite { - object { - x=645 - y=155 - width=49 - height=20 - } - "composite name"="" - children { - polyline { - object { - x=694 - y=155 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (694,155) - (694,175) - } - } - polyline { - object { - x=670 - y=155 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (670,155) - (670,175) - } - } - polyline { - object { - x=645 - y=155 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (645,155) - (645,175) - } - } - } -} -composite { - object { - x=645 - y=195 - width=49 - height=20 - } - "composite name"="" - children { - polyline { - object { - x=694 - y=195 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (694,195) - (694,215) - } - } - polyline { - object { - x=670 - y=195 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (670,195) - (670,215) - } - } - polyline { - object { - x=645 - y=195 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (645,195) - (645,215) - } - } - } -} -composite { - object { - x=645 - y=235 - width=49 - height=20 - } - "composite name"="" - children { - polyline { - object { - x=694 - y=235 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (694,235) - (694,255) - } - } - polyline { - object { - x=670 - y=235 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (670,235) - (670,255) - } - } - polyline { - object { - x=645 - y=235 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (645,235) - (645,255) - } - } - } -} -composite { - object { - x=645 - y=275 - width=49 - height=20 - } - "composite name"="" - children { - polyline { - object { - x=694 - y=275 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (694,275) - (694,295) - } - } - polyline { - object { - x=670 - y=275 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (670,275) - (670,295) - } - } - polyline { - object { - x=645 - y=275 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (645,275) - (645,295) - } - } - } -} "related display" { object { x=870 @@ -768,690 +146,6 @@ composite { bclr=4 label="-STATUS" } -"cartesian plot" { - object { - x=10 - y=340 - width=270 - height=251 - } - plotcom { - xlabel="Analog 0" - ylabel="Analog 90" - clr=14 - bclr=4 - } - trace[0] { - xdata="EIB:CH_0_ADC00" - ydata="EIB:CH_0_ADC90" - data_clr=30 - yaxis=0 - yside=0 - } - x_axis { - rangeStyle="user-specified" - maxRange=4000.000000 - } - y1_axis { - rangeStyle="user-specified" - maxRange=4000.000000 - } -} -"message button" { - object { - x=190 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_0_ADDPOINTS" - clr=14 - bclr=5 - } - label="Clear" - press_msg="2" -} -"message button" { - object { - x=100 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_0_ADDPOINTS" - clr=14 - bclr=5 - } - label="StopRec" - press_msg="0" -} -"message button" { - object { - x=10 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_0_ADDPOINTS" - clr=14 - bclr=5 - } - label="StartRec" - press_msg="1" -} -text { - object { - x=15 - y=320 - width=100 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Channel 0" -} -menu { - object { - x=80 - y=190 - width=90 - height=25 - } - control { - chan="EIB:CH_1_VALUE.SCAN" - clr=14 - bclr=4 - } -} -"text update" { - object { - x=180 - y=190 - width=120 - height=25 - } - monitor { - chan="EIB:CH_1_VALUE" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=310 - y=200 - width=60 - height=15 - } - monitor { - chan="EIB:CH_1_VALUE.EGU" - clr=14 - bclr=4 - } - limits { - } -} -menu { - object { - x=80 - y=150 - width=90 - height=25 - } - control { - chan="EIB:CH_0_VALUE.SCAN" - clr=14 - bclr=4 - } -} -"text update" { - object { - x=180 - y=150 - width=120 - height=25 - } - monitor { - chan="EIB:CH_0_VALUE" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=310 - y=160 - width=60 - height=15 - } - monitor { - chan="EIB:CH_0_VALUE.EGU" - clr=14 - bclr=4 - } - limits { - } -} -menu { - object { - x=80 - y=270 - width=90 - height=25 - } - control { - chan="EIB:CH_3_VALUE.SCAN" - clr=14 - bclr=4 - } -} -"text update" { - object { - x=180 - y=270 - width=120 - height=25 - } - monitor { - chan="EIB:CH_3_VALUE" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=310 - y=280 - width=60 - height=15 - } - monitor { - chan="EIB:CH_3_VALUE.EGU" - clr=14 - bclr=4 - } - limits { - } -} -menu { - object { - x=80 - y=230 - width=90 - height=25 - } - control { - chan="EIB:CH_2_VALUE.SCAN" - clr=14 - bclr=4 - } -} -"text update" { - object { - x=180 - y=230 - width=120 - height=25 - } - monitor { - chan="EIB:CH_2_VALUE" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=310 - y=240 - width=60 - height=15 - } - monitor { - chan="EIB:CH_2_VALUE.EGU" - clr=14 - bclr=4 - } - limits { - } -} -text { - object { - x=80 - y=120 - width=90 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Scan" - align="horiz. centered" -} -text { - object { - x=180 - y=120 - width=120 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Value" - align="horiz. centered" -} -text { - object { - x=310 - y=120 - width=60 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Unit" - align="horiz. centered" -} -"text update" { - object { - x=10 - y=160 - width=60 - height=15 - } - monitor { - chan="EIB:CH_0_NAME" - clr=14 - bclr=4 - } - limits { - } -} -"text update" { - object { - x=10 - y=200 - width=60 - height=15 - } - monitor { - chan="EIB:CH_1_NAME" - clr=14 - bclr=4 - } - limits { - } -} -"text update" { - object { - x=10 - y=240 - width=60 - height=15 - } - monitor { - chan="EIB:CH_2_NAME" - clr=14 - bclr=4 - } - limits { - } -} -"text update" { - object { - x=10 - y=280 - width=60 - height=15 - } - monitor { - chan="EIB:CH_3_NAME" - clr=14 - bclr=4 - } - limits { - } -} -"cartesian plot" { - object { - x=290 - y=340 - width=270 - height=251 - } - plotcom { - xlabel="Analog 0" - ylabel="Analog 90" - clr=14 - bclr=4 - } - trace[0] { - xdata="EIB:CH_1_ADC00" - ydata="EIB:CH_1_ADC90" - data_clr=30 - yaxis=0 - yside=0 - } - x_axis { - rangeStyle="user-specified" - maxRange=4000.000000 - } - y1_axis { - rangeStyle="user-specified" - maxRange=4000.000000 - } -} -"message button" { - object { - x=470 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_1_ADDPOINTS" - clr=14 - bclr=5 - } - label="Clear" - press_msg="2" -} -"message button" { - object { - x=380 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_1_ADDPOINTS" - clr=14 - bclr=5 - } - label="StopRec" - press_msg="0" -} -"message button" { - object { - x=290 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_1_ADDPOINTS" - clr=14 - bclr=5 - } - label="StartRec" - press_msg="1" -} -text { - object { - x=295 - y=320 - width=90 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Channel 1" -} -"cartesian plot" { - object { - x=570 - y=340 - width=270 - height=251 - } - plotcom { - xlabel="Analog 0" - ylabel="Analog 90" - clr=14 - bclr=4 - } - trace[0] { - xdata="EIB:CH_2_ADC00" - ydata="EIB:CH_2_ADC90" - data_clr=30 - yaxis=0 - yside=0 - } - x_axis { - rangeStyle="user-specified" - maxRange=4000.000000 - } - y1_axis { - rangeStyle="user-specified" - maxRange=4000.000000 - } -} -"message button" { - object { - x=750 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_2_ADDPOINTS" - clr=14 - bclr=5 - } - label="Clear" - press_msg="2" -} -"message button" { - object { - x=660 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_2_ADDPOINTS" - clr=14 - bclr=5 - } - label="StopRec" - press_msg="0" -} -"message button" { - object { - x=570 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_2_ADDPOINTS" - clr=14 - bclr=5 - } - label="StartRec" - press_msg="1" -} -text { - object { - x=575 - y=320 - width=90 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Channel 2" -} -"cartesian plot" { - object { - x=850 - y=340 - width=270 - height=251 - } - plotcom { - xlabel="Analog 0" - ylabel="Analog 90" - clr=14 - bclr=4 - } - trace[0] { - xdata="EIB:CH_3_ADC00" - ydata="EIB:CH_3_ADC90" - data_clr=30 - yaxis=0 - yside=0 - } - x_axis { - rangeStyle="user-specified" - maxRange=4000.000000 - } - y1_axis { - rangeStyle="user-specified" - maxRange=4000.000000 - } -} -"message button" { - object { - x=1030 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_3_ADDPOINTS" - clr=14 - bclr=5 - } - label="Clear" - press_msg="2" -} -"message button" { - object { - x=940 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_3_ADDPOINTS" - clr=14 - bclr=5 - } - label="StopRec" - press_msg="0" -} -"message button" { - object { - x=850 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_3_ADDPOINTS" - clr=14 - bclr=5 - } - label="StartRec" - press_msg="1" -} -text { - object { - x=855 - y=320 - width=90 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Channel 3" - align="horiz. centered" -} -"text update" { - object { - x=155 - y=325 - width=120 - height=15 - } - monitor { - chan="EIB:CH_0_NAME" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=435 - y=325 - width=120 - height=15 - } - monitor { - chan="EIB:CH_1_NAME" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=715 - y=325 - width=120 - height=15 - } - monitor { - chan="EIB:CH_2_NAME" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=995 - y=325 - width=120 - height=15 - } - monitor { - chan="EIB:CH_3_NAME" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} composite { object { x=810 @@ -1562,8 +256,8 @@ composite { } composite { object { - x=380 - y=160 + x=390 + y=215 width=70 height=15 } @@ -1571,72 +265,8 @@ composite { children { "text update" { object { - x=380 - y=160 - width=70 - height=15 - } - monitor { - chan="EIB:CH_0_HOMEDS" - clr=14 - bclr=4 - } - align="horiz. centered" - limits { - } - } - } - "dynamic attribute" { - vis="calc" - calc="A=1" - chan="EIB:CH_0_HOMED" - } -} -composite { - object { - x=380 - y=160 - width=70 - height=15 - } - "composite name"="" - children { - "text update" { - object { - x=380 - y=160 - width=70 - height=15 - } - monitor { - chan="EIB:CH_0_HOMEDS" - clr=20 - bclr=4 - } - align="horiz. centered" - limits { - } - } - } - "dynamic attribute" { - vis="calc" - calc="A=0" - chan="EIB:CH_0_HOMED" - } -} -composite { - object { - x=380 - y=200 - width=70 - height=15 - } - "composite name"="" - children { - "text update" { - object { - x=380 - y=200 + x=390 + y=215 width=70 height=15 } @@ -1658,8 +288,8 @@ composite { } "text update" { object { - x=380 - y=200 + x=390 + y=215 width=70 height=15 } @@ -1674,450 +304,1183 @@ composite { } composite { object { - x=380 - y=240 - width=70 - height=15 - } - "composite name"="" - children { - "text update" { - object { - x=380 - y=240 - width=70 - height=15 - } - monitor { - chan="EIB:CH_2_HOMEDS" - clr=14 - bclr=4 - } - align="horiz. centered" - limits { - } - } - } - "dynamic attribute" { - vis="if not zero" - chan="EIB:CH_2_HOMED" - } -} -composite { - object { - x=380 - y=240 - width=70 - height=15 - } - "composite name"="" - children { - "text update" { - object { - x=380 - y=240 - width=70 - height=15 - } - monitor { - chan="EIB:CH_2_HOMEDS" - clr=20 - bclr=4 - } - align="horiz. centered" - limits { - } - } - } - "dynamic attribute" { - vis="if zero" - chan="EIB:CH_2_HOMED" - } -} -composite { - object { - x=380 - y=280 - width=70 - height=15 - } - "composite name"="" - children { - "text update" { - object { - x=380 - y=280 - width=70 - height=15 - } - monitor { - chan="EIB:CH_3_HOMEDS" - clr=14 - bclr=4 - } - align="horiz. centered" - limits { - } - } - } - "dynamic attribute" { - vis="if not zero" - chan="EIB:CH_3_HOMED" - } -} -composite { - object { - x=380 - y=280 - width=70 - height=15 - } - "composite name"="" - children { - "text update" { - object { - x=380 - y=280 - width=70 - height=15 - } - monitor { - chan="EIB:CH_3_HOMEDS" - clr=20 - bclr=4 - } - align="horiz. centered" - limits { - } - } - } - "dynamic attribute" { - vis="if zero" - chan="EIB:CH_3_HOMED" - } -} -composite { - object { - x=120 - y=616 - width=160 - height=25 - } - "composite name"="" - children { - menu { - object { - x=190 - y=616 - width=90 - height=25 - } - control { - chan="EIB:CH_0_ADC00.SCAN" - clr=14 - bclr=4 - } - } - text { - object { - x=120 - y=620 - width=60 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Update" - align="horiz. centered" - } - } -} -menu { - object { - x=470 - y=616 - width=90 - height=25 - } - control { - chan="EIB:CH_1_ADC00.SCAN" - clr=14 - bclr=4 - } -} -text { - object { - x=400 - y=620 - width=60 + x=375 + y=234 + width=100 height=20 } - "basic attribute" { - clr=14 - } - textix="Update" - align="horiz. centered" -} -menu { - object { - x=750 - y=616 - width=90 - height=25 - } - control { - chan="EIB:CH_2_ADC00.SCAN" - clr=14 - bclr=4 - } -} -text { - object { - x=680 - y=620 - width=60 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Update" - align="horiz. centered" -} -menu { - object { - x=1030 - y=616 - width=90 - height=25 - } - control { - chan="EIB:CH_3_ADC00.SCAN" - clr=14 - bclr=4 - } -} -text { - object { - x=960 - y=620 - width=60 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Update" - align="horiz. centered" -} -composite { - object { - x=0 - y=860 - width=1128 - height=134 - } "composite name"="" children { - text { - object { - x=210 - y=949 - width=90 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Connect" - } - "text update" { - object { - x=291 - y=949 - width=10 - height=20 - } - monitor { - chan="EIB:connect" - clr=14 - bclr=4 - } - limits { - } - } - "text update" { - object { - x=210 - y=974 - width=100 - height=20 - } - monitor { - chan="EIB:connectS" - clr=14 - bclr=4 - } - limits { - } - } composite { object { - x=10 - y=949 - width=80 - height=45 + x=400 + y=234 + width=49 + height=20 } "composite name"="" children { - "text update" { + polyline { object { - x=67 - y=949 - width=10 - height=20 - } - monitor { - chan="EIB:cdbg" - clr=14 - bclr=4 - } - limits { - } - } - text { - object { - x=10 - y=949 - width=50 + x=449 + y=234 + width=0 height=20 } "basic attribute" { clr=14 } - textix="cdbg" - align="horiz. centered" + points { + (449,234) + (449,254) + } } - "choice button" { + polyline { object { - x=10 - y=974 - width=80 + x=425 + y=234 + width=0 height=20 } - control { - chan="EIB:CDBG" + "basic attribute" { + clr=14 + } + points { + (425,234) + (425,254) + } + } + polyline { + object { + x=400 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (400,234) + (400,254) + } + } + } + } + byte { + object { + x=375 + y=239 + width=100 + height=7 + } + monitor { + chan="EIB:CH_1_STATUS" + clr=10 + bclr=4 + } + clrmod="discrete" + } + } +} +"message button" { + object { + x=10 + y=791 + width=90 + height=25 + } + control { + chan="EIB:CH_0_ADDPOINTS" + clr=14 + bclr=5 + } + label="StartRec" + press_msg="1" +} +text { + object { + x=210 + y=1149 + width=90 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Connect" +} +"text update" { + object { + x=291 + y=1149 + width=10 + height=20 + } + monitor { + chan="EIB:connect" + clr=14 + bclr=4 + } + limits { + } +} +"text update" { + object { + x=210 + y=1174 + width=100 + height=20 + } + monitor { + chan="EIB:connectS" + clr=14 + bclr=4 + } + limits { + } +} +composite { + object { + x=10 + y=1149 + width=80 + height=45 + } + "composite name"="" + children { + "text update" { + object { + x=67 + y=1149 + width=10 + height=20 + } + monitor { + chan="EIB:cdbg" + clr=14 + bclr=4 + } + limits { + } + } + text { + object { + x=10 + y=1149 + width=50 + height=20 + } + "basic attribute" { + clr=14 + } + textix="cdbg" + align="horiz. centered" + } + "choice button" { + object { + x=10 + y=1174 + width=80 + height=20 + } + control { + chan="EIB:CDBG" + clr=14 + bclr=4 + } + stacking="column" + } + } +} +text { + object { + x=110 + y=1149 + width=50 + height=20 + } + "basic attribute" { + clr=14 + } + textix="rdbg" + align="horiz. centered" +} +"text update" { + object { + x=167 + y=1149 + width=10 + height=20 + } + monitor { + chan="EIB:rdbg" + clr=14 + bclr=4 + } + limits { + } +} +"choice button" { + object { + x=110 + y=1174 + width=80 + height=20 + } + control { + chan="EIB:RDBG" + clr=14 + bclr=4 + } + stacking="column" +} +text { + object { + x=325 + y=1149 + width=50 + height=20 + } + "basic attribute" { + clr=14 + } + textix="verbose" + align="horiz. centered" +} +"text update" { + object { + x=387 + y=1149 + width=10 + height=20 + } + monitor { + chan="EIB:verbose" + clr=14 + bclr=4 + } + limits { + } +} +"choice button" { + object { + x=325 + y=1174 + width=80 + height=20 + } + control { + chan="EIB:VERBOSE" + clr=14 + bclr=4 + } + stacking="column" +} +"message button" { + object { + x=10 + y=1060 + width=100 + height=25 + } + control { + chan="EIB:CLEARERROR" + clr=14 + bclr=5 + } + label="ClearMsg" + press_msg="1" +} +composite { + object { + x=120 + y=1061 + width=450 + height=55 + } + "composite name"="" + children { + "text update" { + object { + x=120 + y=1101 + width=450 + height=15 + } + monitor { + chan="EIB:errortext2" + clr=20 + bclr=4 + } + limits { + } + } + "text update" { + object { + x=120 + y=1061 + width=450 + height=15 + } + monitor { + chan="EIB:errortext0" + clr=20 + bclr=4 + } + limits { + } + } + "text update" { + object { + x=120 + y=1081 + width=450 + height=15 + } + monitor { + chan="EIB:errortext1" + clr=20 + bclr=4 + } + limits { + } + } + } +} +polyline { + object { + x=0 + y=1139 + width=1128 + height=2 + } + "basic attribute" { + clr=14 + width=2 + } + points { + (1,1140) + (1127,1140) + } +} +"text update" { + object { + x=355 + y=175 + width=140 + height=30 + } + monitor { + chan="EIB:CH_1_VALUE" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=75 + y=175 + width=140 + height=30 + } + monitor { + chan="EIB:CH_0_VALUE" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +composite { + object { + x=109 + y=214 + width=72 + height=16 + } + "composite name"="" + children { + composite { + object { + x=111 + y=215 + width=70 + height=15 + } + "composite name"="" + children { + "text update" { + object { + x=111 + y=215 + width=70 + height=15 + } + monitor { + chan="EIB:CH_0_HOMEDS" clr=14 bclr=4 } - stacking="column" + align="horiz. centered" + limits { + } + } + } + "dynamic attribute" { + vis="calc" + calc="A=1" + chan="EIB:CH_0_HOMED" + } + } + composite { + object { + x=109 + y=214 + width=70 + height=15 + } + "composite name"="" + children { + "text update" { + object { + x=109 + y=214 + width=70 + height=15 + } + monitor { + chan="EIB:CH_0_HOMEDS" + clr=20 + bclr=4 + } + align="horiz. centered" + limits { + } + } + } + "dynamic attribute" { + vis="calc" + calc="A=0" + chan="EIB:CH_0_HOMED" + } + } + } +} +composite { + object { + x=95 + y=234 + width=100 + height=20 + } + "composite name"="" + children { + byte { + object { + x=95 + y=239 + width=100 + height=7 + } + monitor { + chan="EIB:CH_0_STATUS" + clr=9 + bclr=4 + } + clrmod="discrete" + } + composite { + object { + x=120 + y=234 + width=49 + height=20 + } + "composite name"="" + children { + polyline { + object { + x=169 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (169,234) + (169,254) + } + } + polyline { + object { + x=145 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (145,234) + (145,254) + } + } + polyline { + object { + x=120 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (120,234) + (120,254) + } } } } - text { + } +} +composite { + object { + x=655 + y=234 + width=100 + height=20 + } + "composite name"="" + children { + byte { object { - x=110 - y=949 - width=50 - height=20 - } - "basic attribute" { - clr=14 - } - textix="rdbg" - align="horiz. centered" - } - "text update" { - object { - x=167 - y=949 - width=10 - height=20 - } - monitor { - chan="EIB:rdbg" - clr=14 - bclr=4 - } - limits { - } - } - "choice button" { - object { - x=110 - y=974 - width=80 - height=20 - } - control { - chan="EIB:RDBG" - clr=14 - bclr=4 - } - stacking="column" - } - text { - object { - x=325 - y=949 - width=50 - height=20 - } - "basic attribute" { - clr=14 - } - textix="verbose" - align="horiz. centered" - } - "text update" { - object { - x=387 - y=949 - width=10 - height=20 - } - monitor { - chan="EIB:verbose" - clr=14 - bclr=4 - } - limits { - } - } - "choice button" { - object { - x=325 - y=974 - width=80 - height=20 - } - control { - chan="EIB:VERBOSE" - clr=14 - bclr=4 - } - stacking="column" - } - "message button" { - object { - x=10 - y=860 + x=655 + y=239 width=100 + height=7 + } + monitor { + chan="EIB:CH_2_STATUS" + clr=10 + bclr=4 + } + clrmod="discrete" + } + composite { + object { + x=680 + y=234 + width=49 + height=20 + } + "composite name"="" + children { + polyline { + object { + x=729 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (729,234) + (729,254) + } + } + polyline { + object { + x=705 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (705,234) + (705,254) + } + } + polyline { + object { + x=680 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (680,234) + (680,254) + } + } + } + } + } +} +"text update" { + object { + x=635 + y=175 + width=140 + height=30 + } + monitor { + chan="EIB:CH_2_VALUE" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +composite { + object { + x=950 + y=215 + width=70 + height=16 + } + "composite name"="" + children { + composite { + object { + x=950 + y=216 + width=70 + height=15 + } + "composite name"="" + children { + "text update" { + object { + x=950 + y=216 + width=70 + height=15 + } + monitor { + chan="EIB:CH_3_HOMEDS" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } + } + } + "dynamic attribute" { + vis="if not zero" + chan="EIB:CH_3_HOMED" + } + } + composite { + object { + x=950 + y=215 + width=70 + height=15 + } + "composite name"="" + children { + "text update" { + object { + x=950 + y=215 + width=70 + height=15 + } + monitor { + chan="EIB:CH_3_HOMEDS" + clr=20 + bclr=4 + } + align="horiz. centered" + limits { + } + } + } + "dynamic attribute" { + vis="if zero" + chan="EIB:CH_3_HOMED" + } + } + } +} +composite { + object { + x=935 + y=234 + width=100 + height=20 + } + "composite name"="" + children { + composite { + object { + x=960 + y=234 + width=49 + height=20 + } + "composite name"="" + children { + polyline { + object { + x=1009 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (1009,234) + (1009,254) + } + } + polyline { + object { + x=985 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (985,234) + (985,254) + } + } + polyline { + object { + x=960 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (960,234) + (960,254) + } + } + } + } + byte { + object { + x=935 + y=239 + width=100 + height=7 + } + monitor { + chan="EIB:CH_3_STATUS" + clr=10 + bclr=4 + } + clrmod="discrete" + } + } +} +"text update" { + object { + x=915 + y=175 + width=140 + height=30 + } + monitor { + chan="EIB:CH_3_VALUE" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +composite { + object { + x=110 + y=265 + width=910 + height=20 + } + "composite name"="" + children { + "related display" { + object { + x=110 + y=265 + width=70 + height=20 + } + display[0] { + label="STATUS" + name="STATUS.adl" + args="CH=0" + } + clr=14 + bclr=4 + label="-STATUS" + } + "related display" { + object { + x=390 + y=265 + width=70 + height=20 + } + display[0] { + label="STATUS" + name="STATUS.adl" + args="CH=1" + } + clr=14 + bclr=4 + label="-STATUS" + } + "related display" { + object { + x=670 + y=265 + width=70 + height=20 + } + display[0] { + label="STATUS" + name="STATUS.adl" + args="CH=2" + } + clr=14 + bclr=4 + label="-STATUS" + } + "related display" { + object { + x=950 + y=265 + width=70 + height=20 + } + display[0] { + label="STATUS" + name="STATUS.adl" + args="CH=3" + } + clr=14 + bclr=4 + label="-STATUS" + } + } +} +text { + object { + x=95 + y=95 + width=100 + height=20 + } + "basic attribute" { + clr=20 + } + "dynamic attribute" { + vis="calc" + calc="(A >>1)&0x1" + chan="EIB:CH_0_STATUS" + } + textix="No signal" + align="horiz. centered" +} +text { + object { + x=375 + y=95 + width=100 + height=20 + } + "basic attribute" { + clr=20 + } + "dynamic attribute" { + vis="calc" + calc="(A >>1)&0x1" + chan="EIB:CH_1_STATUS" + } + textix="No signal" + align="horiz. centered" +} +text { + object { + x=655 + y=95 + width=101 + height=20 + } + "basic attribute" { + clr=20 + } + "dynamic attribute" { + vis="calc" + calc="(A >>1)&0x1" + chan="EIB:CH_2_STATUS" + } + textix="No signal" + align="horiz. centered" +} +text { + object { + x=935 + y=95 + width=101 + height=20 + } + "basic attribute" { + clr=20 + } + "dynamic attribute" { + vis="calc" + calc="(A >>1)&0x1" + chan="EIB:CH_3_STATUS" + } + textix="No signal" + align="horiz. centered" +} +composite { + object { + x=85 + y=150 + width=960 + height=15 + } + "composite name"="" + children { + "text update" { + object { + x=85 + y=150 + width=120 + height=15 + } + monitor { + chan="EIB:CH_0_VALUE.EGU" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=365 + y=150 + width=120 + height=15 + } + monitor { + chan="EIB:CH_1_VALUE.EGU" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=645 + y=150 + width=120 + height=15 + } + monitor { + chan="EIB:CH_2_VALUE.EGU" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=925 + y=150 + width=120 + height=15 + } + monitor { + chan="EIB:CH_3_VALUE.EGU" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } + } + } +} +composite { + object { + x=100 + y=308 + width=930 + height=27 + } + "composite name"="" + children { + menu { + object { + x=380 + y=309 + width=90 height=25 } control { - chan="EIB:CLEARERROR" + chan="EIB:CH_1_VALUE.SCAN" clr=14 - bclr=5 + bclr=4 } - label="ClearMsg" - press_msg="1" } + menu { + object { + x=100 + y=308 + width=90 + height=25 + } + control { + chan="EIB:CH_0_VALUE.SCAN" + clr=14 + bclr=4 + } + } + menu { + object { + x=940 + y=309 + width=90 + height=25 + } + control { + chan="EIB:CH_3_VALUE.SCAN" + clr=14 + bclr=4 + } + } + menu { + object { + x=660 + y=310 + width=90 + height=25 + } + control { + chan="EIB:CH_2_VALUE.SCAN" + clr=14 + bclr=4 + } + } + } +} +"text update" { + object { + x=915 + y=120 + width=140 + height=30 + } + monitor { + chan="EIB:CH_3_NAME" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=635 + y=120 + width=140 + height=30 + } + monitor { + chan="EIB:CH_2_NAME" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=355 + y=120 + width=140 + height=30 + } + monitor { + chan="EIB:CH_1_NAME" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=75 + y=120 + width=140 + height=30 + } + monitor { + chan="EIB:CH_0_NAME" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +composite { + object { + x=1010 + y=1145 + width=111 + height=55 + } + "composite name"="" + children { "shell command" { object { x=1010 - y=910 + y=1175 width=110 height=25 } @@ -2133,7 +1496,7 @@ composite { "message button" { object { x=1011 - y=880 + y=1145 width=110 height=25 } @@ -2145,84 +1508,279 @@ composite { label="StopSoftIOC" press_msg="99" } - composite { - object { - x=120 - y=861 - width=450 - height=55 - } - "composite name"="" - children { - "text update" { - object { - x=120 - y=901 - width=450 - height=15 - } - monitor { - chan="EIB:errortext2" - clr=20 - bclr=4 - } - limits { - } - } - "text update" { - object { - x=120 - y=861 - width=450 - height=15 - } - monitor { - chan="EIB:errortext0" - clr=20 - bclr=4 - } - limits { - } - } - "text update" { - object { - x=120 - y=881 - width=450 - height=15 - } - monitor { - chan="EIB:errortext1" - clr=20 - bclr=4 - } - limits { - } - } - } - } - polyline { - object { - x=0 - y=939 - width=1128 - height=2 - } - "basic attribute" { - clr=14 - width=2 - } - points { - (1,940) - (1127,940) - } - } } } +"message button" { + object { + x=190 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_0_ADDPOINTS" + clr=14 + bclr=5 + } + label="Clear" + press_msg="2" +} +"message button" { + object { + x=100 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_0_ADDPOINTS" + clr=14 + bclr=5 + } + label="StopRec" + press_msg="0" +} +"cartesian plot" { + object { + x=290 + y=440 + width=270 + height=251 + } + plotcom { + xlabel="Analog 0" + ylabel="Analog 90" + clr=14 + bclr=4 + } + trace[0] { + xdata="EIB:CH_1_ADC00" + ydata="EIB:CH_1_ADC90" + data_clr=30 + yaxis=0 + yside=0 + } + x_axis { + rangeStyle="user-specified" + maxRange=4000.000000 + } + y1_axis { + rangeStyle="user-specified" + maxRange=4000.000000 + } +} +"message button" { + object { + x=470 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_1_ADDPOINTS" + clr=14 + bclr=5 + } + label="Clear" + press_msg="2" +} +"message button" { + object { + x=380 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_1_ADDPOINTS" + clr=14 + bclr=5 + } + label="StopRec" + press_msg="0" +} +"message button" { + object { + x=290 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_1_ADDPOINTS" + clr=14 + bclr=5 + } + label="StartRec" + press_msg="1" +} "cartesian plot" { object { x=570 - y=650 + y=440 + width=270 + height=251 + } + plotcom { + xlabel="Analog 0" + ylabel="Analog 90" + clr=14 + bclr=4 + } + trace[0] { + xdata="EIB:CH_2_ADC00" + ydata="EIB:CH_2_ADC90" + data_clr=30 + yaxis=0 + yside=0 + } + x_axis { + rangeStyle="user-specified" + maxRange=4000.000000 + } + y1_axis { + rangeStyle="user-specified" + maxRange=4000.000000 + } +} +"message button" { + object { + x=750 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_2_ADDPOINTS" + clr=14 + bclr=5 + } + label="Clear" + press_msg="2" +} +"message button" { + object { + x=660 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_2_ADDPOINTS" + clr=14 + bclr=5 + } + label="StopRec" + press_msg="0" +} +"message button" { + object { + x=570 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_2_ADDPOINTS" + clr=14 + bclr=5 + } + label="StartRec" + press_msg="1" +} +composite { + object { + x=120 + y=716 + width=160 + height=25 + } + "composite name"="" + children { + menu { + object { + x=190 + y=716 + width=90 + height=25 + } + control { + chan="EIB:CH_0_ADC00.SCAN" + clr=14 + bclr=4 + } + } + text { + object { + x=120 + y=720 + width=60 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Update" + align="horiz. centered" + } + } +} +menu { + object { + x=470 + y=716 + width=90 + height=25 + } + control { + chan="EIB:CH_1_ADC00.SCAN" + clr=14 + bclr=4 + } +} +text { + object { + x=400 + y=720 + width=60 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Update" + align="horiz. centered" +} +menu { + object { + x=750 + y=716 + width=90 + height=25 + } + control { + chan="EIB:CH_2_ADC00.SCAN" + clr=14 + bclr=4 + } +} +text { + object { + x=680 + y=720 + width=60 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Update" + align="horiz. centered" +} +"cartesian plot" { + object { + x=570 + y=750 width=270 height=200 } @@ -2250,7 +1808,7 @@ composite { "cartesian plot" { object { x=290 - y=650 + y=750 width=270 height=200 } @@ -2277,36 +1835,108 @@ composite { } "cartesian plot" { object { - x=10 - y=650 + x=850 + y=440 width=270 - height=200 + height=251 } plotcom { - xlabel="index" - ylabel="correction" + xlabel="Analog 0" + ylabel="Analog 90" clr=14 bclr=4 } trace[0] { - ydata="EIB:CH_0_CORRECTION" - data_clr=53 + xdata="EIB:CH_3_ADC00" + ydata="EIB:CH_3_ADC90" + data_clr=30 yaxis=0 yside=0 } x_axis { rangeStyle="user-specified" - maxRange=1024.000000 + maxRange=4000.000000 } y1_axis { - minRange=-100.000000 - maxRange=100.000000 + rangeStyle="user-specified" + maxRange=4000.000000 } } +"message button" { + object { + x=1030 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_3_ADDPOINTS" + clr=14 + bclr=5 + } + label="Clear" + press_msg="2" +} +"message button" { + object { + x=940 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_3_ADDPOINTS" + clr=14 + bclr=5 + } + label="StopRec" + press_msg="0" +} +"message button" { + object { + x=850 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_3_ADDPOINTS" + clr=14 + bclr=5 + } + label="StartRec" + press_msg="1" +} +menu { + object { + x=1030 + y=716 + width=90 + height=25 + } + control { + chan="EIB:CH_3_ADC00.SCAN" + clr=14 + bclr=4 + } +} +text { + object { + x=960 + y=720 + width=60 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Update" + align="horiz. centered" +} "cartesian plot" { object { x=850 - y=650 + y=750 width=270 height=200 } @@ -2331,207 +1961,97 @@ composite { maxRange=100.000000 } } -text { +"cartesian plot" { object { - x=940 - y=120 - width=60 - height=20 + x=10 + y=440 + width=270 + height=251 } - "basic attribute" { + plotcom { + xlabel="Analog 0" + ylabel="Analog 90" clr=14 + bclr=4 } - textix="Compensation" - align="horiz. centered" -} -composite { - object { - x=1020 - y=155 - width=101 - height=142 + trace[0] { + xdata="EIB:CH_0_ADC00" + ydata="EIB:CH_0_ADC90" + data_clr=30 + yaxis=0 + yside=0 } - "composite name"="" - children { - text { - object { - x=1020 - y=155 - width=101 - height=20 - } - "basic attribute" { - clr=20 - } - "dynamic attribute" { - vis="calc" - calc="(A >>1)&0x1" - chan="EIB:CH_0_STATUS" - } - textix="No signal" - } - text { - object { - x=1020 - y=197 - width=101 - height=20 - } - "basic attribute" { - clr=20 - } - "dynamic attribute" { - vis="calc" - calc="(A >>1)&0x1" - chan="EIB:CH_1_STATUS" - } - textix="No signal" - } - text { - object { - x=1020 - y=237 - width=101 - height=20 - } - "basic attribute" { - clr=20 - } - "dynamic attribute" { - vis="calc" - calc="(A >>1)&0x1" - chan="EIB:CH_2_STATUS" - } - textix="No signal" - } - text { - object { - x=1020 - y=277 - width=101 - height=20 - } - "basic attribute" { - clr=20 - } - "dynamic attribute" { - vis="calc" - calc="(A >>1)&0x1" - chan="EIB:CH_3_STATUS" - } - textix="No signal" - } + x_axis { + rangeStyle="user-specified" + maxRange=4000.000000 + } + y1_axis { + rangeStyle="user-specified" + maxRange=4000.000000 } } -"related display" { +"cartesian plot" { object { - x=860 - y=192 - width=67 - height=20 + x=10 + y=750 + width=270 + height=200 } - display[0] { - label="STATUS" - name="STATUS.adl" - args="CH=1" + plotcom { + xlabel="index" + ylabel="correction" + clr=14 + bclr=4 } - clr=14 - bclr=4 - label="-STATUS" -} -"related display" { - object { - x=860 - y=152 - width=67 - height=20 + trace[0] { + ydata="EIB:CH_0_CORRECTION" + data_clr=53 + yaxis=0 + yside=0 } - display[0] { - label="STATUS" - name="STATUS.adl" - args="CH=0" + x_axis { + rangeStyle="user-specified" + maxRange=1024.000000 } - clr=14 - bclr=4 - label="-STATUS" -} -"related display" { - object { - x=860 - y=232 - width=67 - height=20 - } - display[0] { - label="STATUS" - name="STATUS.adl" - args="CH=2" - } - clr=14 - bclr=4 - label="-STATUS" -} -"related display" { - object { - x=860 - y=272 - width=67 - height=20 - } - display[0] { - label="STATUS" - name="STATUS.adl" - args="CH=3" - } - clr=14 - bclr=4 - label="-STATUS" -} -composite { - object { - x=940 - y=152 - width=66 - height=23 - } - "composite name"="" - children { - "choice button" { - object { - x=940 - y=152 - width=50 - height=20 - } - control { - chan="EIB:CH_0_HEYCOMPS" - clr=14 - bclr=4 - } - stacking="column" - } - "text update" { - object { - x=996 - y=155 - width=10 - height=20 - } - monitor { - chan="EIB:CH_0_heycomp" - clr=14 - bclr=4 - } - align="horiz. centered" - limits { - } - } + y1_axis { + minRange=-100.000000 + maxRange=100.000000 } } "choice button" { object { - x=940 - y=192 + x=210 + y=950 + width=50 + height=20 + } + control { + chan="EIB:CH_0_HEYCOMPS" + clr=14 + bclr=4 + } + stacking="column" +} +"text update" { + object { + x=266 + y=950 + width=10 + height=20 + } + monitor { + chan="EIB:CH_0_heycomp" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +"choice button" { + object { + x=490 + y=950 width=50 height=20 } @@ -2544,38 +2064,8 @@ composite { } "text update" { object { - x=996 - y=195 - width=10 - height=20 - } - monitor { - chan="EIB:CH_1_heycomp" - clr=14 - bclr=4 - } - align="horiz. centered" - limits { - } -} -"choice button" { - object { - x=940 - y=232 - width=50 - height=20 - } - control { - chan="EIB:CH_2_HEYCOMPS" - clr=14 - bclr=4 - } - stacking="column" -} -"text update" { - object { - x=996 - y=235 + x=546 + y=950 width=10 height=20 } @@ -2590,8 +2080,38 @@ composite { } "choice button" { object { - x=940 - y=272 + x=770 + y=950 + width=50 + height=20 + } + control { + chan="EIB:CH_2_HEYCOMPS" + clr=14 + bclr=4 + } + stacking="column" +} +"text update" { + object { + x=826 + y=950 + width=10 + height=20 + } + monitor { + chan="EIB:CH_2_heycomp" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +"choice button" { + object { + x=1050 + y=950 width=50 height=20 } @@ -2604,8 +2124,8 @@ composite { } "text update" { object { - x=996 - y=275 + x=1106 + y=950 width=10 height=20 } diff --git a/eibApp/adl/EIB_BAK.adl b/eibApp/adl/EIB_BAK.adl index 5c1d99e..8b0a23e 100644 --- a/eibApp/adl/EIB_BAK.adl +++ b/eibApp/adl/EIB_BAK.adl @@ -5,10 +5,10 @@ file { } display { object { - x=1273 - y=169 + x=1298 + y=147 width=1130 - height=1000 + height=1200 } clr=14 bclr=4 @@ -87,150 +87,35 @@ display { 1a7309, } } -"message button" { +composite { object { - x=480 - y=152 - width=80 - height=20 + x=669 + y=216 + width=70 + height=15 } - control { - chan="EIB:CH_0_DOHOME" - clr=14 - bclr=4 + "composite name"="" + children { + "text update" { + object { + x=669 + y=216 + width=70 + height=15 + } + monitor { + chan="EIB:CH_2_HOMEDS" + clr=20 + bclr=4 + } + align="horiz. centered" + limits { + } + } } - label="WaitForRef" - press_msg="1" -} -"message button" { - object { - x=480 - y=192 - width=80 - height=20 - } - control { - chan="EIB:CH_1_DOHOME" - clr=14 - bclr=4 - } - label="WaitForRef" - press_msg="1" -} -"message button" { - object { - x=480 - y=232 - width=80 - height=20 - } - control { - chan="EIB:CH_2_DOHOME" - clr=14 - bclr=4 - } - label="WaitForRef" - press_msg="1" -} -"message button" { - object { - x=480 - y=272 - width=80 - height=20 - } - control { - chan="EIB:CH_3_DOHOME" - clr=14 - bclr=4 - } - label="WaitForRef" - press_msg="1" -} -text { - object { - x=350 - y=120 - width=120 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Homed" - align="horiz. centered" -} -text { - object { - x=475 - y=120 - width=90 - height=20 - } - "basic attribute" { - clr=14 - } - textix="RefSearch" - align="horiz. centered" -} -"text update" { - object { - x=480 - y=142 - width=80 - height=10 - } - monitor { - chan="EIB:CH_0_REFACTIVES" - clr=20 - bclr=4 - } - limits { - } -} -"text update" { - object { - x=480 - y=182 - width=80 - height=10 - } - monitor { - chan="EIB:CH_1_REFACTIVES" - clr=20 - bclr=4 - } - limits { - } -} -"text update" { - object { - x=480 - y=222 - width=80 - height=10 - } - monitor { - chan="EIB:CH_2_REFACTIVES" - clr=20 - bclr=4 - } - limits { - } -} -"text update" { - object { - x=480 - y=261 - width=80 - height=10 - } - monitor { - chan="EIB:CH_3_REFACTIVES" - clr=20 - bclr=4 - } - limits { + "dynamic attribute" { + vis="if zero" + chan="EIB:CH_2_HOMED" } } text { @@ -245,513 +130,6 @@ text { } textix="EIB741" } -text { - object { - x=795 - y=120 - width=60 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Lines" - align="horiz. centered" -} -text { - object { - x=725 - y=120 - width=45 - height=20 - } - "basic attribute" { - clr=14 - } - textix="rmrks" - align="horiz. centered" -} -"text update" { - object { - x=795 - y=155 - width=60 - height=20 - } - monitor { - chan="EIB:CH_0_lines" - clr=14 - bclr=4 - } - align="horiz. centered" - limits { - } -} -"text update" { - object { - x=795 - y=235 - width=60 - height=20 - } - monitor { - chan="EIB:CH_2_lines" - clr=14 - bclr=4 - } - align="horiz. centered" - limits { - } -} -"text update" { - object { - x=795 - y=275 - width=60 - height=20 - } - monitor { - chan="EIB:CH_3_lines" - clr=14 - bclr=4 - } - align="horiz. centered" - limits { - } -} -"text update" { - object { - x=795 - y=195 - width=60 - height=20 - } - monitor { - chan="EIB:CH_1_lines" - clr=14 - bclr=4 - } - align="horiz. centered" - limits { - } -} -"text update" { - object { - x=735 - y=155 - width=20 - height=20 - } - monitor { - chan="EIB:CH_0_refmarks" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=735 - y=235 - width=20 - height=20 - } - monitor { - chan="EIB:CH_2_refmarks" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=735 - y=195 - width=20 - height=20 - } - monitor { - chan="EIB:CH_1_refmarks" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=735 - y=275 - width=20 - height=20 - } - monitor { - chan="EIB:CH_3_refmarks" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -text { - object { - x=625 - y=120 - width=90 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Status" - align="horiz. centered" -} -byte { - object { - x=620 - y=160 - width=100 - height=7 - } - monitor { - chan="EIB:CH_0_STATUS" - clr=9 - bclr=4 - } - clrmod="discrete" -} -byte { - object { - x=620 - y=200 - width=100 - height=7 - } - monitor { - chan="EIB:CH_1_STATUS" - clr=10 - bclr=4 - } - clrmod="discrete" -} -byte { - object { - x=620 - y=240 - width=100 - height=7 - } - monitor { - chan="EIB:CH_2_STATUS" - clr=10 - bclr=4 - } - clrmod="discrete" -} -byte { - object { - x=620 - y=280 - width=100 - height=7 - } - monitor { - chan="EIB:CH_3_STATUS" - clr=10 - bclr=4 - } - clrmod="discrete" -} -"message button" { - object { - x=560 - y=152 - width=50 - height=20 - } - control { - chan="EIB:CH_0_STOPREF" - clr=14 - bclr=4 - } - label="Abort" - press_msg="1" -} -"message button" { - object { - x=560 - y=192 - width=50 - height=20 - } - control { - chan="EIB:CH_1_STOPREF" - clr=14 - bclr=4 - } - label="Abort" - press_msg="1" -} -"message button" { - object { - x=560 - y=232 - width=50 - height=20 - } - control { - chan="EIB:CH_2_STOPREF" - clr=14 - bclr=4 - } - label="Abort" - press_msg="1" -} -"message button" { - object { - x=560 - y=272 - width=50 - height=20 - } - control { - chan="EIB:CH_3_STOPREF" - clr=14 - bclr=4 - } - label="Abort" - press_msg="1" -} -composite { - object { - x=645 - y=155 - width=49 - height=20 - } - "composite name"="" - children { - polyline { - object { - x=694 - y=155 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (694,155) - (694,175) - } - } - polyline { - object { - x=670 - y=155 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (670,155) - (670,175) - } - } - polyline { - object { - x=645 - y=155 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (645,155) - (645,175) - } - } - } -} -composite { - object { - x=645 - y=195 - width=49 - height=20 - } - "composite name"="" - children { - polyline { - object { - x=694 - y=195 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (694,195) - (694,215) - } - } - polyline { - object { - x=670 - y=195 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (670,195) - (670,215) - } - } - polyline { - object { - x=645 - y=195 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (645,195) - (645,215) - } - } - } -} -composite { - object { - x=645 - y=235 - width=49 - height=20 - } - "composite name"="" - children { - polyline { - object { - x=694 - y=235 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (694,235) - (694,255) - } - } - polyline { - object { - x=670 - y=235 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (670,235) - (670,255) - } - } - polyline { - object { - x=645 - y=235 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (645,235) - (645,255) - } - } - } -} -composite { - object { - x=645 - y=275 - width=49 - height=20 - } - "composite name"="" - children { - polyline { - object { - x=694 - y=275 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (694,275) - (694,295) - } - } - polyline { - object { - x=670 - y=275 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (670,275) - (670,295) - } - } - polyline { - object { - x=645 - y=275 - width=0 - height=20 - } - "basic attribute" { - clr=14 - } - points { - (645,275) - (645,295) - } - } - } -} "related display" { object { x=870 @@ -768,690 +146,6 @@ composite { bclr=4 label="-STATUS" } -"cartesian plot" { - object { - x=10 - y=340 - width=270 - height=251 - } - plotcom { - xlabel="Analog 0" - ylabel="Analog 90" - clr=14 - bclr=4 - } - trace[0] { - xdata="EIB:CH_0_ADC00" - ydata="EIB:CH_0_ADC90" - data_clr=30 - yaxis=0 - yside=0 - } - x_axis { - rangeStyle="user-specified" - maxRange=4000.000000 - } - y1_axis { - rangeStyle="user-specified" - maxRange=4000.000000 - } -} -"message button" { - object { - x=190 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_0_ADDPOINTS" - clr=14 - bclr=5 - } - label="Clear" - press_msg="2" -} -"message button" { - object { - x=100 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_0_ADDPOINTS" - clr=14 - bclr=5 - } - label="StopRec" - press_msg="0" -} -"message button" { - object { - x=10 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_0_ADDPOINTS" - clr=14 - bclr=5 - } - label="StartRec" - press_msg="1" -} -text { - object { - x=15 - y=320 - width=100 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Channel 0" -} -menu { - object { - x=80 - y=190 - width=90 - height=25 - } - control { - chan="EIB:CH_1_VALUE.SCAN" - clr=14 - bclr=4 - } -} -"text update" { - object { - x=180 - y=190 - width=120 - height=25 - } - monitor { - chan="EIB:CH_1_VALUE" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=310 - y=200 - width=60 - height=15 - } - monitor { - chan="EIB:CH_1_VALUE.EGU" - clr=14 - bclr=4 - } - limits { - } -} -menu { - object { - x=80 - y=150 - width=90 - height=25 - } - control { - chan="EIB:CH_0_VALUE.SCAN" - clr=14 - bclr=4 - } -} -"text update" { - object { - x=180 - y=150 - width=120 - height=25 - } - monitor { - chan="EIB:CH_0_VALUE" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=310 - y=160 - width=60 - height=15 - } - monitor { - chan="EIB:CH_0_VALUE.EGU" - clr=14 - bclr=4 - } - limits { - } -} -menu { - object { - x=80 - y=270 - width=90 - height=25 - } - control { - chan="EIB:CH_3_VALUE.SCAN" - clr=14 - bclr=4 - } -} -"text update" { - object { - x=180 - y=270 - width=120 - height=25 - } - monitor { - chan="EIB:CH_3_VALUE" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=310 - y=280 - width=60 - height=15 - } - monitor { - chan="EIB:CH_3_VALUE.EGU" - clr=14 - bclr=4 - } - limits { - } -} -menu { - object { - x=80 - y=230 - width=90 - height=25 - } - control { - chan="EIB:CH_2_VALUE.SCAN" - clr=14 - bclr=4 - } -} -"text update" { - object { - x=180 - y=230 - width=120 - height=25 - } - monitor { - chan="EIB:CH_2_VALUE" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=310 - y=240 - width=60 - height=15 - } - monitor { - chan="EIB:CH_2_VALUE.EGU" - clr=14 - bclr=4 - } - limits { - } -} -text { - object { - x=80 - y=120 - width=90 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Scan" - align="horiz. centered" -} -text { - object { - x=180 - y=120 - width=120 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Value" - align="horiz. centered" -} -text { - object { - x=310 - y=120 - width=60 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Unit" - align="horiz. centered" -} -"text update" { - object { - x=10 - y=160 - width=60 - height=15 - } - monitor { - chan="EIB:CH_0_NAME" - clr=14 - bclr=4 - } - limits { - } -} -"text update" { - object { - x=10 - y=200 - width=60 - height=15 - } - monitor { - chan="EIB:CH_1_NAME" - clr=14 - bclr=4 - } - limits { - } -} -"text update" { - object { - x=10 - y=240 - width=60 - height=15 - } - monitor { - chan="EIB:CH_2_NAME" - clr=14 - bclr=4 - } - limits { - } -} -"text update" { - object { - x=10 - y=280 - width=60 - height=15 - } - monitor { - chan="EIB:CH_3_NAME" - clr=14 - bclr=4 - } - limits { - } -} -"cartesian plot" { - object { - x=290 - y=340 - width=270 - height=251 - } - plotcom { - xlabel="Analog 0" - ylabel="Analog 90" - clr=14 - bclr=4 - } - trace[0] { - xdata="EIB:CH_1_ADC00" - ydata="EIB:CH_1_ADC90" - data_clr=30 - yaxis=0 - yside=0 - } - x_axis { - rangeStyle="user-specified" - maxRange=4000.000000 - } - y1_axis { - rangeStyle="user-specified" - maxRange=4000.000000 - } -} -"message button" { - object { - x=470 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_1_ADDPOINTS" - clr=14 - bclr=5 - } - label="Clear" - press_msg="2" -} -"message button" { - object { - x=380 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_1_ADDPOINTS" - clr=14 - bclr=5 - } - label="StopRec" - press_msg="0" -} -"message button" { - object { - x=290 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_1_ADDPOINTS" - clr=14 - bclr=5 - } - label="StartRec" - press_msg="1" -} -text { - object { - x=295 - y=320 - width=90 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Channel 1" -} -"cartesian plot" { - object { - x=570 - y=340 - width=270 - height=251 - } - plotcom { - xlabel="Analog 0" - ylabel="Analog 90" - clr=14 - bclr=4 - } - trace[0] { - xdata="EIB:CH_2_ADC00" - ydata="EIB:CH_2_ADC90" - data_clr=30 - yaxis=0 - yside=0 - } - x_axis { - rangeStyle="user-specified" - maxRange=4000.000000 - } - y1_axis { - rangeStyle="user-specified" - maxRange=4000.000000 - } -} -"message button" { - object { - x=750 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_2_ADDPOINTS" - clr=14 - bclr=5 - } - label="Clear" - press_msg="2" -} -"message button" { - object { - x=660 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_2_ADDPOINTS" - clr=14 - bclr=5 - } - label="StopRec" - press_msg="0" -} -"message button" { - object { - x=570 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_2_ADDPOINTS" - clr=14 - bclr=5 - } - label="StartRec" - press_msg="1" -} -text { - object { - x=575 - y=320 - width=90 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Channel 2" -} -"cartesian plot" { - object { - x=850 - y=340 - width=270 - height=251 - } - plotcom { - xlabel="Analog 0" - ylabel="Analog 90" - clr=14 - bclr=4 - } - trace[0] { - xdata="EIB:CH_3_ADC00" - ydata="EIB:CH_3_ADC90" - data_clr=30 - yaxis=0 - yside=0 - } - x_axis { - rangeStyle="user-specified" - maxRange=4000.000000 - } - y1_axis { - rangeStyle="user-specified" - maxRange=4000.000000 - } -} -"message button" { - object { - x=1030 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_3_ADDPOINTS" - clr=14 - bclr=5 - } - label="Clear" - press_msg="2" -} -"message button" { - object { - x=940 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_3_ADDPOINTS" - clr=14 - bclr=5 - } - label="StopRec" - press_msg="0" -} -"message button" { - object { - x=850 - y=590 - width=90 - height=25 - } - control { - chan="EIB:CH_3_ADDPOINTS" - clr=14 - bclr=5 - } - label="StartRec" - press_msg="1" -} -text { - object { - x=855 - y=320 - width=90 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Channel 3" - align="horiz. centered" -} -"text update" { - object { - x=155 - y=325 - width=120 - height=15 - } - monitor { - chan="EIB:CH_0_NAME" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=435 - y=325 - width=120 - height=15 - } - monitor { - chan="EIB:CH_1_NAME" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=715 - y=325 - width=120 - height=15 - } - monitor { - chan="EIB:CH_2_NAME" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} -"text update" { - object { - x=995 - y=325 - width=120 - height=15 - } - monitor { - chan="EIB:CH_3_NAME" - clr=14 - bclr=4 - } - align="horiz. right" - limits { - } -} composite { object { x=810 @@ -1562,8 +256,8 @@ composite { } composite { object { - x=380 - y=160 + x=390 + y=215 width=70 height=15 } @@ -1571,72 +265,8 @@ composite { children { "text update" { object { - x=380 - y=160 - width=70 - height=15 - } - monitor { - chan="EIB:CH_0_HOMEDS" - clr=14 - bclr=4 - } - align="horiz. centered" - limits { - } - } - } - "dynamic attribute" { - vis="calc" - calc="A=1" - chan="EIB:CH_0_HOMED" - } -} -composite { - object { - x=380 - y=160 - width=70 - height=15 - } - "composite name"="" - children { - "text update" { - object { - x=380 - y=160 - width=70 - height=15 - } - monitor { - chan="EIB:CH_0_HOMEDS" - clr=20 - bclr=4 - } - align="horiz. centered" - limits { - } - } - } - "dynamic attribute" { - vis="calc" - calc="A=0" - chan="EIB:CH_0_HOMED" - } -} -composite { - object { - x=380 - y=200 - width=70 - height=15 - } - "composite name"="" - children { - "text update" { - object { - x=380 - y=200 + x=390 + y=215 width=70 height=15 } @@ -1658,8 +288,8 @@ composite { } "text update" { object { - x=380 - y=200 + x=390 + y=215 width=70 height=15 } @@ -1674,450 +304,1183 @@ composite { } composite { object { - x=380 - y=240 - width=70 - height=15 - } - "composite name"="" - children { - "text update" { - object { - x=380 - y=240 - width=70 - height=15 - } - monitor { - chan="EIB:CH_2_HOMEDS" - clr=14 - bclr=4 - } - align="horiz. centered" - limits { - } - } - } - "dynamic attribute" { - vis="if not zero" - chan="EIB:CH_2_HOMED" - } -} -composite { - object { - x=380 - y=240 - width=70 - height=15 - } - "composite name"="" - children { - "text update" { - object { - x=380 - y=240 - width=70 - height=15 - } - monitor { - chan="EIB:CH_2_HOMEDS" - clr=20 - bclr=4 - } - align="horiz. centered" - limits { - } - } - } - "dynamic attribute" { - vis="if zero" - chan="EIB:CH_2_HOMED" - } -} -composite { - object { - x=380 - y=280 - width=70 - height=15 - } - "composite name"="" - children { - "text update" { - object { - x=380 - y=280 - width=70 - height=15 - } - monitor { - chan="EIB:CH_3_HOMEDS" - clr=14 - bclr=4 - } - align="horiz. centered" - limits { - } - } - } - "dynamic attribute" { - vis="if not zero" - chan="EIB:CH_3_HOMED" - } -} -composite { - object { - x=380 - y=280 - width=70 - height=15 - } - "composite name"="" - children { - "text update" { - object { - x=380 - y=280 - width=70 - height=15 - } - monitor { - chan="EIB:CH_3_HOMEDS" - clr=20 - bclr=4 - } - align="horiz. centered" - limits { - } - } - } - "dynamic attribute" { - vis="if zero" - chan="EIB:CH_3_HOMED" - } -} -composite { - object { - x=120 - y=616 - width=160 - height=25 - } - "composite name"="" - children { - menu { - object { - x=190 - y=616 - width=90 - height=25 - } - control { - chan="EIB:CH_0_ADC00.SCAN" - clr=14 - bclr=4 - } - } - text { - object { - x=120 - y=620 - width=60 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Update" - align="horiz. centered" - } - } -} -menu { - object { - x=470 - y=616 - width=90 - height=25 - } - control { - chan="EIB:CH_1_ADC00.SCAN" - clr=14 - bclr=4 - } -} -text { - object { - x=400 - y=620 - width=60 + x=375 + y=234 + width=100 height=20 } - "basic attribute" { - clr=14 - } - textix="Update" - align="horiz. centered" -} -menu { - object { - x=750 - y=616 - width=90 - height=25 - } - control { - chan="EIB:CH_2_ADC00.SCAN" - clr=14 - bclr=4 - } -} -text { - object { - x=680 - y=620 - width=60 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Update" - align="horiz. centered" -} -menu { - object { - x=1030 - y=616 - width=90 - height=25 - } - control { - chan="EIB:CH_3_ADC00.SCAN" - clr=14 - bclr=4 - } -} -text { - object { - x=960 - y=620 - width=60 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Update" - align="horiz. centered" -} -composite { - object { - x=0 - y=860 - width=1128 - height=134 - } "composite name"="" children { - text { - object { - x=210 - y=949 - width=90 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Connect" - } - "text update" { - object { - x=291 - y=949 - width=10 - height=20 - } - monitor { - chan="EIB:connect" - clr=14 - bclr=4 - } - limits { - } - } - "text update" { - object { - x=210 - y=974 - width=100 - height=20 - } - monitor { - chan="EIB:connectS" - clr=14 - bclr=4 - } - limits { - } - } composite { object { - x=10 - y=949 - width=80 - height=45 + x=400 + y=234 + width=49 + height=20 } "composite name"="" children { - "text update" { + polyline { object { - x=67 - y=949 - width=10 - height=20 - } - monitor { - chan="EIB:cdbg" - clr=14 - bclr=4 - } - limits { - } - } - text { - object { - x=10 - y=949 - width=50 + x=449 + y=234 + width=0 height=20 } "basic attribute" { clr=14 } - textix="cdbg" - align="horiz. centered" + points { + (449,234) + (449,254) + } } - "choice button" { + polyline { object { - x=10 - y=974 - width=80 + x=425 + y=234 + width=0 height=20 } - control { - chan="EIB:CDBG" + "basic attribute" { + clr=14 + } + points { + (425,234) + (425,254) + } + } + polyline { + object { + x=400 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (400,234) + (400,254) + } + } + } + } + byte { + object { + x=375 + y=239 + width=100 + height=7 + } + monitor { + chan="EIB:CH_1_STATUS" + clr=10 + bclr=4 + } + clrmod="discrete" + } + } +} +"message button" { + object { + x=10 + y=791 + width=90 + height=25 + } + control { + chan="EIB:CH_0_ADDPOINTS" + clr=14 + bclr=5 + } + label="StartRec" + press_msg="1" +} +text { + object { + x=210 + y=1149 + width=90 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Connect" +} +"text update" { + object { + x=291 + y=1149 + width=10 + height=20 + } + monitor { + chan="EIB:connect" + clr=14 + bclr=4 + } + limits { + } +} +"text update" { + object { + x=210 + y=1174 + width=100 + height=20 + } + monitor { + chan="EIB:connectS" + clr=14 + bclr=4 + } + limits { + } +} +composite { + object { + x=10 + y=1149 + width=80 + height=45 + } + "composite name"="" + children { + "text update" { + object { + x=67 + y=1149 + width=10 + height=20 + } + monitor { + chan="EIB:cdbg" + clr=14 + bclr=4 + } + limits { + } + } + text { + object { + x=10 + y=1149 + width=50 + height=20 + } + "basic attribute" { + clr=14 + } + textix="cdbg" + align="horiz. centered" + } + "choice button" { + object { + x=10 + y=1174 + width=80 + height=20 + } + control { + chan="EIB:CDBG" + clr=14 + bclr=4 + } + stacking="column" + } + } +} +text { + object { + x=110 + y=1149 + width=50 + height=20 + } + "basic attribute" { + clr=14 + } + textix="rdbg" + align="horiz. centered" +} +"text update" { + object { + x=167 + y=1149 + width=10 + height=20 + } + monitor { + chan="EIB:rdbg" + clr=14 + bclr=4 + } + limits { + } +} +"choice button" { + object { + x=110 + y=1174 + width=80 + height=20 + } + control { + chan="EIB:RDBG" + clr=14 + bclr=4 + } + stacking="column" +} +text { + object { + x=325 + y=1149 + width=50 + height=20 + } + "basic attribute" { + clr=14 + } + textix="verbose" + align="horiz. centered" +} +"text update" { + object { + x=387 + y=1149 + width=10 + height=20 + } + monitor { + chan="EIB:verbose" + clr=14 + bclr=4 + } + limits { + } +} +"choice button" { + object { + x=325 + y=1174 + width=80 + height=20 + } + control { + chan="EIB:VERBOSE" + clr=14 + bclr=4 + } + stacking="column" +} +"message button" { + object { + x=10 + y=1060 + width=100 + height=25 + } + control { + chan="EIB:CLEARERROR" + clr=14 + bclr=5 + } + label="ClearMsg" + press_msg="1" +} +composite { + object { + x=120 + y=1061 + width=450 + height=55 + } + "composite name"="" + children { + "text update" { + object { + x=120 + y=1101 + width=450 + height=15 + } + monitor { + chan="EIB:errortext2" + clr=20 + bclr=4 + } + limits { + } + } + "text update" { + object { + x=120 + y=1061 + width=450 + height=15 + } + monitor { + chan="EIB:errortext0" + clr=20 + bclr=4 + } + limits { + } + } + "text update" { + object { + x=120 + y=1081 + width=450 + height=15 + } + monitor { + chan="EIB:errortext1" + clr=20 + bclr=4 + } + limits { + } + } + } +} +polyline { + object { + x=0 + y=1139 + width=1128 + height=2 + } + "basic attribute" { + clr=14 + width=2 + } + points { + (1,1140) + (1127,1140) + } +} +"text update" { + object { + x=355 + y=175 + width=140 + height=30 + } + monitor { + chan="EIB:CH_1_VALUE" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=75 + y=175 + width=140 + height=30 + } + monitor { + chan="EIB:CH_0_VALUE" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +composite { + object { + x=109 + y=214 + width=72 + height=16 + } + "composite name"="" + children { + composite { + object { + x=111 + y=215 + width=70 + height=15 + } + "composite name"="" + children { + "text update" { + object { + x=111 + y=215 + width=70 + height=15 + } + monitor { + chan="EIB:CH_0_HOMEDS" clr=14 bclr=4 } - stacking="column" + align="horiz. centered" + limits { + } + } + } + "dynamic attribute" { + vis="calc" + calc="A=1" + chan="EIB:CH_0_HOMED" + } + } + composite { + object { + x=109 + y=214 + width=70 + height=15 + } + "composite name"="" + children { + "text update" { + object { + x=109 + y=214 + width=70 + height=15 + } + monitor { + chan="EIB:CH_0_HOMEDS" + clr=20 + bclr=4 + } + align="horiz. centered" + limits { + } + } + } + "dynamic attribute" { + vis="calc" + calc="A=0" + chan="EIB:CH_0_HOMED" + } + } + } +} +composite { + object { + x=95 + y=234 + width=100 + height=20 + } + "composite name"="" + children { + byte { + object { + x=95 + y=239 + width=100 + height=7 + } + monitor { + chan="EIB:CH_0_STATUS" + clr=9 + bclr=4 + } + clrmod="discrete" + } + composite { + object { + x=120 + y=234 + width=49 + height=20 + } + "composite name"="" + children { + polyline { + object { + x=169 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (169,234) + (169,254) + } + } + polyline { + object { + x=145 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (145,234) + (145,254) + } + } + polyline { + object { + x=120 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (120,234) + (120,254) + } } } } - text { + } +} +composite { + object { + x=655 + y=234 + width=100 + height=20 + } + "composite name"="" + children { + byte { object { - x=110 - y=949 - width=50 - height=20 - } - "basic attribute" { - clr=14 - } - textix="rdbg" - align="horiz. centered" - } - "text update" { - object { - x=167 - y=949 - width=10 - height=20 - } - monitor { - chan="EIB:rdbg" - clr=14 - bclr=4 - } - limits { - } - } - "choice button" { - object { - x=110 - y=974 - width=80 - height=20 - } - control { - chan="EIB:RDBG" - clr=14 - bclr=4 - } - stacking="column" - } - text { - object { - x=325 - y=949 - width=50 - height=20 - } - "basic attribute" { - clr=14 - } - textix="verbose" - align="horiz. centered" - } - "text update" { - object { - x=387 - y=949 - width=10 - height=20 - } - monitor { - chan="EIB:verbose" - clr=14 - bclr=4 - } - limits { - } - } - "choice button" { - object { - x=325 - y=974 - width=80 - height=20 - } - control { - chan="EIB:VERBOSE" - clr=14 - bclr=4 - } - stacking="column" - } - "message button" { - object { - x=10 - y=860 + x=655 + y=239 width=100 + height=7 + } + monitor { + chan="EIB:CH_2_STATUS" + clr=10 + bclr=4 + } + clrmod="discrete" + } + composite { + object { + x=680 + y=234 + width=49 + height=20 + } + "composite name"="" + children { + polyline { + object { + x=729 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (729,234) + (729,254) + } + } + polyline { + object { + x=705 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (705,234) + (705,254) + } + } + polyline { + object { + x=680 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (680,234) + (680,254) + } + } + } + } + } +} +"text update" { + object { + x=635 + y=175 + width=140 + height=30 + } + monitor { + chan="EIB:CH_2_VALUE" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +composite { + object { + x=950 + y=215 + width=70 + height=16 + } + "composite name"="" + children { + composite { + object { + x=950 + y=216 + width=70 + height=15 + } + "composite name"="" + children { + "text update" { + object { + x=950 + y=216 + width=70 + height=15 + } + monitor { + chan="EIB:CH_3_HOMEDS" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } + } + } + "dynamic attribute" { + vis="if not zero" + chan="EIB:CH_3_HOMED" + } + } + composite { + object { + x=950 + y=215 + width=70 + height=15 + } + "composite name"="" + children { + "text update" { + object { + x=950 + y=215 + width=70 + height=15 + } + monitor { + chan="EIB:CH_3_HOMEDS" + clr=20 + bclr=4 + } + align="horiz. centered" + limits { + } + } + } + "dynamic attribute" { + vis="if zero" + chan="EIB:CH_3_HOMED" + } + } + } +} +composite { + object { + x=935 + y=234 + width=100 + height=20 + } + "composite name"="" + children { + composite { + object { + x=960 + y=234 + width=49 + height=20 + } + "composite name"="" + children { + polyline { + object { + x=1009 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (1009,234) + (1009,254) + } + } + polyline { + object { + x=985 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (985,234) + (985,254) + } + } + polyline { + object { + x=960 + y=234 + width=0 + height=20 + } + "basic attribute" { + clr=14 + } + points { + (960,234) + (960,254) + } + } + } + } + byte { + object { + x=935 + y=239 + width=100 + height=7 + } + monitor { + chan="EIB:CH_3_STATUS" + clr=10 + bclr=4 + } + clrmod="discrete" + } + } +} +"text update" { + object { + x=915 + y=175 + width=140 + height=30 + } + monitor { + chan="EIB:CH_3_VALUE" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +composite { + object { + x=110 + y=265 + width=910 + height=20 + } + "composite name"="" + children { + "related display" { + object { + x=110 + y=265 + width=70 + height=20 + } + display[0] { + label="STATUS" + name="STATUS.adl" + args="CH=0" + } + clr=14 + bclr=4 + label="-STATUS" + } + "related display" { + object { + x=390 + y=265 + width=70 + height=20 + } + display[0] { + label="STATUS" + name="STATUS.adl" + args="CH=1" + } + clr=14 + bclr=4 + label="-STATUS" + } + "related display" { + object { + x=670 + y=265 + width=70 + height=20 + } + display[0] { + label="STATUS" + name="STATUS.adl" + args="CH=2" + } + clr=14 + bclr=4 + label="-STATUS" + } + "related display" { + object { + x=950 + y=265 + width=70 + height=20 + } + display[0] { + label="STATUS" + name="STATUS.adl" + args="CH=3" + } + clr=14 + bclr=4 + label="-STATUS" + } + } +} +text { + object { + x=95 + y=95 + width=100 + height=20 + } + "basic attribute" { + clr=20 + } + "dynamic attribute" { + vis="calc" + calc="(A >>1)&0x1" + chan="EIB:CH_0_STATUS" + } + textix="No signal" + align="horiz. centered" +} +text { + object { + x=375 + y=95 + width=100 + height=20 + } + "basic attribute" { + clr=20 + } + "dynamic attribute" { + vis="calc" + calc="(A >>1)&0x1" + chan="EIB:CH_1_STATUS" + } + textix="No signal" + align="horiz. centered" +} +text { + object { + x=655 + y=95 + width=101 + height=20 + } + "basic attribute" { + clr=20 + } + "dynamic attribute" { + vis="calc" + calc="(A >>1)&0x1" + chan="EIB:CH_2_STATUS" + } + textix="No signal" + align="horiz. centered" +} +text { + object { + x=935 + y=95 + width=101 + height=20 + } + "basic attribute" { + clr=20 + } + "dynamic attribute" { + vis="calc" + calc="(A >>1)&0x1" + chan="EIB:CH_3_STATUS" + } + textix="No signal" + align="horiz. centered" +} +composite { + object { + x=85 + y=150 + width=960 + height=15 + } + "composite name"="" + children { + "text update" { + object { + x=85 + y=150 + width=120 + height=15 + } + monitor { + chan="EIB:CH_0_VALUE.EGU" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=365 + y=150 + width=120 + height=15 + } + monitor { + chan="EIB:CH_1_VALUE.EGU" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=645 + y=150 + width=120 + height=15 + } + monitor { + chan="EIB:CH_2_VALUE.EGU" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=925 + y=150 + width=120 + height=15 + } + monitor { + chan="EIB:CH_3_VALUE.EGU" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } + } + } +} +composite { + object { + x=100 + y=308 + width=930 + height=27 + } + "composite name"="" + children { + menu { + object { + x=380 + y=309 + width=90 height=25 } control { - chan="EIB:CLEARERROR" + chan="EIB:CH_1_VALUE.SCAN" clr=14 - bclr=5 + bclr=4 } - label="ClearMsg" - press_msg="1" } + menu { + object { + x=100 + y=308 + width=90 + height=25 + } + control { + chan="EIB:CH_0_VALUE.SCAN" + clr=14 + bclr=4 + } + } + menu { + object { + x=940 + y=309 + width=90 + height=25 + } + control { + chan="EIB:CH_3_VALUE.SCAN" + clr=14 + bclr=4 + } + } + menu { + object { + x=660 + y=310 + width=90 + height=25 + } + control { + chan="EIB:CH_2_VALUE.SCAN" + clr=14 + bclr=4 + } + } + } +} +"text update" { + object { + x=915 + y=120 + width=140 + height=30 + } + monitor { + chan="EIB:CH_3_NAME" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=635 + y=120 + width=140 + height=30 + } + monitor { + chan="EIB:CH_2_NAME" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=355 + y=120 + width=140 + height=30 + } + monitor { + chan="EIB:CH_1_NAME" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=75 + y=120 + width=140 + height=30 + } + monitor { + chan="EIB:CH_0_NAME" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +composite { + object { + x=1010 + y=1145 + width=111 + height=55 + } + "composite name"="" + children { "shell command" { object { x=1010 - y=910 + y=1175 width=110 height=25 } @@ -2133,7 +1496,7 @@ composite { "message button" { object { x=1011 - y=880 + y=1145 width=110 height=25 } @@ -2145,84 +1508,279 @@ composite { label="StopSoftIOC" press_msg="99" } - composite { - object { - x=120 - y=861 - width=450 - height=55 - } - "composite name"="" - children { - "text update" { - object { - x=120 - y=901 - width=450 - height=15 - } - monitor { - chan="EIB:errortext2" - clr=20 - bclr=4 - } - limits { - } - } - "text update" { - object { - x=120 - y=861 - width=450 - height=15 - } - monitor { - chan="EIB:errortext0" - clr=20 - bclr=4 - } - limits { - } - } - "text update" { - object { - x=120 - y=881 - width=450 - height=15 - } - monitor { - chan="EIB:errortext1" - clr=20 - bclr=4 - } - limits { - } - } - } - } - polyline { - object { - x=0 - y=939 - width=1128 - height=2 - } - "basic attribute" { - clr=14 - width=2 - } - points { - (1,940) - (1127,940) - } - } } } +"message button" { + object { + x=190 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_0_ADDPOINTS" + clr=14 + bclr=5 + } + label="Clear" + press_msg="2" +} +"message button" { + object { + x=100 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_0_ADDPOINTS" + clr=14 + bclr=5 + } + label="StopRec" + press_msg="0" +} +"cartesian plot" { + object { + x=290 + y=440 + width=270 + height=251 + } + plotcom { + xlabel="Analog 0" + ylabel="Analog 90" + clr=14 + bclr=4 + } + trace[0] { + xdata="EIB:CH_1_ADC00" + ydata="EIB:CH_1_ADC90" + data_clr=30 + yaxis=0 + yside=0 + } + x_axis { + rangeStyle="user-specified" + maxRange=4000.000000 + } + y1_axis { + rangeStyle="user-specified" + maxRange=4000.000000 + } +} +"message button" { + object { + x=470 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_1_ADDPOINTS" + clr=14 + bclr=5 + } + label="Clear" + press_msg="2" +} +"message button" { + object { + x=380 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_1_ADDPOINTS" + clr=14 + bclr=5 + } + label="StopRec" + press_msg="0" +} +"message button" { + object { + x=290 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_1_ADDPOINTS" + clr=14 + bclr=5 + } + label="StartRec" + press_msg="1" +} "cartesian plot" { object { x=570 - y=650 + y=440 + width=270 + height=251 + } + plotcom { + xlabel="Analog 0" + ylabel="Analog 90" + clr=14 + bclr=4 + } + trace[0] { + xdata="EIB:CH_2_ADC00" + ydata="EIB:CH_2_ADC90" + data_clr=30 + yaxis=0 + yside=0 + } + x_axis { + rangeStyle="user-specified" + maxRange=4000.000000 + } + y1_axis { + rangeStyle="user-specified" + maxRange=4000.000000 + } +} +"message button" { + object { + x=750 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_2_ADDPOINTS" + clr=14 + bclr=5 + } + label="Clear" + press_msg="2" +} +"message button" { + object { + x=660 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_2_ADDPOINTS" + clr=14 + bclr=5 + } + label="StopRec" + press_msg="0" +} +"message button" { + object { + x=570 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_2_ADDPOINTS" + clr=14 + bclr=5 + } + label="StartRec" + press_msg="1" +} +composite { + object { + x=120 + y=716 + width=160 + height=25 + } + "composite name"="" + children { + menu { + object { + x=190 + y=716 + width=90 + height=25 + } + control { + chan="EIB:CH_0_ADC00.SCAN" + clr=14 + bclr=4 + } + } + text { + object { + x=120 + y=720 + width=60 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Update" + align="horiz. centered" + } + } +} +menu { + object { + x=470 + y=716 + width=90 + height=25 + } + control { + chan="EIB:CH_1_ADC00.SCAN" + clr=14 + bclr=4 + } +} +text { + object { + x=400 + y=720 + width=60 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Update" + align="horiz. centered" +} +menu { + object { + x=750 + y=716 + width=90 + height=25 + } + control { + chan="EIB:CH_2_ADC00.SCAN" + clr=14 + bclr=4 + } +} +text { + object { + x=680 + y=720 + width=60 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Update" + align="horiz. centered" +} +"cartesian plot" { + object { + x=570 + y=750 width=270 height=200 } @@ -2250,7 +1808,7 @@ composite { "cartesian plot" { object { x=290 - y=650 + y=750 width=270 height=200 } @@ -2277,36 +1835,108 @@ composite { } "cartesian plot" { object { - x=10 - y=650 + x=850 + y=440 width=270 - height=200 + height=251 } plotcom { - xlabel="index" - ylabel="correction" + xlabel="Analog 0" + ylabel="Analog 90" clr=14 bclr=4 } trace[0] { - ydata="EIB:CH_0_CORRECTION" - data_clr=53 + xdata="EIB:CH_3_ADC00" + ydata="EIB:CH_3_ADC90" + data_clr=30 yaxis=0 yside=0 } x_axis { rangeStyle="user-specified" - maxRange=1024.000000 + maxRange=4000.000000 } y1_axis { - minRange=-100.000000 - maxRange=100.000000 + rangeStyle="user-specified" + maxRange=4000.000000 } } +"message button" { + object { + x=1030 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_3_ADDPOINTS" + clr=14 + bclr=5 + } + label="Clear" + press_msg="2" +} +"message button" { + object { + x=940 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_3_ADDPOINTS" + clr=14 + bclr=5 + } + label="StopRec" + press_msg="0" +} +"message button" { + object { + x=850 + y=690 + width=90 + height=25 + } + control { + chan="EIB:CH_3_ADDPOINTS" + clr=14 + bclr=5 + } + label="StartRec" + press_msg="1" +} +menu { + object { + x=1030 + y=716 + width=90 + height=25 + } + control { + chan="EIB:CH_3_ADC00.SCAN" + clr=14 + bclr=4 + } +} +text { + object { + x=960 + y=720 + width=60 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Update" + align="horiz. centered" +} "cartesian plot" { object { x=850 - y=650 + y=750 width=270 height=200 } @@ -2331,207 +1961,97 @@ composite { maxRange=100.000000 } } -text { +"cartesian plot" { object { - x=940 - y=120 - width=60 - height=20 + x=10 + y=440 + width=270 + height=251 } - "basic attribute" { + plotcom { + xlabel="Analog 0" + ylabel="Analog 90" clr=14 + bclr=4 } - textix="Compensation" - align="horiz. centered" -} -composite { - object { - x=1020 - y=155 - width=101 - height=142 + trace[0] { + xdata="EIB:CH_0_ADC00" + ydata="EIB:CH_0_ADC90" + data_clr=30 + yaxis=0 + yside=0 } - "composite name"="" - children { - text { - object { - x=1020 - y=155 - width=101 - height=20 - } - "basic attribute" { - clr=20 - } - "dynamic attribute" { - vis="calc" - calc="(A >>1)&0x1" - chan="EIB:CH_0_STATUS" - } - textix="No signal" - } - text { - object { - x=1020 - y=197 - width=101 - height=20 - } - "basic attribute" { - clr=20 - } - "dynamic attribute" { - vis="calc" - calc="(A >>1)&0x1" - chan="EIB:CH_1_STATUS" - } - textix="No signal" - } - text { - object { - x=1020 - y=237 - width=101 - height=20 - } - "basic attribute" { - clr=20 - } - "dynamic attribute" { - vis="calc" - calc="(A >>1)&0x1" - chan="EIB:CH_2_STATUS" - } - textix="No signal" - } - text { - object { - x=1020 - y=277 - width=101 - height=20 - } - "basic attribute" { - clr=20 - } - "dynamic attribute" { - vis="calc" - calc="(A >>1)&0x1" - chan="EIB:CH_3_STATUS" - } - textix="No signal" - } + x_axis { + rangeStyle="user-specified" + maxRange=4000.000000 + } + y1_axis { + rangeStyle="user-specified" + maxRange=4000.000000 } } -"related display" { +"cartesian plot" { object { - x=860 - y=192 - width=67 - height=20 + x=10 + y=750 + width=270 + height=200 } - display[0] { - label="STATUS" - name="STATUS.adl" - args="CH=1" + plotcom { + xlabel="index" + ylabel="correction" + clr=14 + bclr=4 } - clr=14 - bclr=4 - label="-STATUS" -} -"related display" { - object { - x=860 - y=152 - width=67 - height=20 + trace[0] { + ydata="EIB:CH_0_CORRECTION" + data_clr=53 + yaxis=0 + yside=0 } - display[0] { - label="STATUS" - name="STATUS.adl" - args="CH=0" + x_axis { + rangeStyle="user-specified" + maxRange=1024.000000 } - clr=14 - bclr=4 - label="-STATUS" -} -"related display" { - object { - x=860 - y=232 - width=67 - height=20 - } - display[0] { - label="STATUS" - name="STATUS.adl" - args="CH=2" - } - clr=14 - bclr=4 - label="-STATUS" -} -"related display" { - object { - x=860 - y=272 - width=67 - height=20 - } - display[0] { - label="STATUS" - name="STATUS.adl" - args="CH=3" - } - clr=14 - bclr=4 - label="-STATUS" -} -composite { - object { - x=940 - y=152 - width=66 - height=23 - } - "composite name"="" - children { - "choice button" { - object { - x=940 - y=152 - width=50 - height=20 - } - control { - chan="EIB:CH_0_HEYCOMPS" - clr=14 - bclr=4 - } - stacking="column" - } - "text update" { - object { - x=996 - y=155 - width=10 - height=20 - } - monitor { - chan="EIB:CH_0_heycomp" - clr=14 - bclr=4 - } - align="horiz. centered" - limits { - } - } + y1_axis { + minRange=-100.000000 + maxRange=100.000000 } } "choice button" { object { - x=940 - y=192 + x=210 + y=950 + width=50 + height=20 + } + control { + chan="EIB:CH_0_HEYCOMPS" + clr=14 + bclr=4 + } + stacking="column" +} +"text update" { + object { + x=266 + y=950 + width=10 + height=20 + } + monitor { + chan="EIB:CH_0_heycomp" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +"choice button" { + object { + x=490 + y=950 width=50 height=20 } @@ -2544,38 +2064,8 @@ composite { } "text update" { object { - x=996 - y=195 - width=10 - height=20 - } - monitor { - chan="EIB:CH_1_heycomp" - clr=14 - bclr=4 - } - align="horiz. centered" - limits { - } -} -"choice button" { - object { - x=940 - y=232 - width=50 - height=20 - } - control { - chan="EIB:CH_2_HEYCOMPS" - clr=14 - bclr=4 - } - stacking="column" -} -"text update" { - object { - x=996 - y=235 + x=546 + y=950 width=10 height=20 } @@ -2590,8 +2080,38 @@ composite { } "choice button" { object { - x=940 - y=272 + x=770 + y=950 + width=50 + height=20 + } + control { + chan="EIB:CH_2_HEYCOMPS" + clr=14 + bclr=4 + } + stacking="column" +} +"text update" { + object { + x=826 + y=950 + width=10 + height=20 + } + monitor { + chan="EIB:CH_2_heycomp" + clr=14 + bclr=4 + } + align="horiz. centered" + limits { + } +} +"choice button" { + object { + x=1050 + y=950 width=50 height=20 } @@ -2604,8 +2124,8 @@ composite { } "text update" { object { - x=996 - y=275 + x=1106 + y=950 width=10 height=20 } diff --git a/eibApp/adl/STATUS.adl b/eibApp/adl/STATUS.adl index 0cb442e..3d2740d 100644 --- a/eibApp/adl/STATUS.adl +++ b/eibApp/adl/STATUS.adl @@ -5,10 +5,10 @@ file { } display { object { - x=2021 - y=208 - width=500 - height=450 + x=2144 + y=198 + width=1200 + height=600 } clr=14 bclr=7 @@ -87,67 +87,6 @@ display { 1a7309, } } -text { - object { - x=45 - y=392 - width=450 - height=15 - } - "basic attribute" { - clr=64 - } - "dynamic attribute" { - vis="calc" - calc="(A&1)=1" - chan="EIB:CH_$(CH)_STATUS" - } - textix="Valid Position" -} -text { - object { - x=45 - y=392 - width=450 - height=15 - } - "basic attribute" { - clr=14 - } - "dynamic attribute" { - vis="calc" - calc="(A&1)=0" - chan="EIB:CH_$(CH)_STATUS" - } - textix="No valid position" -} -"text update" { - object { - x=80 - y=60 - width=60 - height=20 - } - monitor { - chan="EIB:CH_$(CH)_STATUS" - clr=14 - bclr=7 - } - limits { - } -} -text { - object { - x=10 - y=60 - width=80 - height=20 - } - "basic attribute" { - clr=14 - } - textix="STATUS" -} "text update" { object { x=150 @@ -164,326 +103,6 @@ text { limits { } } -"text update" { - object { - x=150 - y=60 - width=60 - height=20 - } - monitor { - chan="EIB:CH_$(CH)_STATUS" - clr=14 - bclr=7 - } - format="hexadecimal" - limits { - } -} -text { - object { - x=45 - y=112 - width=500 - height=15 - } - "basic attribute" { - clr=14 - } - "dynamic attribute" { - vis="calc" - calc="(A&16384)#0" - chan="EIB:CH_$(CH)_STATUS" - } - textix="Not used" -} -text { - object { - x=45 - y=132 - width=500 - height=15 - } - "basic attribute" { - clr=14 - } - "dynamic attribute" { - vis="calc" - calc="(A&8192)#0" - chan="EIB:CH_$(CH)_STATUS" - } - textix="Limit signal active" -} -text { - object { - x=45 - y=152 - width=500 - height=15 - } - "basic attribute" { - clr=64 - } - "dynamic attribute" { - vis="calc" - calc="(A&4096)#0" - chan="EIB:CH_$(CH)_STATUS" - } - textix="Homing signal active" -} -text { - object { - x=45 - y=172 - width=500 - height=15 - } - "basic attribute" { - clr=22 - } - "dynamic attribute" { - vis="calc" - calc="(A&2048)#0" - chan="EIB:CH_$(CH)_STATUS" - } - textix="Error calc. dist. coded reference / monitor" -} -text { - object { - x=45 - y=192 - width=400 - height=15 - } - "basic attribute" { - clr=14 - } - "dynamic attribute" { - vis="calc" - calc="(A&1024)=0" - chan="EIB:CH_$(CH)_STATUS" - } - textix="Distance coded Reference not valid" -} -text { - object { - x=45 - y=192 - width=500 - height=15 - } - "basic attribute" { - clr=64 - } - "dynamic attribute" { - vis="calc" - calc="(A&1024)#0" - chan="EIB:CH_$(CH)_STATUS" - } - textix="Distance coded Reference valid" -} -text { - object { - x=45 - y=232 - width=400 - height=15 - } - "basic attribute" { - clr=14 - } - "dynamic attribute" { - vis="calc" - calc="(A&256)=0" - chan="EIB:CH_$(CH)_STATUS" - } - textix="Reference 1 missing" -} -text { - object { - x=45 - y=232 - width=450 - height=15 - } - "basic attribute" { - clr=64 - } - "dynamic attribute" { - vis="calc" - calc="(A&256)#0" - chan="EIB:CH_$(CH)_STATUS" - } - textix="Reference 1 saved" -} -text { - object { - x=45 - y=252 - width=450 - height=15 - } - "basic attribute" { - clr=22 - } - "dynamic attribute" { - vis="calc" - calc="(A&128)#0" - chan="EIB:CH_$(CH)_STATUS" - } - textix="Lost tigger" -} -text { - object { - x=45 - y=272 - width=450 - height=15 - } - "basic attribute" { - clr=14 - } - "dynamic attribute" { - vis="calc" - calc="(A&64)#0" - chan="EIB:CH_$(CH)_STATUS" - } - textix="Not used" -} -text { - object { - x=45 - y=292 - width=450 - height=15 - } - "basic attribute" { - clr=22 - } - "dynamic attribute" { - vis="calc" - calc="(A&32)#0" - chan="EIB:CH_$(CH)_STATUS" - } - textix="Fan error" -} -text { - object { - x=45 - y=312 - width=450 - height=15 - } - "basic attribute" { - clr=22 - } - "dynamic attribute" { - vis="calc" - calc="(A&16)#0" - chan="EIB:CH_$(CH)_STATUS" - } - textix="Power supply error" -} -text { - object { - x=45 - y=332 - width=450 - height=15 - } - "basic attribute" { - clr=22 - } - "dynamic attribute" { - vis="calc" - calc="(A&8)#0" - chan="EIB:CH_$(CH)_STATUS" - } - textix="Frequency exceeded" -} -text { - object { - x=45 - y=352 - width=450 - height=15 - } - "basic attribute" { - clr=14 - } - "dynamic attribute" { - vis="calc" - calc="(A&4)#0" - chan="EIB:CH_$(CH)_STATUS" - } - textix="Not used" -} -text { - object { - x=45 - y=372 - width=450 - height=15 - } - "basic attribute" { - clr=22 - } - "dynamic attribute" { - vis="calc" - calc="(A&2)#0" - chan="EIB:CH_$(CH)_STATUS" - } - textix="Signal Amplitude error" -} -text { - object { - x=45 - y=212 - width=250 - height=15 - } - "basic attribute" { - clr=14 - } - "dynamic attribute" { - vis="calc" - calc="(A&512)=0" - chan="EIB:CH_$(CH)_STATUS" - } - textix="Reference 2 missing" -} -text { - object { - x=45 - y=212 - width=450 - height=15 - } - "basic attribute" { - clr=64 - } - "dynamic attribute" { - vis="calc" - calc="(A&512)#0" - chan="EIB:CH_$(CH)_STATUS" - } - textix="Reference 2 saved" -} -byte { - object { - x=20 - y=90 - width=20 - height=320 - } - monitor { - chan="EIB:CH_$(CH)_STATUS" - clr=11 - bclr=7 - } - clrmod="discrete" - direction="down" -} text { object { x=354 @@ -497,75 +116,928 @@ text { } text { object { - x=45 - y=94 - width=450 + x=366 + y=7 + width=120 height=15 } "basic attribute" { clr=14 } - "dynamic attribute" { - vis="calc" - calc="(A&32768)#0" - chan="EIB:CH_$(CH)_STATUS" - } - textix="Not used" + textix="Channel $(CH)" + align="horiz. right" } -polyline { +"text update" { object { - x=16 - y=170 - width=27 - height=0 + x=35 + y=575 + width=20 + height=20 } - "basic attribute" { + monitor { + chan="EIB:CH_$(CH)_refmarks" clr=14 + bclr=7 } - points { - (16,170) - (43,170) + align="horiz. right" + limits { } } -polyline { +composite { object { - x=16 - y=250 - width=27 - height=0 + x=10 + y=80 + width=535 + height=350 } - "basic attribute" { - clr=14 - } - points { - (16,250) - (43,250) + "composite name"="" + children { + composite { + object { + x=16 + y=110 + width=529 + height=320 + } + "composite name"="" + children { + text { + object { + x=45 + y=412 + width=450 + height=15 + } + "basic attribute" { + clr=14 + } + "dynamic attribute" { + vis="calc" + calc="(A&1)=0" + chan="EIB:CH_$(CH)_STATUS" + } + textix="No valid position" + } + text { + object { + x=45 + y=212 + width=500 + height=15 + } + "basic attribute" { + clr=64 + } + "dynamic attribute" { + vis="calc" + calc="(A&1024)#0" + chan="EIB:CH_$(CH)_STATUS" + } + textix="Distance coded Reference valid" + } + composite { + object { + x=16 + y=110 + width=27 + height=320 + } + "composite name"="" + children { + polyline { + object { + x=16 + y=190 + width=27 + height=0 + } + "basic attribute" { + clr=14 + } + points { + (16,190) + (43,190) + } + } + polyline { + object { + x=16 + y=270 + width=27 + height=0 + } + "basic attribute" { + clr=14 + } + points { + (16,270) + (43,270) + } + } + polyline { + object { + x=16 + y=349 + width=27 + height=0 + } + "basic attribute" { + clr=14 + } + points { + (16,349) + (43,349) + } + } + byte { + object { + x=20 + y=110 + width=20 + height=320 + } + monitor { + chan="EIB:CH_$(CH)_STATUS" + clr=11 + bclr=7 + } + clrmod="discrete" + direction="down" + } + } + } + } + } + composite { + object { + x=10 + y=80 + width=535 + height=347 + } + "composite name"="" + children { + text { + object { + x=45 + y=412 + width=450 + height=15 + } + "basic attribute" { + clr=64 + } + "dynamic attribute" { + vis="calc" + calc="(A&1)=1" + chan="EIB:CH_$(CH)_STATUS" + } + textix="Valid Position" + } + "text update" { + object { + x=80 + y=80 + width=60 + height=20 + } + monitor { + chan="EIB:CH_$(CH)_STATUS" + clr=14 + bclr=7 + } + limits { + } + } + "text update" { + object { + x=150 + y=80 + width=60 + height=20 + } + monitor { + chan="EIB:CH_$(CH)_STATUS" + clr=14 + bclr=7 + } + format="hexadecimal" + limits { + } + } + text { + object { + x=45 + y=212 + width=400 + height=15 + } + "basic attribute" { + clr=14 + } + "dynamic attribute" { + vis="calc" + calc="(A&1024)=0" + chan="EIB:CH_$(CH)_STATUS" + } + textix="Distance coded Reference not valid" + } + text { + object { + x=45 + y=252 + width=400 + height=15 + } + "basic attribute" { + clr=14 + } + "dynamic attribute" { + vis="calc" + calc="(A&256)=0" + chan="EIB:CH_$(CH)_STATUS" + } + textix="Reference 1 missing" + } + text { + object { + x=45 + y=252 + width=450 + height=15 + } + "basic attribute" { + clr=64 + } + "dynamic attribute" { + vis="calc" + calc="(A&256)#0" + chan="EIB:CH_$(CH)_STATUS" + } + textix="Reference 1 saved" + } + text { + object { + x=45 + y=272 + width=450 + height=15 + } + "basic attribute" { + clr=22 + } + "dynamic attribute" { + vis="calc" + calc="(A&128)#0" + chan="EIB:CH_$(CH)_STATUS" + } + textix="Lost tigger" + } + text { + object { + x=45 + y=292 + width=450 + height=15 + } + "basic attribute" { + clr=14 + } + "dynamic attribute" { + vis="calc" + calc="(A&64)#0" + chan="EIB:CH_$(CH)_STATUS" + } + textix="Not used" + } + text { + object { + x=45 + y=312 + width=450 + height=15 + } + "basic attribute" { + clr=22 + } + "dynamic attribute" { + vis="calc" + calc="(A&32)#0" + chan="EIB:CH_$(CH)_STATUS" + } + textix="Fan error" + } + text { + object { + x=45 + y=332 + width=450 + height=15 + } + "basic attribute" { + clr=22 + } + "dynamic attribute" { + vis="calc" + calc="(A&16)#0" + chan="EIB:CH_$(CH)_STATUS" + } + textix="Power supply error" + } + text { + object { + x=45 + y=352 + width=450 + height=15 + } + "basic attribute" { + clr=22 + } + "dynamic attribute" { + vis="calc" + calc="(A&8)#0" + chan="EIB:CH_$(CH)_STATUS" + } + textix="Frequency exceeded" + } + text { + object { + x=45 + y=372 + width=450 + height=15 + } + "basic attribute" { + clr=14 + } + "dynamic attribute" { + vis="calc" + calc="(A&4)#0" + chan="EIB:CH_$(CH)_STATUS" + } + textix="Not used" + } + text { + object { + x=45 + y=392 + width=450 + height=15 + } + "basic attribute" { + clr=22 + } + "dynamic attribute" { + vis="calc" + calc="(A&2)#0" + chan="EIB:CH_$(CH)_STATUS" + } + textix="Signal Amplitude error" + } + text { + object { + x=45 + y=232 + width=250 + height=15 + } + "basic attribute" { + clr=14 + } + "dynamic attribute" { + vis="calc" + calc="(A&512)=0" + chan="EIB:CH_$(CH)_STATUS" + } + textix="Reference 2 missing" + } + text { + object { + x=45 + y=232 + width=450 + height=15 + } + "basic attribute" { + clr=64 + } + "dynamic attribute" { + vis="calc" + calc="(A&512)#0" + chan="EIB:CH_$(CH)_STATUS" + } + textix="Reference 2 saved" + } + text { + object { + x=45 + y=114 + width=450 + height=15 + } + "basic attribute" { + clr=14 + } + "dynamic attribute" { + vis="calc" + calc="(A&32768)#0" + chan="EIB:CH_$(CH)_STATUS" + } + textix="Not used" + } + text { + object { + x=45 + y=192 + width=500 + height=15 + } + "basic attribute" { + clr=22 + } + "dynamic attribute" { + vis="calc" + calc="(A&2048)#0" + chan="EIB:CH_$(CH)_STATUS" + } + textix="Error calc. dist. coded reference / monitor" + } + text { + object { + x=45 + y=172 + width=500 + height=15 + } + "basic attribute" { + clr=64 + } + "dynamic attribute" { + vis="calc" + calc="(A&4096)#0" + chan="EIB:CH_$(CH)_STATUS" + } + textix="Homing signal active" + } + text { + object { + x=45 + y=152 + width=500 + height=15 + } + "basic attribute" { + clr=14 + } + "dynamic attribute" { + vis="calc" + calc="(A&8192)#0" + chan="EIB:CH_$(CH)_STATUS" + } + textix="Limit signal active" + } + text { + object { + x=45 + y=132 + width=500 + height=15 + } + "basic attribute" { + clr=14 + } + "dynamic attribute" { + vis="calc" + calc="(A&16384)#0" + chan="EIB:CH_$(CH)_STATUS" + } + textix="Not used" + } + text { + object { + x=10 + y=80 + width=80 + height=20 + } + "basic attribute" { + clr=14 + } + textix="STATUS" + } + } + } } } -polyline { +"text update" { object { - x=16 - y=329 - width=27 - height=0 + x=194 + y=28 + width=120 + height=25 } - "basic attribute" { + monitor { + chan="EIB:CH_$(CH)_NAME" clr=14 + bclr=7 } - points { - (16,329) - (43,329) + align="horiz. centered" + limits { } } +"message button" { + object { + x=124 + y=468 + width=80 + height=20 + } + control { + chan="EIB:CH_$(CH)_DOHOME" + clr=14 + bclr=4 + } + label="WaitForRef" + press_msg="1" +} +"text update" { + object { + x=124 + y=458 + width=80 + height=10 + } + monitor { + chan="EIB:CH_$(CH)_REFACTIVES" + clr=20 + bclr=7 + } + limits { + } +} +"message button" { + object { + x=204 + y=468 + width=50 + height=20 + } + control { + chan="EIB:CH_$(CH)_STOPREF" + clr=14 + bclr=4 + } + label="Abort" + press_msg="1" +} text { object { - x=188 - y=28 - width=130 + x=12 + y=471 + width=90 height=20 } "basic attribute" { clr=14 } - textix="Channel $(CH)" + textix="RefSearch" + align="horiz. centered" +} +text { + object { + x=105 + y=550 + width=100 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Heydemann" + align="horiz. centered" +} +text { + object { + x=9 + y=550 + width=80 + height=20 + } + "basic attribute" { + clr=14 + } + textix="RefMarks" + align="horiz. centered" +} +composite { + object { + x=10 + y=10 + width=80 + height=20 + } + "composite name"="" + children { + "text update" { + object { + x=10 + y=10 + width=80 + height=20 + } + monitor { + chan="EIB:CH_$(CH)_HOMEDS" + clr=20 + bclr=7 + } + align="horiz. centered" + limits { + } + } + } + "dynamic attribute" { + vis="if zero" + chan="EIB:CH_$(CH)_HOMED" + } +} +composite { + object { + x=10 + y=10 + width=80 + height=20 + } + "composite name"="" + children { + "text update" { + object { + x=10 + y=10 + width=80 + height=20 + } + monitor { + chan="EIB:CH_$(CH)_HOMEDS" + clr=15 + bclr=7 + } + align="horiz. centered" + limits { + } + } + } + "dynamic attribute" { + vis="if not zero" + chan="EIB:CH_$(CH)_HOMED" + } +} +"cartesian plot" { + object { + x=775 + y=110 + width=270 + height=251 + } + plotcom { + xlabel="index" + ylabel="correction" + clr=14 + bclr=4 + } + trace[0] { + ydata="EIB:CH_$(CH)_CORRECTION" + data_clr=53 + yaxis=0 + yside=0 + } + x_axis { + rangeStyle="user-specified" + maxRange=1000.000000 + } + y1_axis { + minRange=-100.000000 + maxRange=100.000000 + } +} +composite { + object { + x=475 + y=110 + width=270 + height=301 + } + "composite name"="" + children { + "cartesian plot" { + object { + x=475 + y=110 + width=270 + height=251 + } + plotcom { + xlabel="Analog 0" + ylabel="Analog 90" + clr=14 + bclr=4 + } + trace[0] { + xdata="EIB:CH_$(CH)_ADC00" + ydata="EIB:CH_$(CH)_ADC90" + data_clr=30 + yaxis=0 + yside=0 + } + x_axis { + rangeStyle="user-specified" + maxRange=4000.000000 + } + y1_axis { + rangeStyle="user-specified" + maxRange=4000.000000 + } + } + "message button" { + object { + x=655 + y=360 + width=90 + height=25 + } + control { + chan="EIB:CH_$(CH)_ADDPOINTS" + clr=14 + bclr=5 + } + label="Clear" + press_msg="2" + } + "message button" { + object { + x=565 + y=360 + width=90 + height=25 + } + control { + chan="EIB:CH_$(CH)_ADDPOINTS" + clr=14 + bclr=5 + } + label="StopRec" + press_msg="0" + } + "message button" { + object { + x=475 + y=360 + width=90 + height=25 + } + control { + chan="EIB:CH_$(CH)_ADDPOINTS" + clr=14 + bclr=5 + } + label="StartRec" + press_msg="1" + } + menu { + object { + x=655 + y=386 + width=90 + height=25 + } + control { + chan="EIB:CH_$(CH)_ADC00.SCAN" + clr=14 + bclr=4 + } + } + text { + object { + x=585 + y=390 + width=60 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Update" + align="horiz. centered" + } + } +} +composite { + object { + x=119 + y=575 + width=66 + height=20 + } + "composite name"="" + children { + "choice button" { + object { + x=119 + y=575 + width=50 + height=20 + } + control { + chan="EIB:CH_$(CH)_HEYCOMPS" + clr=14 + bclr=4 + } + stacking="column" + } + "text update" { + object { + x=175 + y=575 + width=10 + height=20 + } + monitor { + chan="EIB:CH_$(CH)_heycomp" + clr=14 + bclr=7 + } + align="horiz. centered" + limits { + } + } + } +} +composite { + object { + x=400 + y=550 + width=61 + height=45 + } + "composite name"="" + children { + text { + object { + x=400 + y=550 + width=60 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Lines" + align="horiz. centered" + } + "text update" { + object { + x=401 + y=575 + width=60 + height=20 + } + monitor { + chan="EIB:CH_$(CH)_lines" + clr=14 + bclr=7 + } + align="horiz. centered" + limits { + } + } + } +} +text { + object { + x=236 + y=550 + width=100 + height=20 + } + "basic attribute" { + clr=14 + } + textix="EIB_comp" + align="horiz. centered" +} +"text update" { + object { + x=260 + y=578 + width=60 + height=20 + } + monitor { + chan="EIB:CH_$(CH)_eibcomps" + clr=14 + bclr=7 + } + align="horiz. centered" + limits { + } } diff --git a/eibApp/src/O.linux-x86_64/EIB.o b/eibApp/src/O.linux-x86_64/EIB.o index 19ef05e..8f403fd 100644 Binary files a/eibApp/src/O.linux-x86_64/EIB.o and b/eibApp/src/O.linux-x86_64/EIB.o differ diff --git a/eibApp/src/O.linux-x86_64/eib b/eibApp/src/O.linux-x86_64/eib index 87ae090..1c9155a 100755 Binary files a/eibApp/src/O.linux-x86_64/eib and b/eibApp/src/O.linux-x86_64/eib differ diff --git a/eibApp/src/O.linux-x86_64/myEIB.o b/eibApp/src/O.linux-x86_64/myEIB.o index c89d476..2dcccb7 100644 Binary files a/eibApp/src/O.linux-x86_64/myEIB.o and b/eibApp/src/O.linux-x86_64/myEIB.o differ diff --git a/eibApp/src/myEIB.c b/eibApp/src/myEIB.c index 1b48588..20f3cf2 100644 --- a/eibApp/src/myEIB.c +++ b/eibApp/src/myEIB.c @@ -397,6 +397,27 @@ else if (!contain(s,"CH_","_lines",&num)) } *val= eib.enc[num].HeyComp; } + else if (!contain(s,"CH_","_CFGERROR",&num)) + { + if ( EIB_ValidEncoder(num) ) + { + printf("SPAL: <%s>, num = %li not available\n",s,num); + return(MON_ERROR); + } + *val=eib.enc[num].ConfigurationError; + } + else if (!contain(s,"CH_","_EIBCOMP",&num)) + { + if ( EIB_ValidEncoder(num) ) + { + printf("SPAL: <%s>, num = %li not available\n",s,num); + return(MON_ERROR); + } + if (eib.enc[num].ConfigurationError) + *val=2; /* die Achse wurde noch nich initialisiert,oder es trat ein Fehler auf */ + else + *val=eib.enc[num].Comp; + } else { printf("EIB_GpaL: Unkown parameter <%s>\n",s); @@ -594,9 +615,11 @@ int i,j; eib.enc [i].iface = 0; eib.enc [i].HOMED = 0; /* hat keine Ref */ eib.enc [i].LastRef = 99; - eib.enc [i].RefPos = 0; + eib.enc [i].RefPos = 0; eib.enc [i].RefActive = 0; eib.enc [i].Interpolation = 4096; + eib.enc [i].ConfigurationError = -1; + EIB_Clear_RingBuffer(i); for (j=0;j> 2 ; if ((index>0)&& (index<1024)) corr = eib.enc[enc_nr].Correction[index]; else corr = 0; - + + position += corr ; + if (verbose==1) printf(" Pos(%i) = %lli fraction %i index = %i correction = %i \n",enc_nr, data.pos, data.interpolate,index, corr ); } -// position = data.pos - data.refc; - position = data.pos - lref; CheckError(EIB7IncrPosToDouble(position,value)); @@ -1922,21 +1950,23 @@ void EIB_ShowEncoder(ENC enc) //Sleep(1); printf(" axis-handle = %i\n",*(enc.axishandle)); - printf(" Name = %s\n", enc.Name); - printf(" Interface = %li\n", enc.iface ); + printf(" Name = %s\n", enc.Name); + printf(" Interface = %li\n", enc.iface); printf(" HOMED = %i (0 no ref, 1 has ref)\n", enc.HOMED); - printf(" SigV = %i\n", enc.SigV); - printf(" RefMarks = %i\n", enc.RefMarks); - printf(" RefSep = %i\n", enc.RefSep); - printf(" RefActive = %i\n", enc.RefActive); - printf(" LastRef = %li\n", enc.LastRef); - printf(" RefcPos = %5.3f\n", enc.RefPos); - printf(" Comp = %i\n", enc.Comp); - printf(" HeyComp = %i\n", enc.HeyComp); - printf(" HeyFile = <%s>\n", enc.HeyFileName); - printf(" NextHist = %i\n", enc.NextHist); - printf(" AddPoints = %i\n", enc.AddPoints); - printf(" Interpolation= %i\n", enc.Interpolation); + printf(" SigV = %i\n", enc.SigV); + printf(" RefMarks = %i\n", enc.RefMarks); + printf(" RefSep = %i\n", enc.RefSep); + printf(" RefActive = %i\n", enc.RefActive); + printf(" LastRef = %li\n", enc.LastRef); + printf(" RefcPos = %5.3f\n", enc.RefPos); + printf(" Comp = %i\n", enc.Comp); + printf(" HeyComp = %i\n", enc.HeyComp); + printf(" HeyFile = <%s>\n", enc.HeyFileName); + printf(" NextHist = %i\n", enc.NextHist); + printf(" AddPoints = %i\n", enc.AddPoints); + printf(" Interpolation= %i\n", enc.Interpolation); + printf(" ConfigurationError = %i\n",enc.ConfigurationError); + switch ( enc.EncType) { case 0 : printf(" EncType = %1i (Linear)\n",enc.EncType); diff --git a/eibApp/src/myEIB.h b/eibApp/src/myEIB.h index 0bb1175..12cb323 100644 --- a/eibApp/src/myEIB.h +++ b/eibApp/src/myEIB.h @@ -57,7 +57,9 @@ struct T_enc unsigned int Interpolation; /* 4096 default */ int HeyComp; /* Heydemanncompensation off=0, on=1 */ char HeyFileName[120]; - HEYARRAY Correction; + HEYARRAY Correction; + int ConfigurationError; /* Falls bei der Konfiguration des Encoders etwas schiefgeht (1) */ + /* oder er noch nicht konfiguriert ist (-1), oder alles i.o ist (0) */ }; typedef struct T_eib EIB; diff --git a/iocBoot/ioceib/EIB.CFG b/iocBoot/ioceib/EIB.CFG index 237538c..ebe9c9d 100644 --- a/iocBoot/ioceib/EIB.CFG +++ b/iocBoot/ioceib/EIB.CFG @@ -8,7 +8,7 @@ # RON E0_Name "RON" - E0_iface 2049 + E0_iface 2049 # incremental encoder, 11 uA E0_RefMarks 1 # How meany reference marks (1 standard,2 = distance coded) E0_EncType 1 # 0 linear, 1 rotary E0_Lines 36000 # per mm for AxeType = 0, per revolution for AxeType = 1: @@ -19,7 +19,7 @@ # X05DA E1_Name "X05DA" - E1_iface 1 + E1_iface 1 # incremental encoder 1 Vpp E1_RefMarks 2 # How meany reference marks (1 standard,2 = distance coded) E1_EncType 1 # 0 linear, 1 rotary E1_Lines 36000 # per mm for AxeType = 0, per revolution for AxeType = 1: @@ -31,7 +31,7 @@ # ROD E2_Name "ROD" - E2_iface 1 + E2_iface 1 # incremental encoder 1 Vpp E2_RefMarks 1 # How meany reference marks (1 standard,2 = distance coded) E2_EncType 1 # 0 linear, 1 rotary E2_Lines 3600 # per mm for AxeType = 0, per revolution for AxeType = 1: