LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graphing Techniques

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

0 Kudos
Message 1 of 3
(2,740 Views)

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)? 

Message 2 of 3
(2,734 Views)

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.

Sanjay C.
Embedded Software Product Manager| National Instruments
0 Kudos
Message 3 of 3
(2,686 Views)