模拟发现2 - Started Guide

Analog Discovery 2


Unboxing

Remove and discard the cardboard sleeve.

Remove and discard the cardboard sleeve.


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


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.


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 and Install WaveForms

Digilent's WaveForms application provides a user interface to the Analog Discovery 2. Please download the appropriate WaveForms installer for the operating system (Windows, Linux, Mac) via theWaveForms Resource Center. Then click on the appropriate option below forOS-specific installation instructions.

If WaveForms is already installed, please make sure that it is up to date.

Installing WaveForms : Windows

Open the Executable File

Open the executable file that you downloaded.


Welcome

Launch the WaveForms installer, by clicking on it in the Downloads folder. Upon launching the WaveForms installer, the welcome page will be seen. ClickNext.


License Agreement

Read the license agreement on this screen, then, if in agreement to it, clickI Agreeto continue.


Choose Components

In the “Choose Components” screen, a list is presented of each of the things that can be installed. In order to use the Analog Discovery 2 with the WaveForms application, the Adept Runtime, WaveForms Runtime, and WaveForms Application are required.

  • The Adept Runtime allows WaveForms to communicate with the Analog Discovery 2, Analog Discovery, Analog Discovery Studio, Digital Discovery, and Electronics Explorer Board.
  • The WaveForms Runtime contains a library and device support files needed to run custom applications.
  • The WaveForms Application is the Digilent virtual instrumentation interface.
  • The WaveForms SDK is the software development kit for creating custom applications

Note:Even with all components selected, the WaveForms install does not take much hard drive space (<200MB). Digilent recommends that all components are installed.


Shortcut Options

ClickNext.


Choose Install Location

  • You'll need to choose an installation destination or just leave it at the default.
  • Click “Install”.


Installing / Installation Complete

  • WaveForms will be installed as indicated by the progress bar.
  • Click “Next”.


Complete

  • Check or uncheck the boxes to open WaveForms and the readme.
  • Click “Finish”.


Installing WaveForms : Mac

Expand your downloads and open the.dmgfile that you have downloaded.

Open the DMG File.


From the desktop, open theWaveFormsdrive.

Open the New Drive.


Drag theWaveFormsicon into theApplicationsfolder.
This will install the following components in Applications:

  • WaveForms Runtimecontains a library and device support files needed to run custom applications.
  • WaveForms Applicationis the Digilent virtual instrumentation interface.
  • WaveForms SDKis the software development kit for creating custom applications


Install Drivers : Only for OS-X 10.13 or earlier

Double click the FTDI driver icon to start the installation process.
On MacOS (10.13) Sierra High and older versions the device driver should be installed to support Analog Discovery 1 & 2 and Digital Discovery devices.
On MacOS (10.14) Mojave, the device driver is not required. According to some reports, on new MacBook machines the device is not detected if the driver is installed, so uninstall the driver if the device does not connect.

Open the FTDI Diver Install.


Launch Installer

Double clickDigilentFtdiDriver.pkgto open the FTDI Driver Installer.


TheOSmay block the launch of thedriver installer. If this is the case, go into the System Preferences' Security and Privacy page and clickOpen Anyway.


Introduction

ClickContinue.


Read Me

ClickContinue.


License

Read the license, then if in agreement, clickContinue, then clickAgreein the popup.


Destination Select

Pick the users to install the drivers for, then clickContinue.


Installation Type

ClickInstall.


Summary

Once the installation has completed, clickClose.

TheOSmay block the launch of theWaveforms. If this is the case, go into the System Preferences' Security and Privacy page and clickOpen Anyway.

Installing WaveForms : Linux

First, download the package for theAdept Runtime. This program is required for WaveForms to connect to the Analog Discovery 2 and must be installed prior to installing WaveForms.
For systems using.deb packages, (Ubuntu, Fedora, etc), use the built-in package manager to install the Adept Runtime and then WaveForms - typically, a package manager can be opened by double-clicking on the file in question.

Download Adept Runtime

  • Download the correct version of Adept. The link for Adept downloads is locatedhere.
  • Make sure the version of the Adept install file is the same as WaveForms. I used the 64 bit RPM for WaveForms so I will use the 64 bit RPM for Adept.

Download Adept.


Install Files using built-in Package Manager

Open the Adept File

Open the file you downloaded for Adept in the previous step.

Open the Adept File.


Click Install

Click “Install” on the window that pops up.

Click Install.



Open the WaveForms File

Open the file you downloaded to install WaveForms.

Open the WaveForms File.


Click Install

Click Install in the window that pops up.
This will install the following components:

  • WaveForms Runtimecontains a library and device support files needed to run custom applications.
  • WaveForms Applicationis the Digilent virtual instrumentation interface.
  • WaveForms SDKis the software development kit for creating custom applications

Click Install.


Install Files using command line
Alternatively, use the following set of commands in the terminal to install the Adept Runtime and WaveForms from the downloaded packages:
sudo dpkg -i  sudo dpkg -i  sudo apt-get install -f

For systems using.rpm packages(Red Hat Linux等),使用下面的commands in the terminal to install the Adept Runtime and WaveForms from the downloaded packages:

sudo rpm -i  sudo rpm -i 

If WaveForms has already been installed on the system, replace the “-i” flag passed to the rpm command with “-U” to upgrade the existing installation. For technical support with installing WaveForms on various Linux distributions, please visit to the Scopes and Instruments section of theDigilent Forum.


Take a Measurement

This section walks through using the Analog Discovery 2 for the first time. An analog output pin is connected to an analog input pin, and a waveform is generated and captured via this simple loopback circuit.

Take a Measurement - Steps

Plug in your Analog Discovery 2

Plug the USB B-Micro cable into your computer and Analog Discovery 2.

Plug in Your Analog Discovery 2


Launch WaveForms

Launch WaveForms. Upon launch, WaveForms will automatically detect and connect to the Analog Discovery 2. If the Analog Discovery 2 is not connected to the host computer when WaveForms launches, the Device Manager will be launched. Make sure that the device is plugged in and turned on, at which point it will appear in the Device Manager's device list (1). Click on the device in the list to select it, then click the Select button (2) to close the Device Manager.

Note:“DEMO” devices are also listed, which allow the user to use WaveForms and create projects without a physical device.

Note:The Device Manager can be opened by clicking on the “Connected Device” button in the bottom right corner of the screen (3), or by selecting “Device Manager” from the “Settings” menu at the top of the screen.


Open the "Wavegen" Instrument

Click on its button in the instrument panel on the left side of the screen.


Leave all settings as defaults, and click the green arrow at the top of the window to play the wave.


Open "Scope" Instrument

Go back to WaveForms' “Welcome” tab, and open the “Scope” instrument.


将所有设置缺省值并单击绿色play arrow to begin capturing data.


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.


View your First Measurement

Open the Oscilloscope to see your first measurement. To learn more about the tools, please visit oursupport page.

View your First Measurement!


Next Steps

To find reference materials and guides on how to use the Analog Discovery 2 and WaveForms, please visit theAnalog Discovery 2 Resource Center.

For detailed steps about how to install and use WaveForms on Raspberry Pi, follow this guide:Getting Started with Raspberry Pi and a Test and Measurement Device.

For technical support, please visit the Scopes and Instruments section ofDigilent Forum.