4 Tutorials¶
This section contains step-by-step examples to help you familiar yourself with the basics of using ngscopeclient.
Many of them can be done offline using the built-in demo oscilloscope or saved example waveform datasets - no lab access required!
4.1 The Basics¶
Lab requirements: None, can be performed offline
Learning goals: Navigating the ngscopeclient UI and performing common operations
4.1.1 Connecting to an Oscilloscope¶
We need to be connected to an instrument to do much of anything useful. Let’s use the built-in demo scope for that.
Start with a new, empty ngscopeclient session
Select
Add | Oscilloscope | Connect...
from the top menu.Select the
demo
driver andnull
transport. Leave the path blank, since the demo scope doesn’t need any connection information.Give the demo scope a nickname of your choice. This will be used to disambiguate scope channels and properties dialogs if you have more than one instrument connected, as well as to let you reconnect to the instrument quickly in the future.
Click the
add
button. You should be presented with an oscilloscope view showing four empty channels stacked on top of each other.
4.1.2 Acquiring Waveforms¶
Looks pretty boring! Let’s grab some waveforms so we have something to look at.
Note: The current demo scope is a simplistic instrument that doesn’t implement realistic trigger semantics, so most of the usual trigger settings you might expect from real scopes (adjusting trigger level, horizontal position, selecting type of edge or condition) aren’t available. It will always trigger immediately when armed and return waveforms at the same horizontal position.
Press the “single trigger” button (second from left on the toolbar). You should see waveforms appear in each channel.
Press the “normal trigger” button (leftmost on the toolbar). You should see the waveform display begin updating live.
Press the “stop” button (fourth from left on the toolbar) to stop acquiring waveforms.