ni.com is currently experiencing unexpected issues.
Some services may be unavailable at this time.
07-20-2017 09:53 AM
Hello! So I am collecting some sampled data on a DAQ and plotting it on a plot in Labview using the "Build XY Graph". My issue is that I am looping through (using a while loop) to do multiple iterations of the test and I can't seem to figure out how to plot the multiple sets of data onto the same plot. Essentially this is what I have at the moment:
Solved! Go to Solution.
07-20-2017 10:24 AM
Pictures of express VIs don't tell us how they are configured. What's in the dynamic data coming out of the DAQ assistant?
I would eliminate the express VI and build the xy graph in a shift register. One cluster of arrays per plot, and an array of such clusters per graph, one element per plot.
07-20-2017 10:45 AM
The dynamic data coming out of the DAQ is simply 2 sets of a single sample of voltage.
I understand building the xy graph using a shift register, but how do I get it to differentiate between the different plots?
07-20-2017 10:53 AM
A "curve" is named a "plot" in my answer. (see also)
07-20-2017 04:00 PM
Ah I understand, but is there a way to show the points plotting in real time as opposed to them all just all popping up after the VI is ran?
07-20-2017 04:11 PM
It is difficult to help unless you show us your code. If you want to update incrementally, the graph needs to be in the inner loop.
Here is a simple example.
07-20-2017 04:17 PM
I know and I apologize. My code has a lot going on and it was just the small part about plotting that I had a question on. This answers my question though! Thank you very much!