The Analog Discovery 2 is an all-in-one pocket instrument for electronics containing a 2-channel oscilloscope, power supplies, waveform generators, logic analyzers, and more to measure and generate analog and digital signals. The tools can be manually started or can be triggered by an external source.
- An external push button
- Two 220 Ω resistors
- Familiarity with navigating the WaveForms GUI and switching between different tools. See the “Take a measurement” section of the Getting Started Guide for your OS.
Step 1: Set up the Circuit
This tutorial triggers an oscilloscope acquisition triggered through an external push button via WaveForms. A picture of the circuit and a schematic of the two circuit portions are provided below.
Step 2: Set up the Software
The WaveForm Generator can be left with the default settings of a 1 kHz sine wave with a 1 V amplitude.
Disable the Negative Power Supply by clicking on the button labeled “Negative Supply (V-) On” to switch it off. Leave the Positive Power Supply enabled but change the voltage supplied to 3.3V by *clicking* on the corresponding dropdown menu on the right-hand side of the GUI.
Step 3: Trigger the Tools
Go to the oscilloscope tab and click on any green “play” arrow to start the oscilloscope acquisition.
Press the external push button to trigger an oscilloscope data acquisition.
The oscilloscope tab on the WaveForms GUI will show as “Trig'd” and then “Armed” to indicate that the trigger has been rearmed. The display will show one full data acquisition whose length is dictated by the time base. With a time base of 1 ms/div, 10 ms of data will be obtained per acquisition.
Further questions about using external triggers with the Analog Discovery 2 and the WaveForms software can be posted on the Digilent Forum.