Debian Codegraph @

modules/lsp-plugins-oscilloscope/src/doc/manuals/plugins/oscilloscope.php

raw
1 <?php
2 plugin_header();
3
4 $x1 = strpos($PAGE, '_x1') > 0;
5 $x2 = strpos($PAGE, '_x2') > 0;
6 $x4 = strpos($PAGE, '_x4') > 0;
7 ?>
8
9 <p>
10 This plugin implements a simple, but flexible, oscilloscope.
11 </p>
12
13 <p>
14 <? if ($x1) { ?>
15 The oscilloscope channel has the following features:
16 <? } else { ?>
17 Each oscilloscope channel has the following features:
18 <? } ?>
19 </p>
20 <ul>
21 <li><b>X</b> input channel.</li>
22 <li><b>X</b> output channel.</li>
23 <li><b>Y</b> input channel.</li>
24 <li><b>Y</b> output channel.</li>
25 <li><b>EXT</b> input channel.</li>
26 <li><b>Triggered</b> operation.</li>
27 <li><b>XY</b> operation.</li>
28 <li><b>Goniometer</b> operation.</li>
29 </ul>
30 <p>
31 The <b>X</b> channel is used to drive the horizontal coordinate of the trace plotted on the oscilloscope graph in
32 <b>XY</b> and <b>Goniometer</b> operation. In <b>Triggered</b> mode the horizontal coordinate is driven by an
33 internal sweep generator.
34 </p>
35 <p>
36 The <b>Y</b> channel is used to drive the vertical coordinate of the trace plotted on the oscilloscope graph.
37 </p>
38 <p>
39 The <b>EXT</b> (external) channel is an alternative channel that can be used to drive the trigger.
40 </p>
41 <p>
42 All channels can be freely oversampled and passed through a DC blocking filter.
43 </p>
44 <p>
45 In a more general fashion with respect most scopes, each channel has a full set of channels and can have a different
46 timebase. Multichannel scopes also have general controls that can be used to override multiple channels.
47 </p>
48
49 <p><b>Controls:</b></p>
50
51 <p><b>'OSCILLOSCOPE GRAPH' section:</b></p>
52 <p>
53 The Oscilloscope Graph and the controls above and below it are documented below.
54 </p>
55 <ul>
56 <li>
57 <b>OSCILLOSCOPE GRAPH</b> - This graph will show the various traces the oscilloscope is able to produce.
58 The graticule shows bright lines and faint lines. The <b>Divisions</b>, both vertical and horizontal, are shown as bright lines.
59 </li>
60 <li>
61 <b>Freeze Controls</b> - These controls are available on the top left of the oscilloscope graph. Use these
62 controls to freeze the entire scope graph (<b>Freeze</b> button) or single channels with the dedicated buttons
63 (for multichannel versions).
64 </li>
65 <li>
66 <b>Mute/Solo Controls</b> - These controls are available for multichannel scopes on the top right of the oscilloscope
67 graph. They allow to set each individual channel to solo or mute.
68 </li>
69 <li>
70 <b>History</b> - This control, located at the bottom of the oscilloscope graph, allows the user to set the amount of
71 previous traces that are allowed to persist on the oscilloscope graph together with the current trace. Older traces
72 are plotted with progressive transparency. For stable signals, the resulting effect is akin to that of the persistency
73 of analog scopes.
74 </li>
75 <li>
76 <b>XY Sweep</b> - This control, located at the bottom of the oscilloscope graph, is enabled only for <b>XY</b> and
77 <b>Goniometer</b> modes. In these modes, it controls the amount of memory the oscilloscope uses to draw the traces.
78 </li>
79 <li>
80 <b>Max Dots</b> - This control, located at the bottom of the oscilloscope graph, allows the user to tune the amount of
81 dots that are used to draw the traces on the oscilloscope graph. The higher number of dots can produce smoother traces, but
82 at the expenses of UI load.
83 </li>
84 <li>
85 <b>H|V|T Labels</b> - These labels mirror the values of division chosen by the user on the main scopes settings -
86 <b>horizontal</b>, <b>vertical</b> and <b>time</b>. They are located at the bottom of the oscilloscope graph for quick
87 reference.
88 </li>
89 </ul>
90
91 <p><b>'Controls' section:</b></p>
92 <p>
93 This section, located at the rigtmost side of the UI, contains the main oscilloscope controls.
94 </p>
95 <ul>
96 <li>
97 <b>Channel Selector</b> - For multichannel scopes, this control is located at the top right of the UI and is used
98 to select the channel on which the controls below will operate.
99 </li>
100 <li>
101 <b>Freeze/Solo/Mute</b> - These buttons are used to set the selected channel to <b>Freeze</b>, <b>Solo</b> end
102 <b>Mute</b> respectively.
103 </li>
104 <li>
105 <b>Oversampler</b> - This control is used to select the oversampler mode. High oversampling produces smoother traces.
106 Available modes are below.
107 </li>
108 <ul>
109 <li><b>None</b> - oversampling is not used.</li>
110 <li><b>x2</b> - 2x downsampling.</li>
111 <li><b>x3</b> - 3x downsampling.</li>
112 <li><b>x4</b> - 4x downsampling.</li>
113 <li><b>x6</b> - 6x downsampling.</li>
114 <li><b>x8</b> - 8x downsampling.</li>
115 </ul>
116 <li>
117 <b>Mode</b> - This control sets the main oscilloscope mode. The following modes are available:
118 </li>
119 </li>
120 <ul>
121 <li>
122 <b>XY</b> - In this mode the the trace horizontal coordinate is driven by the channel <b>X</b> input, while the vertical
123 trace coordinate is driven by the channel <b>Y</b> input.
124 </li>
125 <li>
126 <b>Triggered</b> - In this mode the trace horizontal coordinate is driven by the internal sweep generator, which is in
127 turn controlled by the channel trigger, while the trace vertical coordinate is driven by the channel <b>Y</b> input.
128 </li>
129 <li>
130 <b>Goniometer</b> - In this mode the trace horizontal coordinate is driven by half of the sum of the <b>X</b> and <b>Y</b>
131 inputs, the vertical trace coordinate is driven by half their difference.
132 </li>
133 </ul>
134 <li>
135 <b>Sweep Type</b> - This control is active in <b>Triggered</b> mode and sets the type of sweep signals which drives the trace
136 X value. The sweeps are initiated when the trigger fires and, after completion, remain dormant until the next trigger fire is
137 allowed. The following types are available.
138 </li>
139 <ul>
140 <li><b>Sawtooth</b> - The sweep is a sawtooth wave.</li>
141 <li><b>Triangular</b> - The sweep is a triangular wave.</li>
142 <li><b>Sine</b> - The sweep is a sine wave.</li>
143 </ul>
144 <li>
145 <b>Horizontal</b> - These controls allow tuning of the horizontal trace properties. The available controls are listed below.
146 </li>
147 <ul>
148 <li>
149 <b>Division</b> - In <b>Triggered</b> mode, this control sets the size, in milliseconds, of the horizontal division value
150 in the oscilloscope graph. In <b>XY</b> and <b>Goniometer</b> instead it controls, in units of amplitude, the horizontal
151 division value in the oscilloscope graph.
152 </li>
153 <li>
154 <b>Position</b> - This trigger allows to introduce an horizontal shift in the trace. The shift is specified as a percentage
155 of the half horizontal span of the oscilloscope graph.
156 </li>
157 </ul>
158 <li>
159 <b>Vertical</b> - These controls allow tuning of the vertical trace properties. The available controls are listed below.
160 </li>
161 <ul>
162 <li><b>Division</b> - This control sets, in units of amplitude, the vertical division value in the oscilloscope graph.</li>
163 <li>
164 <b>Position</b> - This trigger allows to introduce a vertical shift in the trace. The shift is specified as a percentage of
165 the half vertical span of the oscilloscope graph.
166 </li>
167 </ul>
168 <li>
169 <b>Trigger</b> - These controls tune the channel trigger. They are active only in <b>Triggered</b> mode.
170 </li>
171 <ul>
172 <li>
173 <b>Level</b> - This control sets the level of the trigger. The level is specified as a percentage of the half vertical
174 span of oscilloscope graph. When the <b>Edge Type</b> is Simple, this level is shown in the oscillator graph as an
175 horizontal line.
176 </li>
177 <li>
178 <b>Hysteresis</b> - This control is active only for the <b>Advanced</b> Edge types. This control allows to split the
179 trigger level in two levels, separated by the hysteresis value, that need to be crossed in the right order to cause the
180 trigger to fire. The hysteresis value is specified as a percentage of the full vertical span of the oscilloscope graph.
181 When the <b>Edge Type</b> is Advanced the values of level +/- hysteresis are shown on the oscilloscope graph as horizontal
182 lines.
183 </li>
184 <li>
185 <b>Hold Time</b> - This control sets, in seconds, the amount of time that needs to elapse between consecutive trigger firings.
186 This time has a lower bound calculated internally from the sweep properties.
187 </li>
188 <li>
189 <b>Input</b> - This control is used to select the input channel for the trigger. Available channels are <b>Y</b> and <b>EXT</b>.
190 </li>
191 <li>
192 <b>Run/Stop</b> - This button is only active for <b>Single</b> and <b>Manual</b> modes and allows to start a trigger and
193 sweep cycle.
194 </li>
195 <li><b>Mode</b> - This control sets the trigger mode. The modes below are available.</li>
196 <ul>
197 <li>
198 <b>Single</b> - In this mode, the scope is allowed to complete a single trigger and sweep cycle after which it freezes.
199 To restart the cycle, use the <b>Run/Stop</b> button.
200 </li>
201 <li>
202 <b>Manual</b> - In this mode the scope is allowed, after pressing the <b>Run/Stop</b> button, to complete a single trigger
203 and sweep cycle after which it freezes.
204 </li>
205 </ul>
206 <li><b>Edge Type</b> - This controls set the trigger edge type. The following edge types are available</li>
207 <ul>
208 <li><b>None</b> - In this edge type the trigger is firing with sweep period.</li>
209 <li>
210 <b>Simple Rising</b> - This edge type causes the trigger to fire when the signal passes through the threshold in the
211 ascending direction. The threshold is set by the trigger <b>Level</b> control.
212 </li>
213 <li>
214 <b>Simple Falling</b> - This edge type causes the trigger to fire when the signal passes through the threshold in the
215 falling direction. The threshold is set by the trigger <b>Level</b> control.
216 </li>
217 <li>
218 <b>Advanced Rising</b> - This edge type causes the trigger to fire when the signal passes through two thresholds in
219 the ascending direction. The thresholds are set by the trigger <b>Level</b> and <b>Hysteresis</b> controls.
220 </li>
221 <li>
222 <b>Advanced Falling</b> - This edge type causes the trigger to fire when the signal passes through two thresholds in
223 the falling direction. The thresholds are set by the trigger <b>Level</b> and <b>Hysteresis</b> controls.
224 </li>
225 </ul>
226 <li>
227 <b>Coupling X|Y|EXT</b> - For each of the <b>X</b>, <b>Y</b> and <b>EXT</b> channels, these controls allow to set
228 the coupling. The following couplings are available.
229 </li>
230 <ul>
231 <li><b>AC</b> - In this coupling type, the signal is passed through a DC block filter.</li>
232 <li><b>DC</b> - In this coupling type, the signal is unfiltered.</li>
233 </ul>
234 </ul>
235 </ul>
236
237 <p><b>'Global Settings' section:</b></p>
238 <p>
239 These controls are available only for multichannel scopes, and are located on the right of the oscilloscope graph.
240 They are exactly the same of the <b>'Controls' section:</b> and are used to override the single channels settings.
241 </p>
242 <p>
243 In order to override one channel control with the global, select the channel with the <b>Channel Selector</b> and activate the
244 <b>On</b> button in the top of the <b>Global Settings<b> section.
245 </p>
246