Example Code

Obtaining a subset of streaming data from a Waveform Graph

Code and Documents

Attachment

Download All

Overview:

This example shows how to extract a subset of streaming data from a waveform graph.
Description:
This VI uses an event structure to detect changes in the radio controls and update the format of the Numeric Control by the use of property nodes.
Requirements:

  1. LabVIEW 2012 (or compatible)

Steps to Implement or Execute Code:

 

  1. Run the application to generate some data
  2. Toggle the Defer updates? Button on.
  3. Select the X-axis zoom tool (shown in the screenshot below) and select the portion of data you want to extract.
  4. Toggle the Defer updates? Button off, and the data you selected is copied to the graph on the right.

If you do not see the X-axis zoom tool, make sure you have the Graph Palette visible by right-clicking on the waveform graph and verifying that Visible Items -> Graph Palette is checked.

Additional Information or References:

 

WFGraphFP.PNG

WFGraphBD.PNG

 "**This document has been updated to meet the current required format for the NI Code Exchange.**"

Justin E
National Instruments R&D

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Aristoodle
Member
Member
on

Excellent piece of work!