LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

split array

Hy everybody,

I have 2 arrays A and B. The B data represents some upside down pulses. I would like to:

 

- get the values of the array A when the signal from the array B is start decreasing on the side of the pulses

- divide the array B according to this values and get the average of each piece

 

I hope that somebody can help me....it's urgent!

Thank u in advance!

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

Are A and B of equal length? If so you can wire both to a For loop and compare B(i) with previous value to determine if it's a flank, in which case you grab the value from A to divide with.

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 2
(2,283 Views)