LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Histogram question

Solved!
Go to solution

 

*see attached VI

 from port 4 (can forget the other ports) the histogram graph,it produces a graph of a 1D array of a cluster of 2 elements. i want a graph of just a cluster of 2 elements, as i've did this throughout the rest of the project, and not the 1D array. any ideas?

0 Kudos
Message 1 of 5
(2,733 Views)

Can't see your code because you didn't include generate_hist_Generic.vi.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 2 of 5
(2,700 Views)
0 Kudos
Message 3 of 5
(2,695 Views)
Solution
Accepted by topic author dhanna

In generate_hist_Generic.vi, you've got HIstogram.vi inside a loop, and you're sending the output through an indexing tunnel, which results in an array.

Since your calling vi (hist.vi) passes a single element array, the loop will iterate only one time, and the output will be a single element array.

You can use the Index Array to get the element.  See attachment.

"If you weren't supposed to push it, it wouldn't be a button."
Message 4 of 5
(2,680 Views)

well theres no broke wires anymore, so thats a start!

0 Kudos
Message 5 of 5
(2,675 Views)