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-pattern-generator [2019/06/07 23:09] – [2. Using the Pattern Generator] Boris Leonov | learn:instrumentation:tutorials:analog-discovery-studio-pattern-generator [2023/02/13 21:53] (current) – Arthur Brown | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Using the Pattern Generator (Under Construction)====== | + | ======Using the Pattern Generator (Redirect) ====== |
- | {{: | + | ~~NOSEMANTIC~~ |
- | + | ~~REDIRECT>test-and-measurement:guides: | |
- | ===== Introduction ===== | + | {{tag>redirect}} |
- | This guide explains the use of the // | + | |
- | ---- | + | |
- | ===== Prerequisites ===== | + | |
- | * A Digilent Test & Measurement Device with Digital Input/ | + | |
- | * A Computer with WaveForms Software Installed | + | |
- | + | ||
- | ---- | + | |
- | ==== 1. Opening the Pattern Generator==== | + | |
- | + | ||
- | <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 **Patterns** button to open the //Pattern Generator// instrument. | + | |
- | </ | + | |
- | {{ : | + | |
- | </ | + | |
- | ---- | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | === 1.3 === | + | |
- | Once the //Pattern Generator// instrument opens, the window contains the output plot (1), the configuration panel (2) to left of the plot, and the control toolbar (3) at the top of the window. | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{learn: | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | ==== 2. Using the Pattern Generator==== | + | |
- | //This section walks through setting up the //Pattern Generator// to generate a signal on a single channel.// | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | === 2.1 Software Setup === | + | |
- | On the left panel, select the "Click to Add channels" | + | |
- | + | ||
- | Return to WaveForms' | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{learn: | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | === 2.2 Generate Data === | + | |
- | In the //Pattern Generator// instrument, click the Run button ({{: | + | |
- | + | ||
- | </ | + | |
- | <WRAP column half> | + | |
- | {{learn: | + | |
- | </ | + | |
- | </ | + | |
- | ---- | + | |
- | + | ||
- | ==== 3. Pattern Generator User Interface Overview ==== | + | |
- | //This section walks through the wide variety of controls and features available in the //Pattern Generator// instrument// | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | === 3.1 Control Interface === | + | |
- | The bar near the top contains several options for controlling the pattern | + | |
- | + | ||
- | The Run/Stop button starts and stops the pattern generator. | + | |
- | + | ||
- | The **Trigger** drop-down allows for selection of trigger sources from other instruments. /* For more information, | + | |
- | + | ||
- | The **Wait** drop-down allows for configuration of a delay after pressing Run (or the trigger event occurs). The value can be selected from the menu or typed in. If typing, be sure to enter a unit (ns, us, s, ms, ks, Ms) to avoid defaulting to the wrong order of magnitude. | + | |
- | + | ||
- | The **Run** drop-down determines the period of time the pattern | + | |
- | + | ||
- | The **Repeat** drop-down is available if the //Pattern Generator// is set to run for a finite amount of time, and will cause the instrument to generate the pattern the set number of times. In " | + | |
- | + | ||
- | </ | + | |
- | <WRAP column half> | + | |
- | {{learn: | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | === 3.2 Pattern Signal Controls === | + | |
- | Starting from the top left, the plus ({{: | + | |
- | + | ||
- | The Show icon ({{learn: | + | |
- | + | ||
- | The selections available in **Parameter1** through **Parameter3** menus will change depending on the selection in the **Type**. | + | |
- | + | ||
- | **Output** switches between four output behaviors: | + | |
- | + | ||
- | * //PP (Push-Pull):// | + | |
- | * //OD (Open Drain):// possible output values are 0 and Z. Bus values are computed by treating Z as 1. Requires a pull-up resistor | + | |
- | * //OS (Open Source):// possible output values are Z and 1. Bus values are computed by treating Z as 0. Requires a pull-down resistor | + | |
- | * //TS (Tri-State):// | + | |
- | + | ||
- | **Idle** determines if the line is set the //initial// value, //0//, //1//, or //Z// when no signal is being driven through | + | |
- | + | ||
- | **Type** determines the output types. Since the **Parameter** columns depend on **Type**, they will be described alongside the signal type: | + | |
- | + | ||
- | (NOTE: Not all parameters are used for all signal types.) | + | |
- | * // | + | |
- | * //Clock:// generates a clock signal. The frequency is set by **Parameter1**, | + | |
- | * //Pulse:// generates a pulse signal. **Parameter1** determines if the signal is active high or low, the number of data points to hold the signal low is set by **Parameter2**, | + | |
- | * //Random:// generates a random pattern of outputs at a frequency determined by **Parameter1**. | + | |
- | * //Custom:// generates a custom pattern with frequency determined by **Parameter1**. The contents of the custom signal can be loaded from a file or set by hand by clicking the Parameter Editor button (see below) | + | |
- | + | ||
- | Each signal can be further modified by clicking the Parameter Editor button ({{learn: | + | |
- | + | ||
- | Use the Properties button ({{learn: | + | |
- | + | ||
- | </ | + | |
- | <WRAP column half> | + | |
- | {{learn: | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | === 3.3 Plot Controls === | + | |
- | If the plot needs to be set to show a specific point in the pattern, this can be achieved using the drop-down menus directly below the control bar. The drop-down with the word " | + | |
- | + | ||
- | The **Show** drop-down will determine how much time per division to display. | + | |
- | + | ||
- | The **From** drop-down will determine what the start point will be on the plot. | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{learn: | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | ==== Next Steps ==== | + | |
- | + | ||
- | /* | + | |
- | If voltage values seen in the // | + | |
- | */ | + | |
- | + | ||
- | For more guides on how to use the Digilent Test & Measurement Device, return to the device' | + | |
- | + | ||
- | For more information on WaveForms visit the [[reference: | + | |
- | + | ||
- | For technical support, please visit the [[https:// | + | |
- | + | ||
- | {{tag>analog-discovery-studio tutorial}} | + |