| 1 |
<plugin resizable="true"> |
| 2 |
<hbox spacing="4"> |
| 3 |
<vbox spacing="4" expand="true"> |
| 4 |
<!-- Fast Control --> |
| 5 |
<align halign="-1"> |
| 6 |
<button id="freeze" text="actions.freeze" ui:inject="Button_cyan" height="22" bg.color="bg_schema" pad.h="6" pad.v="4"/> |
| 7 |
</align> |
| 8 |
|
| 9 |
<group ui:inject="GraphGroup" ipadding="0" expand="true" fill="true" text="labels.graphs.oscilloscope"> |
| 10 |
<graph width.min="550" height.min="550" expand="true"> |
| 11 |
<!-- Origin --> |
| 12 |
<origin halign="0.0" valign="0.0" visible="false"/> |
| 13 |
|
| 14 |
<!-- Alt 2 color --> |
| 15 |
<ui:for id="i" first="-31" last="31"> |
| 16 |
<ui:if test=":i mod 4"> |
| 17 |
<marker v="${:i * 0.03125}" ox="1" oy="0" color="graph_alt_4"/> |
| 18 |
<marker v="${:i * 0.03125}" color="graph_alt_4"/> |
| 19 |
</ui:if> |
| 20 |
</ui:for> |
| 21 |
|
| 22 |
<!-- Alt 1 color --> |
| 23 |
<ui:for id="i" first="-7" last="7"> |
| 24 |
<ui:if test=":i mod 4"> |
| 25 |
<marker v="${:i * 0.125}" ox="1" oy="0" color="graph_alt_1"/> |
| 26 |
<marker v="${:i * 0.125}" color="graph_alt_1"/> |
| 27 |
</ui:if> |
| 28 |
</ui:for> |
| 29 |
|
| 30 |
<marker v="0" dy=":_a_width" dx="+:_a_height" color="graph_alt_1" smooth="true"/> |
| 31 |
<marker v="0" dy=":_a_width" dx="-:_a_height" color="graph_alt_1" smooth="true"/> |
| 32 |
|
| 33 |
<!-- Secondary color --> |
| 34 |
<ui:for id="i" first="-1" last="1"> |
| 35 |
<ui:if test=":i mod 2"> |
| 36 |
<marker v="${:i * 0.5}" ox="1" oy="0" color="graph_sec"/> |
| 37 |
<marker v="${:i * 0.5}" color="graph_sec"/> |
| 38 |
</ui:if> |
| 39 |
</ui:for> |
| 40 |
|
| 41 |
<!-- Axes --> |
| 42 |
<axis min="-1.0" max="1.0" color="graph_prim" angle="0.0" log="false"/> |
| 43 |
<axis min="-1.0" max="1.0" color="graph_prim" angle="0.5" log="false"/> |
| 44 |
|
| 45 |
<!-- Streams --> |
| 46 |
<stream id="oscv_1" width="2" color="graph_mesh" smooth="true" strobe="true" strobes=":sh_sz" dots.max=":maxdots"/> |
| 47 |
|
| 48 |
<!-- Trigger References --> |
| 49 |
<marker |
| 50 |
v=":trlv_1 * 0.01 + :veps_1 * 0.01" |
| 51 |
basis="1" |
| 52 |
parallel="0" |
| 53 |
color="graph_marker" |
| 54 |
visibility="(:scmo_1 ieq 1) and ((:trtp_1 ieq 1) or (:trtp_1 ieq 2))"/> |
| 55 |
<marker |
| 56 |
v=":trlv_1 * 0.01 + :veps_1 * 0.01 - 2 * :trhy_1 * 0.01" |
| 57 |
ox="1" |
| 58 |
oy="0" |
| 59 |
color="graph_marker" |
| 60 |
visibility="(:scmo_1 ieq 1) and ((:trtp_1 ieq 3) or (:trtp_1 ieq 4))"/> |
| 61 |
<marker |
| 62 |
v=":trlv_1 * 0.01 + :veps_1 * 0.01 + 2 * :trhy_1 * 0.01" |
| 63 |
ox="1" |
| 64 |
oy="0" |
| 65 |
color="graph_marker" visibility="(:scmo_1 ieq 1) and ((:trtp_1 ieq 3) or (:trtp_1 ieq 4))"/> |
| 66 |
<marker |
| 67 |
v=":hzps_1 * 0.01" |
| 68 |
color="graph_marker" |
| 69 |
visibility=":scmo_1 ieq 1"/> |
| 70 |
|
| 71 |
<!-- Text --> |
| 72 |
<ui:with y="-1" halign="1" valign="1"> |
| 73 |
<text x="-1" text="graph.axis.x"/> |
| 74 |
<text x="-0.75" text="-0.75"/> |
| 75 |
<text x="-0.5" text="-0.5"/> |
| 76 |
<text x="-0.25" text="-0.25"/> |
| 77 |
<text x="0" text="0"/> |
| 78 |
<text x="0.25" text="0.25"/> |
| 79 |
<text x="0.5" text="0.5"/> |
| 80 |
<text x="0.75" text="0.75"/> |
| 81 |
<text x="1" text="1" halign="-1"/> |
| 82 |
</ui:with> |
| 83 |
|
| 84 |
<ui:with x="-1" halign="1" valign="-1"> |
| 85 |
<text y="-0.75" text="-0.75"/> |
| 86 |
<text y="-0.5" text="-0.5"/> |
| 87 |
<text y="-0.25" text="-0.25"/> |
| 88 |
<text y="0" text="0"/> |
| 89 |
<text y="0.25" text="0.25"/> |
| 90 |
<text y="0.5" text="0.5"/> |
| 91 |
<text y="0.75" text="0.75"/> |
| 92 |
<text y="1" text="graph.axis.y"/> |
| 93 |
</ui:with> |
| 94 |
</graph> |
| 95 |
</group> |
| 96 |
|
| 97 |
<hbox> |
| 98 |
<hbox bg.color="bg_schema" pad.v="4" pad.h="6" spacing="6"> |
| 99 |
<label text="labels.history"/> |
| 100 |
<fader id="sh_sz" angle="0" expand="true"/> |
| 101 |
<value id="sh_sz" sline="true" width="12"/> |
| 102 |
</hbox> |
| 103 |
<vsep pad.h="2" bg.color="bg" hreduce="true"/> |
| 104 |
<hbox bg.color="bg_schema" pad.v="4" pad.h="6" spacing="6"> |
| 105 |
<label text="labels.oscilloscope.xy_sweep"/> |
| 106 |
<fader id="xyrt" angle="0" expand="true"/> |
| 107 |
<value id="xyrt" sline="true" width="40"/> |
| 108 |
</hbox> |
| 109 |
<vsep pad.h="2" bg.color="bg" hreduce="true"/> |
| 110 |
<hbox bg.color="bg_schema" pad.v="4" pad.h="6" spacing="6"> |
| 111 |
<label text="labels.oscilloscope.max_dots"/> |
| 112 |
<fader id="maxdots" angle="0" expand="true"/> |
| 113 |
<value id="maxdots" sline="true" width="30"/> |
| 114 |
</hbox> |
| 115 |
</hbox> |
| 116 |
|
| 117 |
<!-- Params --> |
| 118 |
<align halign="-1"> |
| 119 |
<hbox bg.color="bg_schema" > |
| 120 |
<hbox spacing="4" pad.h="6" pad.v="4"> |
| 121 |
<label text="labels.oscilloscope.H_orizontal" font.size="10"/> |
| 122 |
<vsep color="text_prim" hreduce="true"/> |
| 123 |
<label text="labels.oscilloscope.V_ertical" font.size="10"/> |
| 124 |
<vsep color="text_prim" hreduce="true"/> |
| 125 |
<label text="labels.oscilloscope.T_ime" font.size="10"/> |
| 126 |
</hbox> |
| 127 |
|
| 128 |
|
| 129 |
<void bg.color="bg" width="4" hreduce="true"/> |
| 130 |
|
| 131 |
<hbox spacing="2" height="10" pad.h="6"> |
| 132 |
<value id="hzdv_1" sline="true" font.size="10" color="cyan" width="30" /> |
| 133 |
<vsep color="cyan" hreduce="true"/> |
| 134 |
<value id="vedv_1" sline="true" font.size="10" color="cyan" width="30" /> |
| 135 |
<vsep color="cyan" hreduce="true"/> |
| 136 |
<value id="tmdv_1" sline="true" font.size="10" color="cyan" width="50" /> |
| 137 |
</hbox> |
| 138 |
<void bg.color="bg" width="4" hreduce="true"/> |
| 139 |
</hbox> |
| 140 |
</align> |
| 141 |
</vbox> |
| 142 |
|
| 143 |
<!-- Channels --> |
| 144 |
<grid rows="21" cols="4"> |
| 145 |
|
| 146 |
<!-- Row 1 --> |
| 147 |
<align halign="1"> |
| 148 |
<label bg.color="bg_schema" text="groups.oscilloscope.operation" pad.h="6"/> |
| 149 |
</align> |
| 150 |
<cell rows="21"> |
| 151 |
<void bg.color="bg" width="4" hreduce="true"/> |
| 152 |
</cell> |
| 153 |
<cell bg.color="osc_bg_gray" cols="2"> |
| 154 |
<label bg.color="bg_schema"/> |
| 155 |
</cell> |
| 156 |
|
| 157 |
<!-- Row 2 --> |
| 158 |
<align halign="1"> |
| 159 |
<label bg.color="bg_schema" text="labels.oscilloscope.oversampler_mode" pad.h="6"/> |
| 160 |
</align> |
| 161 |
<cell cols="2"> |
| 162 |
<combo id="ovmo_1" bg.color="osc_bg_gray" pad.h="6"/> |
| 163 |
</cell> |
| 164 |
|
| 165 |
<!-- Row 3 --> |
| 166 |
<align halign="1"> |
| 167 |
<label bg.color="bg_schema" text="labels.oscilloscope.mode" pad.h="6"/> |
| 168 |
</align> |
| 169 |
<cell cols="2"> |
| 170 |
<combo id="scmo_1" bg.color="osc_bg_gray" pad.h="6" pad.b="1"/> |
| 171 |
</cell> |
| 172 |
|
| 173 |
<!-- Row 4 --> |
| 174 |
<void color="bg" height="4" vreduce="true"/> |
| 175 |
<cell cols="2"> |
| 176 |
<void color="bg" height="4" vreduce="true"/> |
| 177 |
</cell> |
| 178 |
|
| 179 |
<!-- Row 5 --> |
| 180 |
<align halign="1"> |
| 181 |
<label bg.color="bg_schema" text="labels.oscilloscope.sweep_type" pad.h="6"/> |
| 182 |
</align> |
| 183 |
<cell cols="2"> |
| 184 |
<combo id="swtp_1" bg.color="osc_bg_gray" pad.h="6" pad.t="1"/> |
| 185 |
</cell> |
| 186 |
|
| 187 |
<!-- Row 6 --> |
| 188 |
<void bg.color="bg_schema"/> |
| 189 |
<label text="labels.oscilloscope.division" bg.color="osc_bg_gray" /> |
| 190 |
<label text="labels.oscilloscope.position" bg.color="osc_bg_gray" /> |
| 191 |
|
| 192 |
<!-- Row 7 --> |
| 193 |
<align halign="1"> |
| 194 |
<label bg.color="bg_schema" text="labels.oscilloscope.horizontal" pad.h="6"/> |
| 195 |
</align> |
| 196 |
<hbox> |
| 197 |
<knob id="hzdv_1" size="25" bg.color="osc_bg_gray" visibility=":scmo_1 ine 1"/> |
| 198 |
<knob id="tmdv_1" size="25" bg.color="osc_bg_gray" visibility=":scmo_1 ieq 1"/> |
| 199 |
</hbox> |
| 200 |
<knob id="hzps_1" size="25" bg.color="osc_bg_gray"/> |
| 201 |
|
| 202 |
<!-- Row 8 --> |
| 203 |
<void bg.color="bg_schema"/> |
| 204 |
<hbox > |
| 205 |
<value id="hzdv_1" sline="true" bg.color="osc_bg_gray" visibility=":scmo_1 ine 1"/> |
| 206 |
<value id="tmdv_1" sline="true" bg.color="osc_bg_gray" visibility=":scmo_1 ieq 1"/> |
| 207 |
</hbox> |
| 208 |
<value id="hzps_1" sline="true" bg.color="osc_bg_gray"/> |
| 209 |
|
| 210 |
<!-- Row 9 --> |
| 211 |
<align halign="1"> |
| 212 |
<label bg.color="bg_schema" text="labels.oscilloscope.vertical" pad.h="6"/> |
| 213 |
</align> |
| 214 |
<knob id="vedv_1" size="25" bg.color="osc_bg_gray"/> |
| 215 |
<knob id="veps_1" size="25" bg.color="osc_bg_gray"/> |
| 216 |
|
| 217 |
<!-- Row 10 --> |
| 218 |
<void bg.color="bg_schema"/> |
| 219 |
<value id="vedv_1" sline="true" bg.color="osc_bg_gray" pad.b="2"/> |
| 220 |
<value id="veps_1" sline="true" bg.color="osc_bg_gray" pad.b="2"/> |
| 221 |
|
| 222 |
<!-- Row 11 --> |
| 223 |
<void bg.color="bg" height="4" vreduce="true"/> |
| 224 |
<cell cols="2"> |
| 225 |
<void bg.color="bg" height="4" vreduce="true"/> |
| 226 |
</cell> |
| 227 |
|
| 228 |
<!-- Row 12 --> |
| 229 |
<align halign="1"> |
| 230 |
<label bg.color="bg_schema" text="groups.oscilloscope.trigger" pad.h="6"/> |
| 231 |
</align> |
| 232 |
<cell cols="2" bg.color="osc_bg_gray"> |
| 233 |
<void bg.color="bg"/> |
| 234 |
</cell> |
| 235 |
|
| 236 |
<!-- Row 13 --> |
| 237 |
<align halign="1"> |
| 238 |
<label bg.color="bg_schema" text="labels.oscilloscope.trigger_level" pad.h="6"/> |
| 239 |
</align> |
| 240 |
<knob id="trlv_1" size="25" bg.color="osc_bg_gray"/> |
| 241 |
<value id="trlv_1" sline="true" bg.color="osc_bg_gray"/> |
| 242 |
|
| 243 |
<!-- Row 14 --> |
| 244 |
<align halign="1"> |
| 245 |
<label bg.color="bg_schema" text="labels.oscilloscope.trigger_hysteresis" pad.h="6"/> |
| 246 |
</align> |
| 247 |
<knob id="trhy_1" size="25" bg.color="osc_bg_gray"/> |
| 248 |
<value id="trhy_1" sline="true" bg.color="osc_bg_gray"/> |
| 249 |
|
| 250 |
<!-- Row 15 --> |
| 251 |
<align halign="1"> |
| 252 |
<label bg.color="bg_schema" text="labels.oscilloscope.trigger_hold_time" pad.h="6"/> |
| 253 |
</align> |
| 254 |
<knob id="trho_1" size="25" bg.color="osc_bg_gray"/> |
| 255 |
<value id="trho_1" sline="true" bg.color="osc_bg_gray"/> |
| 256 |
|
| 257 |
<!-- Row 16 --> |
| 258 |
<align halign="1"> |
| 259 |
<label bg.color="bg_schema" text="labels.oscilloscope.trigger_input" pad.h="6"/> |
| 260 |
</align> |
| 261 |
<combo id="trin_1" fill="false" bg.color="osc_bg_gray" width="55" pad.h="6"/> |
| 262 |
<align halign="1"> |
| 263 |
<button id="trre_1" text="actions.run_stop" ui:inject="Button_gray" pad.r="6" hfill="false" width="55" height="22" bg.color="osc_bg_gray" editable="(:trmo_1 ilt 2) and (:scmo_1 ieq 1))" pointer="((:trmo_1 ilt 2) and (:scmo_1 ieq 1)) ? 'hand' : 'arrow'" bright="((:trmo_1 ilt 2) and (:scmo_1 ieq 1)) ? 1 : 0.75"/> |
| 264 |
</align> |
| 265 |
|
| 266 |
<!-- Row 17 --> |
| 267 |
<align halign="1"> |
| 268 |
<label bg.color="bg_schema" text="labels.oscilloscope.trigger_mode" pad.h="6"/> |
| 269 |
</align> |
| 270 |
<cell cols="2"> |
| 271 |
<combo id="trmo_1" bg.color="osc_bg_gray" pad.h="6"/> |
| 272 |
</cell> |
| 273 |
|
| 274 |
<!-- Row 18 --> |
| 275 |
<align halign="1"> |
| 276 |
<label bg.color="bg_schema" text="labels.oscilloscope.trigger_type" pad.h="6"/> |
| 277 |
</align> |
| 278 |
<cell cols="2"> |
| 279 |
<combo id="trtp_1" bg.color="osc_bg_gray" pad.h="6" pad.b="1"/> |
| 280 |
</cell> |
| 281 |
|
| 282 |
<!-- Row 19 --> |
| 283 |
<void bg.color="bg" height="4" vreduce="true"/> |
| 284 |
<cell cols="2"> |
| 285 |
<void bg.color="bg" height="4" vreduce="true"/> |
| 286 |
</cell> |
| 287 |
|
| 288 |
<!-- Row 20 --> |
| 289 |
<align halign="1"> |
| 290 |
<label bg.color="bg_schema" text="groups.oscilloscope.coupling" pad.h="6"/> |
| 291 |
</align> |
| 292 |
<cell cols="2" bg.color="osc_bg_gray"> |
| 293 |
<void color="bg" height.min="4"/> |
| 294 |
</cell> |
| 295 |
|
| 296 |
<!-- Row 21 --> |
| 297 |
<align halign="1"> |
| 298 |
<label bg.color="bg_schema" text="labels.X_Y_EXT" pad.h="6" /> |
| 299 |
</align> |
| 300 |
<cell cols="2" bg.color="osc_bg_gray" > |
| 301 |
<hbox fill="true" pad.h="6" spacing="4" pad.b="1"> |
| 302 |
<combo id="sccx_1" /> |
| 303 |
<combo id="sccy_1" /> |
| 304 |
<combo id="scce_1" /> |
| 305 |
</hbox> |
| 306 |
</cell> |
| 307 |
</grid> |
| 308 |
</hbox> |
| 309 |
</plugin> |