3. Analog Discovery 2 USB Oscilloscope + LabVIEW

FGS01J8IP74S81R.LARGE

Things Used In This Project

Hardware components:

Digilent Analog Discovery 2

Software apps and online services:

Digilent LabVIEW Home Bundle

Introduction
In this tutorial, we will go over how to connect an Analog Discovery 2 USB Oscilloscope to LabVIEW. To do so we will be using a LabVIEW project called LabForms 2.0. The project lets you access the analog scope and wavegen functionalities of the Analog Discovery through LabVIEW.The LabVIEW code and user manual for the project were both written by Mircea Dabacan, the general manager of Diligent Romania.

Step 1: Materials

FE3J8KBIP49VH2R.LARGE

FTUJXB4IP74S7S9.LARGE

Hardware

  • Analog Discovery 2 USB Oscilloscope

Software

NOTE: Installing LabVIEW requires you create an NI account. Your LabVIEW installation and any NI software keys you use will be tied to this account.

Step 2: Installing the software

FMGQDN1IP49VH4C.LARGE

Choose one of the NI Software options to Install Option 1: Install LabVIEW

  • installing LabVIEW will allow you to both run and edit the LabForms project.

Option 2: Install LabVIEW Run-Time Engine 2105 Installing the Runtime Engine will allow you to run the LabForms.exe without LabVIEW installed.

  • Choosing this option will prevent you from opening or editing the LabForms project.

  • Install WaveForms: Link

  • Download LabForms 2.0 (attached below) and unzip the folder anywhere.

FXX8IWIIP74S7W7.zip

Step 3: Wiring the Analog Discovery for testing

FR1O0T4IP45IJET.LARGE

FLFIPOVIP45IJG8.LARGE

Using some of the jumper pins supplied with the Analog Discovery to connect the Scope Channel 1 Positive (Orange Wire labeled “1+” ) to Waveform Generator 1 Positive (Yellow Wire labeled “W1”). Plug the Analog Discovery into one of your PC’s USB port.

Note: It is important you plug the Analog Discovery into your PCs USB port before you proceed to the next step. If you don't, the analog discovery may not show up in the LabForms device drop down list.

Step 4: Running LabForms

FTJW86EIP49VH2S.LARGE

F3NIOT4IP49VH34.LARGE

FNCC7SVIP49VH3G.LARGE

Based on what software you decided to install in step 2, do one of the following. Option 1: Run LabForms Project using LabVIEW (How to GIF) Option 2: Run LabForms Project using LabForms.exe (How to GIF 2).

lyPGp2n

Open the Analog Scope front Panel and begin recording incoming signals. Open the Wavegen Front Panel and begin generating outgoing signals.(How to GIF 3)

  • For more details about how the controls of the front panel work, refer to the LabForms user manual.

  • Once you are finished hit the stop buttons for all running front panels.
    vCDn6SX

Note: It is important you hit the stop buttons and DO NOT just exit out the LabForms windows. If you do not hit the stop buttons, your PC thinks LabForms is still using your Analog Discovery even thought LabForms is closed. If you did exit out of the LabForms windows without hitting the stop buttons, try re-plugging in your device. This should reset the software permissions.