WaveForms 3

1. Getting Started with WaveForms 3

Install the WaveForms 3 software, if you haven't already. See Installer Details for more information.

Connect your board to your PC using the USB connector and the supplied USB cable.

Start the WaveForms application from the Start Menu > All Programs > Digilent > WaveForms 3 > WaveForms.

The application starts and connects to your board.

The status bar of the WaveForms main window displays the device name and serial number, as shown below.


1.1. Troubleshoot WaveForms

Only one application can be connected to only one board at a time. If you get the message “The selected device is being used by another application” check the taskbar for other applications in use.

If the application is not working as expected, try starting the WaveForms application from the MS Windows Start Menu > All Programs > Digilent > WaveForms 3 > WaveForms Safe Mode or the WaveForms application with “clear” parameter.

See the device specific troubleshooting:

 

1.2. Select an Instrument

The WaveForm's main window Welcome tab (shown above) has buttons for each instrument: Scope (Oscilloscope), Wavegen (Arbitrary Waveform Generator), Supplies (Supplies and Reference Voltages), Meters (Voltmeters), Analyzer (Logic Analyzer), Patterns (Digital Pattern Generator), Static I/O (Static Digital Input/Output), and Script instruments. The instruments can also be opened from the Welcome tab “+” (add) menu.

An instrument's button is disabled when the selected device or configuration does not support it.

The Settings menu contains the Options, the Device Manager, and Trigger PC.

The Workspace's Open, Save, and Save as buttons allow the user to load or save WaveForms 3 workspaces.


1.3. The Workspace and Project

The workspace refers to any open instruments and their current state. The workspace can be loaded and saved with the Open and Save/Save as buttons in the WaveForm's Welcome tab.

The workspace can be saved in one of the following modes selected by the save filter:

The workspace files are associated with WaveForms. When you open a workspace (double-click on a *.dwf3work file) and WaveForms is running, it will be opened with the last used application instance. Otherwise, if WaveForms is not currently running, it will open with a new application instance.

The project refers to an instrument and its current state. The project can be loaded and saved with the Open and Save buttons in each instrument.

The project files are associated with WaveForms. When you open a project (double-click on a *.dwf3scope, *.dwf3wavegen, *dwf3analyzer, ... file) and WaveForms is running, it will be opened with the last used application instance. Otherwise, if WaveForms is not currently running, it will open with a new application instance.


2. Options

The Options window allows you to select various display and configuration preferences.

To open the Options window, select the Settings / Options menu from the WaveForms window.


3. Device Manager

The Device Manager allows you to select the device and configuration to use with the WaveForms application.

To open the Device Manager, select the Settings / Device Manager menu or click on the window's status bar device button from the WaveForms window.


Devices list: Select the device you want to use. The Demo device allows you to explore WaveForms's capabilities without a physical device being connected to the PC.

Configurations: Select the configuration you want to use for the selected device. The configurations have different device buffer-memory distributions for the instruments and other capabilities, like number of pins or channels.

Calibrate list: The Calibrate button opens the Calibration window.


4. Device Calibration

The Device Calibration window allows you to calibrate (fine tune) a device's analog components, like the read-voltage levels of the Oscilloscope or Voltmeters, the output level of the Waveform Generator or Adjustable Power Supplies of the Electronics Explorer board, or the Oscilloscope and Waveform Generator of the Analog Discovery device.

Start the Device Calibration window from the WaveForms main window Settings / Device Manager.

The following window will open. The items in the calibration list depend on the selected device type.


5. Common Interfaces

5.1. Menu

The menu strips of the instrument windows generally have:

 

5.2. Logging

The Logging tool allows you to save data on each acquisition or executing custom script code. This is available in acquisition instruments, Scope, and Analyzer.

 

5.3. Export

The Export dialog lets you save the data or screenshot. The data can be saved as CSV (comma separated values) or TXT (tab delimited values). By checking the save options, the following information will also be saved:

The screenshot image can be saved in various image formats.


 

5.4. Lists

The mouse operations for lists are as follows:

select select move

 

5.5. Docking Windows

The docking windows functionality gives you flexible organization of docking windows within the parent window.

The windows can be dragged by their top border. When dragging is above the margins of the parent window, it will indicate the drop region. If you release the mouse, the child window will be docked to the corresponding margin.
If you position a child window above another child window with same parent, it can dock in tabular mode.
Releasing a window outside of drop regions makes the window float.

 

6. States

The active instruments (Oscilloscope, Wavegen, Analyzer, and Patterns) step through states while acquiring or generating a signal.

From each of these instruments, multiple instances can be opened at a time but only one instance can be active at a time. When more instruments of the same type are opened, the last used instance (Run or Stop press) controls the device. The others display a Busy status.

 

6.1. Acquisition States

 

6.2. Generator States

The following diagram illustrates the states of the Arbitrary Waveform Generator and Digital Pattern Generator.

The Repeat cycle can be configured to include Trigger or not.

If any setting (frequency, duty, signal type, etc.) is modified, from any state, it goes right to the Config state. If the instrument was running, it will be started again.

 

7. Triggers

The trigger event is the rising edge of the trigger signal. The Electronics Explorer board has four trigger input pins. They are used by the Oscilloscope, Arbitrary Waveform Generators, Logic Analyzer, and Digital Pattern Generator instruments. The instruments output a trigger signal as long as they are in Run state.

Any of these instruments can be triggered by any of the trigger signals coming from external pins or the other instruments.

The Waveform Generator channels can function as independent instruments, having their own controller, or in synchronized mode when the selected channels are controlled by one state controller.

The input instruments (Oscilloscope and Analyzer) have a trigger detector based on their input channels.

The Trigger PC event is generated by pressing the button under the main window device menu. On the Electronics Explorer board, this trigger event is generated when the board switch is turned to the on position as well.

The None trigger mode configuration in the instruments means that acquisition or generation doesn't wait for a trigger, it starts immediately.

The Auto trigger mode for input instruments means that if the trigger condition doesn't appear in approximately two seconds, acquisition is started automatically.

In multiple acquisition mode, when the instruments switch to Auto trigger, subsequent acquisitions are made without waiting for timeout as long as a trigger event does not occur and the configuration is not changed. When a new trigger event occurs or the configuration is changed, the current acquisition is finished and the next one waits for the trigger. It is also the best mode to use if you are looking at many signals and do not want to set the trigger each time.

 

8. Installer

The Mac OS X application is packaged in Apple Disk Image file, like: digilent.waveforms_3.0.0.dmg. To install the application, copy it from the image to the Applications folder.

For Linux, the application is available in DEB and RPM packages for 32 and 64 bit systems. The required Digilent Adept Runtime must be installed separately.

The installers for Windows, like digilent.waveforms_v3.0.0.exe, has the following command line arguments:

The following are the command line arguments for the WaveForms application:

In order for these options to work, the path where the application is installed has to be selected in the command line.