Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
learn:instrumentation:tutorials:analog-discovery-studio-digital-io [2019/06/20 18:51] – [3. Static I/O User Interface Overview] Ian Etheridge | learn:instrumentation:tutorials:analog-discovery-studio-digital-io [2023/02/13 23:00] (current) – Arthur Brown | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Using the Digital I/O (Under Construction)====== | + | ====== Using the Digital I/O (Redirect) ====== |
- | + | ~~NOSEMANTIC~~ | |
- | FIXME splash image | + | ~~REDIRECT>test-and-measurement:guides:waveforms-static-io~~ |
- | + | {{tag>redirect}} | |
- | ===== Introduction ===== | + | |
- | This guide explains the use of the //Static I/O// instrument in WaveForms. This instrument is used to interact with a Test & Measurement Device' | + | |
- | ---- | + | |
- | ===== Prerequisites ===== | + | |
- | * A Digilent Test & Measurement Device with Digital Input/ | + | |
- | * A Computer with WaveForms Software Installed | + | |
- | + | ||
- | ---- | + | |
- | + | ||
- | ==== 1. Opening the Static I/O ==== | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | === 1.1 === | + | |
- | Plug in the Test & Measurement Device, then start WaveForms and make sure the device is connected. | + | |
- | + | ||
- | If no device is 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' | + | |
- | + | ||
- | **Note:** //" | + | |
- | + | ||
- | **Note:** //The Device Manager can be opened by clicking on the " | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{ : | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group>< | + | |
- | === 1.2 === | + | |
- | Once the Welcome page loads, in the instrument panel at the left side of the window, click on the **StaticI0** button to open the //Static I/O// instrument. | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | === 1.3 === | + | |
- | Once the //Static I/O// instrument opens, the window contains two rows of Bit I/O digital input and output ports with DIO15-DIO8 in the top row and DIO7-DIO0 in the bottom row all assigned to LED state indicators by default. | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{ :learn:instrumentation: | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | ==== 2. Using the Static I/O ==== | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | //This section walks through setting up the // | + | |
- | + | ||
- | **Note:** //This guide can be followed using a " | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | === 2.1 Software Display Setup === | + | |
- | This demo does not require any hardware setup but relies on the //Logic Analyzer// and //Pattern Generator// tools in Waveforms. To set up these tools and view them simultaneously, | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.1.1 == | + | |
- | Click on the Welcome page icon in the upper left corner of Waveforms | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.1.2 == | + | |
- | Click the //Logic// tool | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.1.3 == | + | |
- | Click on the Welcome page again | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.1.4 == | + | |
- | Click the // | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.1.5 == | + | |
- | Click the Docking Windows icon in the upper right corner of Waveforms | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.1.6 == | + | |
- | Now, the Static I/O, Logic Analyzer, and Pattern Generator tools should all be open and viewed together in the same window with the Logic Analyzer in the top portion of the window, the Static I/O in the bottom left portion of the window, and the Pattern Generator in the bottom right portion of the window. | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | === 2.2 Software Function Setup === | + | |
- | //These next steps will set up two types of logic displays for the //Static I/O// tool. First, the // | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.2.1 == | + | |
- | In the // | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.2.2 == | + | |
- | In the "Add Signal" | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.2.3 == | + | |
- | In the // | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.2.4 == | + | |
- | In the // | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.2.5 == | + | |
- | In the // | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.2.6 == | + | |
- | In the //Static I/0// tool, observe DIO 0 flash at the 1 Hz clock rate set by the // | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.2.7 == | + | |
- | In the //Logic// tool window, click the "Click to Add channel" | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.2.8 == | + | |
- | In the "Add Signal" | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.2.9 == | + | |
- | In the //Static I/O// tool window, navigate to the DIO 1 box next to the flashing DIO 0 box. Click on the downward arrow, select " | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.2.10 == | + | |
- | In the //Logic// tool window, click the " | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.2.11 == | + | |
- | In the //Static I/O// tool, click on the DIO 1 button and observe the logic level of DIO 1 change from low to high in the //Logic// tool window. | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | ==== 3. Static I/O User Interface Overview ==== | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | //This section walks through the various configuration options for the //Static I/O// interface. These configurations can be used to interact with and display digital signals and circuits either with the previously explored tools in Waveforms or with external digital circuits. However, the scope of this section will be limited to only configuration with brief application discussions.// | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | === 3.1 Group Bus Assignments === | + | |
- | By default, the Static I/O tool opens with all the available DIO lines from your Test and Measurement Device in groups of 8, descending from left to right and top to bottom all configured as LED state indicators for each line. To change a particular group, click on the group configuration drop down menu located on the left of the group row. This menu includes: | + | |
- | * Bit IO: (Input/ | + | |
- | * Slider (Output) | + | |
- | * Progress Bar (Input) | + | |
- | * 7 Segment Display (Input) | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | ==3.1.1 Slider== | + | |
- | Selecting " | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | ==3.1.2 Progress Bar== | + | |
- | Selecting " | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | ==3.1.3 Seven Segment Display== | + | |
- | Selecting "7 Segment" | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | === 3.2 Individual DIO Assignments === | + | |
- | To change the assignment for an individual DIO rather than an entire group, click on the DIO drop down menu located in the upper left corner of the individual DIO window. This menu includes: | + | |
- | * LED | + | |
- | * Button | + | |
- | * Switch | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | ==3.2.1 LED== | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | ==3.2.2 Button== | + | |
- | </ | + | |
- | A | + | |
- | {{ : | + | |
- | B | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | ==3.2.3 Switch== | + | |
- | + | ||
- | </ | + | |
- | {{ : | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | === 3.3 File Menu === | + | |
- | + | ||
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | === 3.4 Control Menu === | + | |
- | + | ||
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | === 3.5 View Menu === | + | |
- | + | ||
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | === 3.6 Window Menu === | + | |
- | + | ||
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | + | ||
- | {{tag>tutorial analog-discovery-studio}} | + |