12-17-2009 02:16 PM
Broken Arrow wrote:p.s. Robert's VI takes in a DBL, just like PtbyPt.Message Edited by Broken Arrow on 12-17-2009 02:04 PM
Sure does, but I was able to change that pretty easily. Just changed the control to a waveform input, picked off the ARRAY of Y values with get waveform components, and then changed the build array to concatenate inputs.
I'm sure the ptbypt could be modified also, but that is a way more complex VI.
BTW, this Running Average VI made my day. I have already thought of dozens of places I could have used this thing over the past year.
12-17-2009 03:13 PM
Glad you liked it. We use it in a system with 1kHz sampling and 10 data points per second, so we're averaging 100 samples per channel. It's fast enough to keep up with more than 100 channels.
Build array is not the best choice in dealing with arrays, but sometimes it's the easiest. If it does what you need and makes for easy to understand code, it's done its job.
Have a Happy Holidays.
Rob