Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
learn:instrumentation:tutorials:analog-discovery-studio-oscilloscope:start [2019/05/21 20:37] – Arthur Brown | learn:instrumentation:tutorials:analog-discovery-studio-oscilloscope:start [2021/06/02 23:46] (current) – Arthur Brown | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Using the Oscilloscope | + | ====== Using the Oscilloscope (REDIRECT) ====== |
- | + | ~~REDIRECT> | |
- | This guide walks through the process of setting up WaveForms' | + | ~~NOSEMANTIC~~ |
- | + | {{tag>redirect}} | |
- | ==== 1. Opening the Scope ==== | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 1.1 == | + | |
- | Plug in your <test & measurement device>, then start WaveForms and make sure your device is selected. | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | FIXME image: device manager? | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 1.2 == | + | |
- | Once the Welcome page loads, in the instrument panel at the left side of the window, click on the **Scope** button to open the //Scope// instrument. | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | FIXME image: instrument panel callout | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 1.3 == | + | |
- | Once the //Scope// instrument opens, the window contains the data plot (1.) showing captured data, the configuration panel (2.) to right of the plot, and the control toolbar (3.) at the top of the window. | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | FIXME image: UI callout, numbered | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | ---- | + | |
- | ==== 2. Using the Scope ==== | + | |
- | + | ||
- | //This section walks through setting up the oscilloscope to capture and analyze a simple waveform.// | + | |
- | + | ||
- | FIXME this guide can be followed using a " | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.1 Hardware Setup == | + | |
- | In order to measure a signal with the //Scope// instrument, there must first be a signal to measure. To this end, step 2.1 of this guide describes setting up a simple loopback circuit that connects the <test & measurement device>' | + | |
- | + | ||
- | Connect the <test & measurement device>' | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | FIXME image: MTE cable loopback??? | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.2 Software Setup == | + | |
- | With the loopback circuit set up, a signal must now be applied to the analog output pins. WaveForms' | + | |
- | + | ||
- | From the //Scope// instrument, opened in step 1.2, return to WaveForms' | + | |
- | + | ||
- | For more detail on how to use the //Wavegen// instrument, please see the **Using the Waveform Generator** guide. FIXME link | + | |
- | + | ||
- | Return to the //Scope// instrument by clicking on its tab in the bar at the top of the screen. | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | FIXME image: arrow to wavegen run button | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.3 Begin Capturing Data == | + | |
- | Click the Run button ({{: | + | |
- | + | ||
- | Since analog input channel 2 was left " | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | FIXME image: scope tab, arrow to run button | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.4 Plot Pane Axes == | + | |
- | By default, the plot has a vertical range of -2.5V to 2.5V, and a horizontal range of -5ms to 5ms (with respect to the trigger configuration, | + | |
- | + | ||
- | To rescale the horizontal axis of the plot to show only two periods of the sine wave, change the "Time Base" value at the top of the configuration panel at the right side of the window to "200 us/ | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | FIXME image | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | To rescale the vertical axis of the plot, as before, change the " | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.5 Quick Measure Cursors == | + | |
- | To take a quick measurement | + | |
- | </WRAP> | + | |
- | <WRAP column half> | + | |
- | FIXME image | + | |
- | </WRAP> | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.6 Measurements == | + | |
- | To view calculated values for period, frequency, amplitude, and various others, that may not be available through the Quick Measure cursors, click on the " | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | FIXME image | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | When opened, the measurements pane does not contain any values. Click on the " | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | FIXME image | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | Each measurement selected in the Add popup will now be displayed in the Measurements pane. As can be seen, the list of measurements now contains estimates of the frequency and peak-to-peak voltage of the captured signal. As expected, these measurements will be listed as approximately 1 KHz and 2V, respectively. | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | FIXME image | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | ==== 3. Scope User Interface Overview ==== | + | |
- | //This section walks through the wide variety of controls and features present in the //Scope// instrument// | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 3.1 Control Buttons== | + | |
- | As seen in Section 2, the " | + | |
- | + | ||
- | In addition to the Run/Stop button, described above, the Single button can be used to capture a buffer of data based around the first occurrence of a pre-defined trigger. The size of the buffer and when the buffer is captured relative to the trigger event are defined by the Time configuration, | + | |
- | + | ||
- | The control bar also contains the trigger configuration options, described in the next section. | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{ : | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 3.2 Triggers == | + | |
- | Immediately next to the Single button are a set of options that can be used to configure oscilloscope triggers. When run in continuous mode, the plot pane stays centered on these trigger events. As seen above, when the Single button is pressed, a set of data centered on the next trigger event is captured and plotted. | + | |
- | + | ||
- | The Mode dropdown allows the user to select what will happen when the Run button is pressed. For descriptions of the available settings, please see the WaveForms reference manual, available through the Help menu in WaveForms, in the menu bar at the top of the screen. The reference manual is also hosted on the Digilent Wiki at this link: [[: | + | |
- | + | ||
- | The Source dropdown allows the user to trigger the oscilloscope based on events in other instruments. For more information, | + | |
- | + | ||
- | The Condition and Level dropdowns allow the user to describe what type of event to trigger on. For example, the configuration Condition=Rising and Level=1V will generate a trigger event whenever the captured data rises above 1V. | + | |
- | + | ||
- | Additional trigger configuration options can be found by clicking on the green down arrow to the right of the level field. Please use the WaveForms Help menu for more information. | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{ : | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 3.3 Time Configuration Group == | + | |
- | By default, the Time group in the Configuration panel contains the " | + | |
- | + | ||
- | The gear button ({{: | + | |
- | + | ||
- | Additional time and sampling configuration options can be found by clicking the green down arrow at the bottom of the Time group. For instance, the sample count and rate used when capturing data can be manually configured - it should be noted that doing so also automatically changes the position and base settings. More information on these options can be found through the WaveForms Help menu. | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{ : | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 3.4 Channel Configuration Groups == | + | |
- | Each input channel of the <test & measurement device> can be configured via the associated Channel # group in the Configuration panel. By default, each of these groups contains " | + | |
- | + | ||
- | Additional options for each channel can be found by clicking on that channel' | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{ : | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 3.5 Other Channels == | + | |
- | Other types of channels can be added to the plot and Configuration pane through the "Add Channel" | + | |
- | + | ||
- | Math channels can be used to display signals passed through some function. For example, high/ | + | |
- | + | ||
- | Reference channels can be used to display custom signals or previously-captured signals, imported from a file, in the plot. | + | |
- | + | ||
- | Digital channels can be used to display data captured on the digital input/ | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{ : | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 3.6 Additional Configuration Options == | + | |
- | The " | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{ : | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 3.7 Chart Pane == | + | |
- | The Chart pane displays data captured on the analog input channels. The horizontal axis of the plot represents time before and after the trigger event that initiated the capture. The vertical axis represents the voltage level (or other selected unit, for math and reference channels). Each channel has its own vertical scale, which can be selected by clicking on their identifiers in the top left corner of the plot pane (C1, C2, etc.). | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{ : | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | Capture status information can be found next to the channel select buttons, including a state string (Stop / Config / Trig' | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{ : | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | Another set of buttons can be found in the upper right corner of the plot pane. The " | + | |
- | + | ||
- | The gear button next to the previous five buttons can be used to change how the plot is displayed, including adding labels, changing the background between light and dark, displaying all channel scales at once, and others. For more information on these options, refer to the WaveForms Help menu. | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{ : | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | The " | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{ : | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 3.8 File Menu == | + | |
- | The File menu at the top of the window provides the ability to create another //Scope// instrument, as well as to save and load acquisitions and projects. | + | |
- | + | ||
- | Saving an acquisition allows the user to load their captured data back into WaveForms later, for instance, as a signal to be generated by the //Wavegen// instrument. | + | |
- | + | ||
- | Saving a project (with or without any acquisitions) allows the user to close WaveForms without losing their configuration. In addition to this, projects can be shared with others to aid in group projects and guided learning. | + | |
- | + | ||
- | Exporting data as an image allows the user to produce a screenshot of the entire //Scope// tool. Alternatively, | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{ : | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 3.9 Control Menu == | + | |
- | The Control menu at the top of the window provides the same functionality as the Single/ | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{ : | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 3.10 View Menu == | + | |
- | A wide variety of different views can be added to the user interface using the " | + | |
- | * Add Zoom: Creates an additional plot that can be used to zoom in on particular regions of interest in the signal. | + | |
- | * Add XY: Creates an additional plot with configurable X and Y axes. For instance, two channels can be plotted against one another to create an IV curve diagram. | + | |
- | * FFT: Creates plot to display a Fast Fourier Transform diagram of the captured signals. | + | |
- | * Spectrogram: | + | |
- | * Histogram: Creates a plot that displays percentage of time spent by the signal at each voltage level. | + | |
- | * Persistence: | + | |
- | * Data: Creates a chart that exposes raw capture data in a spreadsheet. | + | |
- | * Measurements: | + | |
- | * Logging: Allows the user to log captured data directly to a file, over multiple acquisitions. Includes a scripting interface (JavaScript) with examples. | + | |
- | * Audio: Allows the user to play back captured signals as sound through the host computer' | + | |
- | * X/Y Cursors: Lists all cursors that have been added to the plot. | + | |
- | * Digital: Exposes some functionality of the //Logic Analyzer// instrument within the //Scope// instrument, allowing the user to capture and view data from the digital input/ | + | |
- | * Digital Measurements: | + | |
- | * Notes: Creates a text editor pane that can be used to document configuration choices, or whatever other information could be useful to remember. | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{ : | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | ---- | + | |
- | ==== Next Steps ==== | + | |
- | + | ||
- | For technical support, please visit the **Scopes and Instruments** section of the Digilent Forums. FIXME link | + | |
- | + | ||
- | More guides to using the wide variety of features included in WaveForms can be found through the FIXME resource center. | + | |
- | + | ||
- | FIXME incomplete | + | |
- | + | ||
- | ---- | + | |
- | {{tag>analog-discovery-studio tutorial}} | + |