NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Currently Being Moderated

Create Periodic Averaged Data from Asynchronous X,Y Array

VERSION 3

Created on: Jun 30, 2009 3:43 PM by Hueter - Last Modified:  Jul 1, 2009 4:12 PM by Hueter

Introduction

This VI is designed to take an X and Y array of synchronous data and generate a regular periodic array with averaged points.

This can be very useful if you need to take an FFT o(r other operation that requires a constant delta X) on irregular asynchronous data.

You can set the regular interval and the length of the average.

 

Steps to Complete

This example generates sample data, just substitute this for your own X and Y arrays

 

 

Regular Interval Average FP.PNG

Regular Interval Average.PNG

 

 

Additional Notes

Front Panel Controls

Interval - The Delta X for the regular X array

Average Length - determines which numbers to use when averaging for a value.

 

Note: This VI does not interpolate values if you have holes in your data larger than your average size you can use the following example as a sub VI so you can generate iterpolated data where your original data has holes.

 

 

 

Downloads:
Average User Rating
(1 rating)




There are no comments on this document