12-14-2009 09:37 AM
I am measuring a signal with a cRIO-Modul which is plotted into a waveform. I increased the history-data-points of that waveform. I tried to save the complete waveform history into a file but everytime I only get the last 10000 data points (although the history has 100000 data-points saved).
I am using the DMA-Mode and my loop-rate is 10000 and number of scans is also 10000. I detected a connection between the number of scanns and the data-points that are saved but I cannot increas my number of scanns.
Is there an easy whay to save the complet history data of the waveform into a signal on the push of a button?
Thanks,
Jan
12-15-2009 02:32 AM
Could you please post your RT VI?
Where did you increase the History Data, at a Graph?
This is just a property of the Graph itself and has nothing to do with the data you get from the wire branch.
Christian
12-15-2009 03:25 AM
12-15-2009 04:20 AM
As I mentioned before, the history length of the chart is just a property of the chart itself.
When creating a local variable from the chart you still get the number of point you write into the chart.
Make a little example under Windows where you generate a waveform with 1k point with every iteration and write it into a chart. Create a local variable reading of the chart and check the length of the outgoing waveform there. Independent from the history length, it will always be 1k.
If you need to save data continously, then look at some RT examples which do that with Low-Level File I/O VIs.
Christian