LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Making a custom graph using instrument motion and real time

Solved!
Go to solution

I am very new to LabVIEW and I need to make a graph or chart with the y-data being the movement of a device and the x-data being real time.  I know how to get the position information from the instrument and how to set real time for the x-axis, but I have no idea how to wire these things into a graph, what kind of graph to use, or what other VIs I need for the y-data.  I've attached the page I am working on.. It is kind of just a hodge podge of things that I thought may be useful, but I obviously need some help.  Thanks in advance.

0 Kudos
Message 1 of 3
(2,723 Views)
Solution
Accepted by topic author Rach_77

From what you have so far in your VI, it seems like you'll be requesting some position data from your device at each iteration of the loop.  In this case, you could use a waveform chart inside the while loop to view these points.  Each new point will be appended to the chart as they come in.  You can do this by writing values to the chart as you attain them inside the while loop.  This link should also be able to clear up some confusion as to the differences between the charts and graphs in LabVIEW.

Message 2 of 3
(2,700 Views)

Thank you so much! 🙂

0 Kudos
Message 3 of 3
(2,690 Views)