From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(1,942 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
(1,934 Views)