LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Split array of clusters

How can I split an 1D array of a cluster of two elements?  I am trying to use a chart graph with two sets of data and I want to get the amplitude of one of them with the chart history.  Here is an example of what I am trying to do.  I know it is probably really simple but I can't figure it out. Can anyone point me in the right direction?  Thanks
0 Kudos
Message 1 of 6
(5,405 Views)
Message 2 of 6
(5,398 Views)

Use a For loop with autoindexing at the array of clusters, unbundle the element, autoindex on the outgoing value.

 

But in your case, you should probably be just looking for the max in the overall loop and store the result in a shift register you compare on every iteration rather than operating on the entire chart history every time.

Message Edited by Ravens Fan on 02-05-2010 11:50 AM
Message 3 of 6
(5,392 Views)
You may want to vote for this idea.
0 Kudos
Message 4 of 6
(5,383 Views)

Thanks Dennis

0 Kudos
Message 5 of 6
(4,560 Views)

sac.png

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