Skip to content

Commit 631fb28

Browse files
authored
Merge pull request #501 from areaDetector/sim_cam_image-screens
add BOB screen for ADSimDetector PVA image
2 parents eef28de + 2745c09 commit 631fb28

File tree

1 file changed

+191
-0
lines changed

1 file changed

+191
-0
lines changed

ADApp/op/bob/sim_cam_image.bob

Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,191 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--Saved on 2024-01-03 16:56:56 by prjemian-->
3+
<display version="2.0.0">
4+
<name>Display</name>
5+
<width>400</width>
6+
<widget type="label" version="2.0.0">
7+
<name>Label</name>
8+
<class>TITLE</class>
9+
<text>Image - $(P)</text>
10+
<x use_class="true">0</x>
11+
<y use_class="true">0</y>
12+
<width>400</width>
13+
<height>31</height>
14+
<font use_class="true">
15+
<font name="Header 1" family="Liberation Sans" style="BOLD" size="22.0">
16+
</font>
17+
</font>
18+
<foreground_color use_class="true">
19+
<color name="Text" red="0" green="0" blue="0">
20+
</color>
21+
</foreground_color>
22+
<transparent use_class="true">true</transparent>
23+
<horizontal_alignment>1</horizontal_alignment>
24+
</widget>
25+
<widget type="textupdate" version="2.0.0">
26+
<name>Text Update</name>
27+
<pv_name>$(P)$(R)DetectorState_RBV</pv_name>
28+
<x>120</x>
29+
<y>31</y>
30+
</widget>
31+
<widget type="image" version="2.0.0">
32+
<name>Image_1</name>
33+
<pv_name>pva://$(P)Pva1:Image</pv_name>
34+
<y>70</y>
35+
<height>400</height>
36+
<color_map>
37+
<name>GRAY</name>
38+
</color_map>
39+
<x_axis>
40+
<visible>true</visible>
41+
<title>X</title>
42+
<minimum>0.0</minimum>
43+
<maximum>1023.0</maximum>
44+
<title_font>
45+
<font name="Default Bold" family="Liberation Sans" style="BOLD" size="14.0">
46+
</font>
47+
</title_font>
48+
<scale_font>
49+
<font name="Default" family="Liberation Sans" style="REGULAR" size="14.0">
50+
</font>
51+
</scale_font>
52+
</x_axis>
53+
<y_axis>
54+
<visible>true</visible>
55+
<title>Y</title>
56+
<minimum>0.0</minimum>
57+
<maximum>1023.0</maximum>
58+
<title_font>
59+
<font name="Default Bold" family="Liberation Sans" style="BOLD" size="14.0">
60+
</font>
61+
</title_font>
62+
<scale_font>
63+
<font name="Default" family="Liberation Sans" style="REGULAR" size="14.0">
64+
</font>
65+
</scale_font>
66+
</y_axis>
67+
<data_width>1024</data_width>
68+
<data_height>1024</data_height>
69+
<unsigned>true</unsigned>
70+
</widget>
71+
<widget type="textupdate" version="2.0.0">
72+
<name>Text Update_1</name>
73+
<pv_name>$(P)cam1:StatusMessage_RBV</pv_name>
74+
<x>240</x>
75+
<y>31</y>
76+
<width>150</width>
77+
<format>6</format>
78+
</widget>
79+
<widget type="led" version="2.0.0">
80+
<name>LED</name>
81+
<pv_name>$(P)$(R)Acquire</pv_name>
82+
<x>160</x>
83+
<y>480</y>
84+
</widget>
85+
<widget type="checkbox" version="2.0.0">
86+
<name>Check Box</name>
87+
<pv_name>$(P)Pva1:EnableCallbacks</pv_name>
88+
<label>PVA</label>
89+
<x>10</x>
90+
<y>510</y>
91+
<width>70</width>
92+
</widget>
93+
<widget type="action_button" version="3.0.0">
94+
<name>Action Button</name>
95+
<actions>
96+
<action type="write_pv">
97+
<pv_name>$(pv_name)</pv_name>
98+
<value>1</value>
99+
<description>Start</description>
100+
</action>
101+
</actions>
102+
<pv_name>$(P)$(R)Acquire</pv_name>
103+
<x>100</x>
104+
<y>480</y>
105+
<width>50</width>
106+
<height>20</height>
107+
<tooltip>$(actions)</tooltip>
108+
</widget>
109+
<widget type="action_button" version="3.0.0">
110+
<name>Action Button_1</name>
111+
<actions>
112+
<action type="write_pv">
113+
<pv_name>$(pv_name)</pv_name>
114+
<value>0</value>
115+
<description>Stop</description>
116+
</action>
117+
</actions>
118+
<pv_name>$(P)$(R)Acquire</pv_name>
119+
<x>100</x>
120+
<y>510</y>
121+
<width>50</width>
122+
<height>20</height>
123+
<tooltip>$(actions)</tooltip>
124+
</widget>
125+
<widget type="textentry" version="3.0.0">
126+
<name>Text Entry</name>
127+
<pv_name>$(P)$(R)AcquireTime</pv_name>
128+
<x>200</x>
129+
<y>480</y>
130+
<width>70</width>
131+
</widget>
132+
<widget type="label" version="2.0.0">
133+
<name>Label_1</name>
134+
<text>exposure, s</text>
135+
<x>180</x>
136+
<y>510</y>
137+
<width>90</width>
138+
<horizontal_alignment>2</horizontal_alignment>
139+
</widget>
140+
<widget type="textupdate" version="2.0.0">
141+
<name>Text Update_2</name>
142+
<pv_name>$(P)$(R)ArrayCounter_RBV</pv_name>
143+
<x>290</x>
144+
<y>480</y>
145+
<horizontal_alignment>2</horizontal_alignment>
146+
</widget>
147+
<widget type="textupdate" version="2.0.0">
148+
<name>Text Update_3</name>
149+
<pv_name>$(P)$(R)ArrayRate_RBV</pv_name>
150+
<x>290</x>
151+
<y>510</y>
152+
<horizontal_alignment>2</horizontal_alignment>
153+
</widget>
154+
<widget type="action_button" version="3.0.0">
155+
<name>Action Button_3</name>
156+
<actions>
157+
<action type="open_display">
158+
<file>simDetector.bob</file>
159+
<macros>
160+
<P>$(P)</P>
161+
<R>$(R)</R>
162+
</macros>
163+
<target>tab</target>
164+
<description>ADSimDetector</description>
165+
</action>
166+
<action type="open_display">
167+
<file>ADBase.bob</file>
168+
<macros>
169+
<P>$(P)</P>
170+
<R>$(R)</R>
171+
</macros>
172+
<target>tab</target>
173+
<description>ADBase</description>
174+
</action>
175+
<action type="open_display">
176+
<file>commonPlugins.bob</file>
177+
<macros>
178+
<P>$(P)</P>
179+
</macros>
180+
<target>tab</target>
181+
<description>common plugins</description>
182+
</action>
183+
</actions>
184+
<text>more ...</text>
185+
<x>10</x>
186+
<y>480</y>
187+
<width>60</width>
188+
<height>20</height>
189+
<tooltip>$(actions)</tooltip>
190+
</widget>
191+
</display>

0 commit comments

Comments
 (0)