Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
2 ratings:
 2 out of 5     Rate this Document

How Do I Convert XY Pairs to a Waveform?

Primary Software: LabVIEW Development Systems>>LabVIEW Professional Development System
Primary Software Version: 8.0
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>LabVIEW Full Development System

Problem:
I have an array of nonuniform time data and an array of Y data (XY Pairs). How can I convert this into a waveform data type?

Solution:
The waveform data type consists of the data (Y), a start time (t0), and a delta t (dt) of the waveform. If you have an array of nonuniform time data then you must convert this to a constant dt. This is done by searching the time value array for the least common delta t and then interpolating the Y data to find the missing points. You would then use the new interpolated Y data, the new dt, and the original t0 to build the waveform. An example of this is attached below.

Related Links:
KnowledgeBase 2UHDJLWC: Only One Array of Data Values Show Up in a Graph When Using the Build Waveform VI?
Developer Zone Community: XY Data Pairs to a Waveform using LabVIEW

Attachments:

XY pairs to waveformXY PairsToWaveform.vi






Report Date: 06/13/2008
Last Updated: 01/02/2009
Document ID: 4MC9D587

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit