]> sigrok.org Git - pulseview.git/blame - manual/analysis.txt
GlobalSettings: Always use Fusion style on Windows for dark themes
[pulseview.git] / manual / analysis.txt
CommitLineData
1894027b
SA
1== Data Analysis
2
3Once you have acquired some measurement data, it's time to have a look and see what
4insights you can gain from it. Usually, the first step is to look at the data as a
5whole, achieved by clicking the _Zoom to Fit_ button:
6
7image::pv_analysis.png[]
8
9<1> Zoom-to-Fit button
10<2> Zoom in/zoom out buttons
11<3> Cursors
daeba21f 12<4> Time scale (used to set up and show markers, see below)
1894027b
SA
13
14If you have located an area of interest (maybe with the help of decoders, more about
15that later), you can zoom in on it using the _zoom in_/_zoom out_ buttons, using the
16scroll wheel of your mouse or the pinch/expand gestures on your touch panel.
17
18[NOTE]
19When a data capture is ongoing, the Zoom-to-Fit button stays active if you click it,
20meaning that PulseView automatically fits all data to the views until either the
21capture is finished or the Zoom-to-Fit button is clicked again.
daeba21f
SA
22If you want this feature but don't want to always have to click the button, you
23can enable the "Always Zoom-to-Fit" option in the settings.
1894027b 24
daeba21f 25=== Cursors and Markers
1894027b
SA
26
27Just looking at the signal data however is usually not sufficient. A lot of times,
28you'll want to make sure that timings are honored and the bit times are like what
daeba21f 29you'd expect. To do so, you'll want to use cursors and markers.
1894027b
SA
30
31In the picture above, you can enable the cursor by clicking on the cursor button.
32You can move both of its boundaries around by clicking on the blue flags in the
33time scale area. The area between the two boundary lines shows the time distance
34and its inverse (i.e. the frequency). If you can't see it, just zoom in until it
35shows. You can also move both boundaries at the same time by dragging the label
36where this information is shown.
37
38image::pv_cursors_markers.png[]
39
40<1> Cursors button, showing enabled state
41<2> Cursor
daeba21f 42<3> Marker
1894027b 43
daeba21f 44Markers are movable indicators that you can create wherever you like on the
1894027b 45time scale - just double-click on it and it'll create one for you where your
79b53a1a
SA
46mouse cursor is at the time, or use the context menu when right-clicking on
47the ruler or a signal trace.
2543cd4e
SA
48You can click on its label and you'll have the option to change its name, or
49drag it to reposition it.
1894027b
SA
50
51[NOTE]
52For timing comparison purposes, you can also enable a vertical marker line that
53follows your mouse cursor: _Settings_ -> _Views_ -> _Highlight mouse cursor_
54
55[NOTE]
daeba21f 56There is also a special kind of marker that appears for each time the data
1894027b
SA
57acquisition device has triggered. It cannot be moved and appears as a vertical
58dashed line.
59
60=== Special-Purpose Decoders
61
62There are some decoders available that analyze the data instead of decoding it.
63You can make use of them to examine various properties of the signals that are
64of interest to you.
65
66Their names are:
67
68* Counter - counts pulses and/or groups of pulses (i.e. words)
69* Guess bitrate - guesses the bitrate when using a serial protocol
70* Jitter - determines the jitter (variance) of a signal
71* Timing - shows the time passing between the chosen signal edges
72
daeba21f
SA
73=== Other Features
74
75Trace Views also allow you to maximize the viewing area by minimizing the area
76occupied by the label area on the left. To do this, simply position the mouse
77cursor at the right edge of the label area (or left edge of the viewing area).
78Your mouse cursor will change shape and you now can drag the border.
79
80This way, you can give signals long, expressive names without clogging up the
81view area.
82
83Also, you can create multiple views by clicking on the "New View" button on
84the very left of the toolbar. Those can be rearranged as you wish.