08-14-2018 08:12 AM
@GerdW wrote:
Hi Yangyi,
unfortunately I'm still using LV2017 so you need to downconvert your VI… (Edit->Save for previous)
08-14-2018 08:23 AM
08-14-2018 08:32 AM
Hi GerdW,
I tried autoscale the X scale of chart but it did not work.
The output of signal generation function is in Waveform(DBL) but the output of read oscilloscope VI is in 1D array of waveform(DBL), I am not sure whether yours can simulate the data read from scope?
Yangyi
08-14-2018 09:00 AM
08-15-2018 04:38 AM
Hi GerdW
Sorry, but is the element the 'interleave 1D arrays'? I tried this in my VI but it had some connection errors.
Thanks
Yangyi
08-15-2018 04:54 AM
08-15-2018 05:10 AM
Hi GerdW,
Thanks, but if I put all of them inside a while loop, the chart could not show expected waveform?
08-15-2018 06:06 AM
08-15-2018 06:38 AM
Hi GerdW,
My expectation is the chart can display dynamic waveform in same shape as graph displaying. But the chart display looks more density? Is it because it reads too fast?
By the way I tried to remove the loop as yours but chart display nothing? I attach the picture and vi without loop.
In my simple understanding, graph can display an array of data in one time but charts can be rolling in new data point to the end of buff?
Thanks,
Yangyi
08-15-2018 07:08 AM
Hi yangyi,
when I run your VI all graphs/charts show the same data:
In my simple understanding, graph can display an array of data in one time but charts can be rolling in new data point to the end of buff?
A chart has its own history buffer, whereas a graph only displays the data present in the wire to its terminal. That's why charts allow for "rolling" displays on their own…