LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multi-plot Graphs, is there a better way?

Solved!
Go to solution

I am still not good at graphs in LabView but I think I am making some programs and I can usually get a graph to show with I want it to show with only a few hours of dinking around with it...

 

Anyway using graphs certainly makes for messy code unless there is a better way to wire this. Basically this graph shows four temperature probes and is updated every minute. Every 15 minutes a check for stabilization is run. Seemingly the only way I have been able to get multiple plots with Time as the X-Axis is to use an X-Y chart, but I have to index my readings out individually and put each in it's own shift register, and add it to the graph separately.

 

There must be a better way?

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 1 of 4
(2,490 Views)

How about just using a chart?

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 2 of 4
(2,473 Views)
Solution
Accepted by topic author RTSLVU

I think part of your problem is you are not aware of the "concatenate inputs" option for build array. You don't need multiple build arrays for the array of clusters you are wiring into the graph (pink wire). Just expand the build array, wire in all your clusters, then right click the build array and choose "concatenate inputs". Next, you can use a cluster to store all your graph arrays (orange wires) which will greatly clean up your diagram.

Message 3 of 4
(2,468 Views)

Oh yeah, I don't know why but it never occurred to me to just expand the build array.

 

Actually the example shown before was not a good example of what I meant as I was able to totally remove the index array since I was graphing all four elements of that array anyway. But I have a larger more complex program where I only graph two elements of an array that contains 16 measurements where this will clean up the diagram a bit.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 4 of 4
(2,459 Views)