Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: Updating Multiple Plots on an XY Graph as New Data Arrives - LabVIEW - NI Discussion Forums

Started 1 month, 3 weeks ago by Mike Renfro
This isn't so much a question as much as a potential solution, and any comments or feedback would be appreciated.   I'm working on a VI to log and graph multiple voltages, multiple temperatures, one current measure, and one controller setpoint for a fuel cell experiment. The current and setpoint XY graphs would have one plot each, and the voltage and temperature XY graphs would ...
Site: NI Discussion Forums  NI Discussion Forums - site profile
Forum: LabVIEW  LabVIEW - forum profile
Total authors: 3 authors
Total thread posts: 6 posts
Thread activity: no new posts during last week
Domain info for: ni.com

Other posts in this thread:

Alain S replied 1 month, 3 weeks ago
Since you didn't ask a question, I will Why didn't you just use the XY Chart.vi from the help?

Mike Renfro replied 1 month, 3 weeks ago
Is there an XY Graph example that updates the graph as each point arrives, or do they all update the graph once at the end of the VI? My guys' application samples very slowly over a period of several days or weeks (think samples per hour instead of samples per second) and they want to see the trend of recent measurements as new measurements are added.   I did look at XY Graph to get ...

Alain S replied 1 month, 3 weeks ago
Look in the help for "XY Chart " instead of "XY Graph"! It's the same control on the front panel, an XY Graph, but the code behind make it act as a chart, just what you need, add one point once in a while.     You can handle XY Graph in two ways: In case you get all points at once : Then use a cluster of two 1D array's, 1 for X data and 1 for Y data. In case of multiple plots, ...

Mike Renfro replied 1 month, 3 weeks ago
You're correct that XY Chart, not XY Graph is much closer (nearly identical) to what I'm looking for. I'm having some trouble adapting it to accept an arbitrary number of channels for input, but I'm going to work on it for another day or two before posting again. Thanks.  

Ben replied 1 month, 3 weeks ago
A Waveform Datat type Chart has a lot of functionality that most people miss.   When you use a WF data type   1) the chart will plot based on the "t0" values. 2) An empty "Y" arrray will not plot.   So you may want to investigate using the WF version of the chart.   Ben

 

Top contributing authors

Name
Posts
Mike Renfro
3
user's latest post:
Updating Multiple Plots on an XY...
Published (2009-11-08 13:56:00)
You're correct that XY Chart, not XY Graph is much closer (nearly identical) to what I'm looking for. I'm having some trouble adapting it to accept an arbitrary number of channels for input, but I'm going to work on it for another day or two before posting again. Thanks.  
Alain S
2
user's latest post:
Updating Multiple Plots on an XY...
Published (2009-11-08 09:40:00)
Look in the help for "XY Chart " instead of "XY Graph"! It's the same control on the front panel, an XY Graph, but the code behind make it act as a chart, just what you need, add one point once in a while.     You can handle XY Graph in two ways: In case you get all points at once : Then use a cluster of two 1D array's, 1 for X data and 1 for Y data. In case of multiple plots, just build a 1D array of clusters....
Ben
1
user's latest post:
Updating Multiple Plots on an XY...
Published (2009-11-09 07:53:00)
A Waveform Datat type Chart has a lot of functionality that most people miss.   When you use a WF data type   1) the chart will plot based on the "t0" values. 2) An empty "Y" arrray will not plot.   So you may want to investigate using the WF version of the chart.   Ben  

Related threads on "NI Discussion Forums":

Related threads on other sites:

Thread profile page for "Updating Multiple Plots on an XY Graph as New Data Arrives - LabVIEW - NI Discussion Forums" on http://www.ni.com. This report page is a snippet summary view from a single thread "Updating Multiple Plots on an XY Graph as New Data Arrives - LabVIEW - NI Discussion Forums", located on the Message Board at http://www.ni.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity