01-05-2011 02:39 PM
Hello,
I'm trying to graph data from a DAQ-mx channel in Labview 2010. Currently I have a graphical display, but it keeps refreshing every new sample set and I have to keep importing the data to excel to view it. Is there anyway to view all the data taken in labview within the labview window? Also is there any way to toggle viewing modes, as in viewing what is being sampled live and then toggling to what has been taken in the past?
Thanks
Alvin
01-05-2011 02:42 PM - edited 01-05-2011 02:44 PM
It depends what kind of indicator you are using. If you would use a chart instead of a graph, it would keep an internal history of defined size. Check the help for more details.
Another option would be to accumulate the data in a shift register, feedback node, or action engine.
There is even the "collector" express VI that might work. What is the datatype of your data (DBL, waveform, dynamic, etc)?
01-06-2011 10:30 AM
Hi ahuwaa,
To echo altenbach, you likely need to make use of a chart instead of a graph. For more information on the difference between the two, I'd recommend the following article: What Is the Difference Between Graphs and Charts in LabVIEW?. Additionally, charts have a few different update modes that you can choose from depending on how you want to view incoming data. The difference in update modes can be found here: Demonstration: Chart Update Modes.