LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Graph with two Y inputs

I need to know how to graph a XY graph with two values of Y. I need to it to compare to different angles and I also would like to make them graph different colors. Currently i have an XY graph with one Y input using the XY Graph express VI. I found out how to set up for two simultaneous plots by editing the properties for the graph but I don't know how I can input another Y value to plot using the XY Graph express VI.
 
Thank You,
Phil
0 Kudos
Message 1 of 4
(4,177 Views)
I'm not sure about the express VI, but if you open the example finder (Help>>Find Examples) and search for "graphs", you will find several examples which show how to make multi-plot graphs.

___________________
Try to take over the world!
0 Kudos
Message 2 of 4
(4,172 Views)
I tried the examples but none worked. They are all set up to graph a set number of points after calculation of the points are finished. I am trying to get a real time continuous graph. With the XY Graph express VI I get this but I just can't add another variable. I see that in the properties menu for the graph you can set up the graph for multiple plots. How do you input the values for more than one plot though? I tried to use arrays and clusters but it doesn't work. It has to be something I'm missing.
0 Kudos
Message 3 of 4
(4,167 Views)
I never use the express functons but I think what will work is to use the merge signal function. Try merging the two x inputs together and merging the two y inputs together. I made a modification to the shipping example called Lissajous.vi  to try a quick test.
0 Kudos
Message 4 of 4
(4,162 Views)