08-07-2014 04:37 PM
Hi,
I am trying to put 2 waveforms with different timestamps on the same chart.
I am able to do this if I post my data to my chart one time.
When I write to my chart more than one time, the new data overwrites the old data, instead of concatenating to the old data.
See the attached vi for what I am trying to do.
Can anyone suggest how to do this correctly?
Thanks.
- Matt
Solved! Go to Solution.
08-07-2014 09:18 PM
It's working. The problem is your data. Put a longer wait statement in the for loop and watch.
You are creating 1/10 second of data in each Simulated waveform. You have a 33 millisecond wait between your 2 simulations. The For loop is going to run super fast with only this 33 msec wait which is less than 1/10th second. So of course some data is going to overwrite old data.
Change your Simulations to "Simulate Acquisition Timing" rather than "Run as Fast as Possible" That will slow down the loop and make it more realistic timing.
08-12-2014 11:29 AM
That solved it.
Thanks!