LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need versatile way to pass data to graph

Hi,

I have a sub-vi that does some data analysis. I output the results through a type def. I want this type def to include the data needed to plot the results in a XY-graph.

 

My problem is that the data will sometimes contain only 1 data series and sometimes multiple ones. i.e. sometimes the output should be a cluster of two 1D-arrays, sometimes it should be an array of clusters. Is there a good way to achieve this?

 

Skärmklipp.JPG

vs

Skärmklipp2.JPG 

0 Kudos
Message 1 of 2
(2,857 Views)

Since the conversation has actually started in the other thread, please continue over there: http://forums.ni.com/t5/LabVIEW/Need-versatile-way-to-pass-data-to-graph/m-p/3335871#U3335871


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(2,847 Views)