09-25-2014 06:27 PM
I am reading from a USB module with data acquisition at 500 Hz. In order to achieve this within the loop time, I need to acquire multiple samples per loop. Once I have those samples (output in waveform), is there a way to append the waveform that maintains the time stamps?
I am currently using the "get time array", then inserting that data into a shift register of the same. I'd like to re-insert that data into the rest of the appended waveform to make writing the information that much easier. If that doesn't work, I'll probably just stick to making a 2D string array to write the data.
Thank you!
Solved! Go to Solution.
09-25-2014 06:43 PM
Look for the Append Waveforms VI. It is in the Waveform->Analog Waveform palette. I think that does what you are looking for.
09-25-2014 07:07 PM
I tried the append waveform, but when I do that all dt and timestamp data appears to be removed (dt goes from .002 to 1)
09-25-2014 07:40 PM
09-26-2014 10:25 AM
I am using Labview 2014, and have included the .vi and picture.
09-26-2014 10:32 AM
Here is the picture with timing visible.
09-26-2014 10:43 AM
09-26-2014 10:59 AM
Do I need a seed value for the initialization? A constant doesn't appear to solve the problem. Thank you for your help on this.
09-26-2014 11:03 AM
I'm hoping to be able to be able to keep the t0 data from the first measurement.
09-26-2014 11:15 AM - edited 09-26-2014 11:19 AM
You need the correct dt and t0 in the initalizing constant Leave Y and Attributes empty. dt and t0 of waveform B are ignored by append waveform and the dt and t0 on the SR will be preserved and propigated through the loop.