Professional Documents
Culture Documents
What Is the Difference Between Graphs and Charts in LabVIEW? - National Instruments
We value your feedback! Take a short survey about your ni.com experience and be entered to win a $50 Amazon.com Gift Card. 101 ratings: 3.41 out of 5 Rate this Document
digital.ni.com/public.nsf/allkb/95FEE9F5B252507E862562BA00007657
1/2
6/11/12
What Is the Difference Between Graphs and Charts in LabVIEW? - National Instruments
In the upper For Loop, auto-indexing is used to generate an array of 100 random values and then pass the entire array to the Waveform Graph. In the lower For Loop, a new random value is passed to the waveform chart each iteration of the loop for 100 times. Both loops result in the same output, but the Waveform Graph will update once after all data has been acquired, whereas the Waveform Chart will update as the program runs. For a better understanding of this, run the attached VI. Note: You can set the length of the Chart History buffer (the number of points the Chart will remember and display) by right-clicking the Chart and selecting Chart History Length from the shortcut menu. Related Links: KnowledgeBase 3YCBGD0E: What Does the Waveform Chart History Mean? KnowledgeBase 3NAF9BHY: Viewing Multiple Plots as Separate Displays in a Waveform Chart KnowledgeBase 3EQCAC3U: How Can I Programmatically Change Chart History Length? Attachments: ChartGraph.JPG ChartGraphCompare.vi
My Profile | RSS | Privacy | Legal | Contact NI 2012 National Instruments Corporation. All rights reserved. | E-Mail this Page
digital.ni.com/public.nsf/allkb/95FEE9F5B252507E862562BA00007657
2/2