WaveForms Raspberry Pi 4 Installation

WaveForms is software developed by Digilent and intended for use with the Analog Discovery 2, Analog Discovery Legacy, the Electronics Explorer Board, the Analog Discovery Studio and the Analog Discovery 2 NI Edition. WaveForms provides a user interface for a 2-channel oscilloscope, logic analyzer, arbitrary waveform generator, digital I/O, and more. It's free to download and compatible with Mac (Apple), Windows, and Linux (32-bit, 64-bit, and ARM).

Prerequisites
Nothing but an internet connection! Once you have an Analog Discovery 2, this guide will take you through what's in the box, installation of WaveForms, and taking your first measurement. Then you can get started with any of your embedded projects. However, WaveForms can also be operated in Demo mode. If you don't yet have an Analog Discovery 2, feel free to follow along with this guide and test out WaveForms in demo mode.

What's in the Box?
Step 1:

Remove and discard the cardboard sleeve. Remove and discard the cardboard sleeve.

Step 2:

Open the reusable project box and take out your Analog Discovery 2.

  • Take note of the 30-pin connector, USB B-Micro connector, 2.5mm barrel jack connector for external power, and tough polycarbonate case.

Open the reusable project box and take out your Analog Discovery 2

Step 3:

Remove the accessories from the box.

  • Included with the Analog Discovery 2 are five 6 pin male headers, one USB B-micro cable, one ferrite cable snap on, and one 30-pin flywire assembly.

Remove the accessories from the box.

Step 4:

Take out and discard the cardboard insert.

  • Behind it you will find a handy pin-out diagram that shows how the flywire assembly gives you access to the Analog Discovery 2's features.
  • Without the cardboard insert, your project box can now hold the Analog Discovery 2, its included accessories, and there's even room for more!

Cardboard insert with pinout diagram.

Download WaveForms
Step 1: Download WaveForms
This tutorial will guide you through the steps involved in the installation process on a Raspberry Pi 4 Model B after downloading it from the website. We will be using Raspberry Pi 4 Model B 1 GB version with in this tutorial. The 2 GB and the 4 GB versions of the Raspberry Pi 4 Model B also work with this tutorial.
Download the correct installation file for WaveForms for your distribution of Linux. Since we are using a Raspberry Pi 4 Model B with the Raspbian OS, we will choose the Debian flavor of the ARM build.

Select installation file.

Step 2: Download Adept 2
Download the correct version of Adept 2. Make sure that the version of the Adept install file is the same as WaveForms. We chose the ARM version for WaveForms, so we will use the ARM version of both the Runtime and Utilities for Adept.

Download Adept 2.

Installing WaveForms
Step 1: Open the Adept 2 File
Open up the file you downloaded for Adept 2 in Step 2.

Open the Adept 2 file.

Step 2: Click Install
Click “Install” in the window when prompted.

Install.

Step 3: Open the WaveForms File
Open the file you downloaded to install WaveForms.

Open the WaveForms file.

Step 4: Click Install
Click “Install” in the window when prompted.

Install WaveForms.

Step 5: Open WaveForms
Go to your applications and open WaveForms.

Open WaveForms.

Run Demo Mode (Optional)

Using Demo mode on the WaveForms software is entirely optional and is provided as a way for users to try out and view the features of the WaveForms software if they do not have a Digilent Test and Measurement device.

Step 1: No Device
If you don't have an Analog Discovery 2 plugged in, a window will pop up with a warning stating that no device was detected. You don't need to have a device to run the software, so go ahead and click “OK” to proceed.

No device.

Step 2: Run Demo Mode
The device manager will now open. Click on “Demo Mode”, and then click “Select”.

Run demo mode NEED SS.

Step 3: Demo Mode Oscilloscope
As mentioned previously, if you don't have an Analog Discovery 2 yet, that's okay. You can still run WaveForms in demo mode and get a feel for the interface and capabilities.

The below image is a demo of the oscilloscope displaying a sine and square wave.

Demo mode oscilloscope.

Take a Measurement
Step 1: No Device
If you don't have an Analog Discovery 2 plugged in when WaveForms is launched, a window will pop up with a warning stating that no device was detected.

No device.

Step 2: Plug in Analog Discovery 2
The Raspberry Pi 4 has two blue USB 3.0 ports; it is recommended that one of these ports is used to plug in the Analog Discovery 2.

Blue USB 3.0 ports

Analog Discovery 2 connected to a blue USB 3.0 port

If you plug in the Analog Discovery 2, a window will pop up indicating that it was detected. Select “Yes” to proceed.

Detected device NEED SS.

Step 3: Device Manager
If you open the device manager, or you have the Analog Discovery 2 plugged in when WaveForms is open, the window displayed in the image below will appear. Select the Analog Discovery 2 labeled as Discovery2 with a serial number.

Device manager.

Now that you are connected and have WaveForms installed, you can view the tutorials for each Instrument on the WaveForms Resource Center.

Step 4: Check out the Tools
Note the welcome menu on the left hand side. From this menu you can launch each of the tools.

Check out the Tools.

Step 5: Start the WaveForm Generator
Open the WaveForm Generator, and click “run”.

Start the WaveForm Generator.

Step 6: Start the Oscilloscope
Open the Oscilloscope, and click “run”.

Start the Oscilloscope.

Step 7: Take a Measurement
Plug the yellow wire (Waveform Generator 1) into the orange wire (Oscilloscope Channel 1 positive.) Plug any black wire (ground) into the orange wire with the white stripe (Oscilloscope Channel 1 negative.)

Take a Measurement.

Step 8: View your First Measurement!
Open the Oscilloscope to see your first measurement! To learn more about the tools, please visit our support page.

View your First Measurement!