Example Code

Delete Portion Of Waveform

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

 

Overview
This vi show  acquired data is in waveform datatype and also can to remove some of the data points.


Description
The Waveform data type is a cluster of 3 components: t0, dt and Y. User can unbundle it to pull out the Y component, namely the actual data points and perform an array manipulation on the array of DBL. Afterwords user can rebuild the waveform.

 
Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

 

1.Insert length and index

2.Run the program, this VI will show original waveform and a certain lenght and index waveform.

 

Additional Information or References
VI Block Diagram

 1.png

 

 

 

 

 

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

 

National Instruments

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