Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Displaying Waveform Data in a Graph

VeriStand Editor

...

Info
Waveforms are supported in the VeriStand Editor

...

starting in VeriStand version 2020.
  1. Navigate to the Waveforms section of the System Definition and select the signals you would like to display as Waveforms.  
  2. Save the project and Deploy to start simulating.
  3. Create a new Screen by selecting File >> New >> Screen from the menu at the top.
  4. Drop a Chart onto the Screen by selecting the ribbon item Charts >> Chart.
  5. A Channel Finder widget will pop up automatically.  Select the Waveform channels you wish to view.


By default, Waveform data will be streamed and displayed on the chart at a rate of 100Hz.  To better visualize high frequency signals, select the chart and navigate to its Item Properties page on the right-hand side to modify the Streaming Rate parameter.  If a high Streaming Rate is required, consider reducing the History Length and Visible Length parameters to avoid lagging and hanging in the user interface. 


Image Added

Workspace

  1. Navigate to the Waveforms section of the System Definition and select the signals you would like to display as Waveforms.
  2. Save the project and Deploy to start simulating.
  3. Open the Workspace file.
  4. Drop a Waveform Graph onto the Workspace by going to Workspace Controls >> Graph >> Waveform.  The Waveform Graph Setting Dialog will appear.
  5. Click Select Waveforms and navigate through the tree to find the Power Electronics Add-on >> Circuit Model >> Waveforms section and select the Waveforms you wish to see in the graph.
  6. Go to the Screen menu and take the Workspace UI out of Edit mode.


To stream and view the Waveform signals at a higher rate, increase the Data Points per Pixel parameter in the Waveform Graph Settings window.  This value specifies the number of waveform points to display per pixel on the x-axis, and enforces a decimation of the waveform data stream, as displayed in the Calculated decimation indicator.  Lower the setting to reduce stream fidelity and conserve real time CPU and Ethernet performance.


Image Added