LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Integration of Graphs

Solved!
Go to solution

Dear guys,

 

I will like to do a compilation of my results into only 1 graph instead of the current approach i am using by assigning one graph to each function. I was thinking is it possible to use the "property node" to achieve this target? If not, can anyone suggest how the intergration could be done? In addition, i realize my graph constantly "jerK" due to the sudden changes in my x and y coordinates, is this cause by the autoscalling function of the graph? 

 

Best Regards,

Scott

0 Kudos
Message 1 of 9
(3,067 Views)
Hi Sena_Scott,

-Why not use multiple plots in graph?
-Check Mixed Signal graph in the link: http://zone.ni.com/reference/en-XX/help/371361J-01/lvconcepts/types_of_graphs_and_charts/
-Yes, the "jerK" sudden changes are due to autoscale in X and Y-axes.
Thanks
uday
0 Kudos
Message 2 of 9
(3,051 Views)

Hi udka,

 

My bad, i think i phrase my question wrongly. My programme is as such,

 

3 different functions with three similar outputs of x - y coordinates. However i will like the graph (Final outcome) to show only the coordinates of whichever function i have selected. I was thinking to assign the values into a property node and whenever one of the function is selected, the value will be send to the Graph i wanted. No intergration is needed but i want my graph to show the correct data from 1 of the 3 outputs i selected. 

 

Best Regards,

Scott

0 Kudos
Message 3 of 9
(3,041 Views)

You could use a case structure as a selector

case.png

 

Btw, what is the reason that you use multiple waits?

And instead of build xy graph function, you can also use the cluster function.

 

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 4 of 9
(3,034 Views)
Yes, you can do that by simply taking the Property Node >> Value of the chart and supply appropriate value using case structure.
Thanks
uday
0 Kudos
Message 5 of 9
(3,030 Views)

Hi udka,

 

why do you mention chart properties when the OP is using XYGraphs?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 9
(3,020 Views)

Thanks udka and Koen94,

 

However as my output is a 1D Array of cluster 2 elements, I was unable to connect to the property node. Does property node only accept 1D values? 

 

Best Regards,

Scott 

0 Kudos
Message 7 of 9
(2,985 Views)

Thanks udka and Koen94,

 

However as my output is a 1D Array of cluster 2 elements, I was unable to connect to the property node. Does property node only accept 1D values? 

 

Best Regards,

Scott 

0 Kudos
Message 8 of 9
(2,985 Views)
Solution
Accepted by topic author Sena_Scott

Hello,

 

I don't see your problem, you have a 1D array of clusters.

It should work.

xygraphs.PNG

it also works with arrays, if that is what you mean. Though you have to connect it to the xy graph once.

xygrapharray.PNG

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
Message 9 of 9
(2,972 Views)