Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| test-and-measurement:digital-discovery:getting-started-guide [2022/09/08 15:43] – changed forum.digilentinc.com to forum.digilent.com jeff.greenberg_ni.com | test-and-measurement:digital-discovery:getting-started-guide [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Digital Discovery - Getting Started Guide ====== | ||
| + | ~~TechArticle~~ | ||
| + | |||
| + | {{ reference: | ||
| + | |||
| + | ---- | ||
| + | ==== Unboxing ==== | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | ---- | ||
| + | ==== Download and Install WaveForms ==== | ||
| + | |||
| + | {{ reference: | ||
| + | |||
| + | Digilent' | ||
| + | |||
| + | If WaveForms is already installed, please make sure that it is up to date. | ||
| + | |||
| + | ---- | ||
| + | --> Installing WaveForms : Windows # | ||
| + | |||
| + | <WRAP group> | ||
| + | <WRAP column half> | ||
| + | === Welcome === | ||
| + | First launch the WaveForms installer, by clicking on it in the Downloads folder. Upon launching the WaveForms installer, the welcome page will be seen. Click **Next**. | ||
| + | </ | ||
| + | <WRAP column half> | ||
| + | {{ reference: | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <WRAP group> | ||
| + | <WRAP column half> | ||
| + | === License Agreement === | ||
| + | Read the license agreement on this screen, then, if in agreement to it, click **I Agree** to continue. | ||
| + | </ | ||
| + | <WRAP column half> | ||
| + | {{ reference: | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <WRAP group> | ||
| + | <WRAP column half> | ||
| + | === Choose Components === | ||
| + | In the " | ||
| + | * 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 (< | ||
| + | </ | ||
| + | <WRAP column half> | ||
| + | {{ reference: | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <WRAP group> | ||
| + | <WRAP column half> | ||
| + | === Shortcut Options === | ||
| + | Click **Next**. | ||
| + | </ | ||
| + | <WRAP column half> | ||
| + | {{ reference: | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <WRAP group> | ||
| + | <WRAP column half> | ||
| + | === Choose Install Location === | ||
| + | Click **Install**. | ||
| + | </ | ||
| + | <WRAP column half> | ||
| + | {{ reference: | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <WRAP group> | ||
| + | <WRAP column half> | ||
| + | === Installing / Installation Complete === | ||
| + | Wait for the Installation to complete, then click **Next**. | ||
| + | </ | ||
| + | <WRAP column half> | ||
| + | {{ reference: | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <WRAP group> | ||
| + | <WRAP column half> | ||
| + | === Complete === | ||
| + | **Finish**. | ||
| + | </ | ||
| + | <WRAP column half> | ||
| + | {{ reference: | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <-- | ||
| + | |||
| + | --> Installing WaveForms : Mac # | ||
| + | |||
| + | <WRAP group>< | ||
| + | From the downloads folder, open the downloaded **.dmg** file. | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group>< | ||
| + | From the desktop, open the **WaveForms** drive. | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group>< | ||
| + | Drag the **WaveForms** icon into the **Applications** folder. | ||
| + | This will install the following components in Applications: | ||
| + | * **WaveForms Runtime** contains a library and device support files needed to run custom applications. | ||
| + | * **WaveForms Application** is the Digilent virtual instrumentation interface. | ||
| + | * **WaveForms SDK** is the software development kit for creating custom applications | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | ---- | ||
| + | |||
| + | --> Install Drivers : Only for OS-X 10.13 or earlier # | ||
| + | |||
| + | For OS-X 10.14 Mojave or later, if the Digilent FTDI Driver is installed, the device may not be detected. | ||
| + | |||
| + | **Skip this section if the OS version is newer than OS-X 10.13.** | ||
| + | |||
| + | ---- | ||
| + | <WRAP group>< | ||
| + | === Launch Installer === | ||
| + | Double click **DigilentFtdiDriver.pkg** to open the FTDI Driver Installer. | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group>< | ||
| + | The OS may block the launch of the driver installer. If this is the case, go into the System Preferences' | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group>< | ||
| + | === Introduction === | ||
| + | Click **Continue**. | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group>< | ||
| + | === Read Me === | ||
| + | Click **Continue**. | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group>< | ||
| + | === License === | ||
| + | Read the license, then if in agreement, click **Continue**, | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group>< | ||
| + | === Destination Select === | ||
| + | Pick the users to install the drivers for, then click **Continue**. | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group>< | ||
| + | === Installation Type === | ||
| + | Click **Install**. | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group>< | ||
| + | === Summary === | ||
| + | Once the installation has completed, click **Close**. | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | |||
| + | <-- | ||
| + | |||
| + | ---- | ||
| + | <WRAP group>< | ||
| + | The OS may block the launch of WaveForms when it is opened for the first time. If this is the case, go into the System Preferences' | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | |||
| + | <-- | ||
| + | |||
| + | --> Installing WaveForms : Linux # | ||
| + | <WRAP group> | ||
| + | First, download the package for the [[software: | ||
| + | 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. \\ | ||
| + | |||
| + | <WRAP group>< | ||
| + | === Download Adept Runtime === | ||
| + | |||
| + | * Download the correct version of Adept. The link for Adept downloads is located [[/ | ||
| + | * 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. | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ------------ | ||
| + | --> Install Files using built-in Package Manager # | ||
| + | <WRAP group>< | ||
| + | === Open the Adept File === | ||
| + | Open the file you downloaded for Adept in the previous step.\\ | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ---------- | ||
| + | <WRAP group>< | ||
| + | === Click Install === | ||
| + | Click " | ||
| + | |||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | \\ | ||
| + | ------------- | ||
| + | <WRAP group>< | ||
| + | === Open the WaveForms File === | ||
| + | Open the file you downloaded to install WaveForms. | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | -------------- | ||
| + | <WRAP group>< | ||
| + | === Click Install === | ||
| + | Click Install in the window that pops up.\\ | ||
| + | This will install the following components: | ||
| + | * **WaveForms Runtime** contains a library and device support files needed to run custom applications. | ||
| + | * **WaveForms Application** is the Digilent virtual instrumentation interface. | ||
| + | * **WaveForms SDK** is the software development kit for creating custom applications | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | -------------- | ||
| + | <-- | ||
| + | --> Install Files using command line # | ||
| + | Alternatively, | ||
| + | |||
| + | < | ||
| + | sudo dpkg -i <path to Adept Runtime .deb file> | ||
| + | sudo dpkg -i <path to WaveForms .deb file> | ||
| + | sudo apt-get install -f | ||
| + | </ | ||
| + | <-- | ||
| + | |||
| + | For systems using **.rpm packages**, (Red Hat Linux, etc), use the following set of commands in the terminal to install the Adept Runtime and WaveForms from the downloaded packages: | ||
| + | |||
| + | < | ||
| + | sudo rpm -i <path to Adept Runtime .rpm file> | ||
| + | sudo rpm -i <path to WaveForms .rpm file> | ||
| + | </ | ||
| + | |||
| + | If WaveForms has already been installed on the system, replace the " | ||
| + | For technical support with installing WaveForms on various Linux distributions, | ||
| + | |||
| + | </ | ||
| + | |||
| + | <-- | ||
| + | / | ||
| + | This tutorial will guide you through the steps involved in the installation process on a Raspberry Pi 4 Model B after downloading it [[software: | ||
| + | ---- | ||
| + | <WRAP group>< | ||
| + | === Download WaveForms === | ||
| + | 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. | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | --------- | ||
| + | <WRAP group>< | ||
| + | === Download Adept 2 === | ||
| + | Download the correct version of [[/ | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ------------ | ||
| + | <WRAP group>< | ||
| + | === Open the Adept 2 File === | ||
| + | Open up the file you downloaded for Adept 2 in Step 2. | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ------------- | ||
| + | <WRAP group>< | ||
| + | === Click Install === | ||
| + | Click " | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ----------- | ||
| + | <WRAP group>< | ||
| + | === Open the WaveForms File === | ||
| + | Open the file you downloaded to install WaveForms. | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ----------- | ||
| + | <WRAP group>< | ||
| + | === Click Install === | ||
| + | Click " | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ----------- | ||
| + | <WRAP group>< | ||
| + | === Open WaveForms === | ||
| + | Go to your applications and open WaveForms. | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | |||
| + | <--*/ | ||
| + | |||
| + | /*--> Installing WaveForms : Raspberry Pi # | ||
| + | <WRAP group> | ||
| + | {{section> | ||
| + | </ | ||
| + | <--*/ | ||
| + | ---- | ||
| + | |||
| + | ==== Take a Measurement ==== | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | This section walks through using the Digital Discovery for the first time. Four digital output pins are connected to four digital input pins, and a pattern of type Binary Counter is generated and captured via this simple loopback circuit. | ||
| + | |||
| + | --> Take a Measurement # | ||
| + | |||
| + | <WRAP group>< | ||
| + | === 1. Plug in your Digital Discovery === | ||
| + | Plug in the Digital Discovery to the computer via the USB cable. | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group>< | ||
| + | === 2. Select Your Device === | ||
| + | Select the Digital Discovery in the Device Manager. The Device Manager can be accessed anytime from the main toolbar. Open the settings menu and select Device Manager. | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group>< | ||
| + | === 3. Start the Pattern Generator === | ||
| + | * Open the Pattern Generator by clicking Patterns. | ||
| + | * Click on the green plus sign and select BUS. | ||
| + | * Select DIO 28-31, and click the green plus sign. | ||
| + | * Click Add. | ||
| + | * In the type column, use the drop-down to select Binary Counter. | ||
| + | * Click Run. Your screen should look like the image above. | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group>< | ||
| + | === 4. Start the Logic Analyzer=== | ||
| + | * Go to the main window and click Logic to open the Logic Analyzer. | ||
| + | * Set the Base to 1ms/div, this will allow us a better window to see the data. | ||
| + | * Click the green plus sign and select Bus. | ||
| + | * In the window that appears select DIO 24-27. | ||
| + | * Click Add and the window will close. | ||
| + | * Click Run. | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group>< | ||
| + | === 5. Take a Measurement === | ||
| + | Connect DIO 24-27 to DIO 28-31. | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group>< | ||
| + | === 6. View your First Measurement === | ||
| + | Congratulations! In the logic analyzer window you should see a binary counter. The individual signals are displayed as well as the decoded decimal value. | ||
| + | |||
| + | You've now decoded your first Digital Bus. Keep playing around with the tools and visit [[https:// | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | |||
| + | <-- | ||
| + | |||
| + | ---- | ||
| + | ==== Next Steps ==== | ||
| + | For additional resources visit the [[test-and-measurement: | ||
| + | |||
| + | For detailed steps about how to install and use WaveForms on Raspberry Pi, follow this guide: [[test-and-measurement: | ||
| + | |||
| + | For technical support, please visit the Scopes and Instruments section of [[https:// | ||
| + | ---- | ||
| + | {{tag> | ||

