Example Code

Extract Data From Portion of Graph

Code and Documents

Attachment

Overview
This example VI demonstrates the use of functions from Real-Time libraries to retrieve information from Real-Time target.

Description

This VI demonstrates how to use an event structure, property nodes, and graph cursors to select a portion of the graph and extract the data from the array. This can be useful for selecting data of interest from a larger set of data.

 

Requirements

  • LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code

  1. Open the VI " Extract Data From Portion of Graph 2012 NIVerified.vi"
  2. Run the program
  3. Move the cursors on the graph to enclose the portion of the data you want to extract
  4. Click the ‘Extract?’ button
  5. See that the "Extracted Signal" graph now shows the portion of data enclosed by the cursors on the "Original Signal" graph

 

Additional Information or References
VI Snippet

Block Diagram.png

 

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

 

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