LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Show biggest index in array with value "True"

Solved!
Go to solution

Hello,

 

Is it possible to show the maximum index number with value "true", like shown underneath?

I can show the value on what index the series of "true" ends with the "Array Max & Min" function, but when there is
one False between those True's, it will show the index of the True left of the False.

I don't need to know the size of the array, because it has to stay 8

 

Biggest index in array with value 1.jpg

 

File is attached

0 Kudos
Message 1 of 3
(1,993 Views)
Solution
Accepted by topic author Stef_vl

Hi Stef,

 

here you go:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(1,990 Views)

Thank you so much for the fast and perfect response !!! Kudos are well earned 😉

0 Kudos
Message 3 of 3
(1,987 Views)