LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Finding the total number of Trues before and after each false in a boolean array

Solved!
Go to solution

@NClark wrote:

Has this been solved? There's a lot of correspondence. It's kind of difficult to follow.


If you are growing weary of receiving the notifications, click the Topic Options button and unsubscribe the thread.  Smiley Wink

Capture.PNG

aputman
0 Kudos
Message 31 of 33
(834 Views)

I think this would do it.  It gives you an array of the number of TRUEs between each FALSE

Randall Pursley
0 Kudos
Message 32 of 33
(831 Views)
Solution
Accepted by topic author ritch_by_nature

@altenbach wrote:

The most obvious solution would be to reverse the boolean array and then reverse the result ...

Here's how that would look like. Try to simplify! 😄

 

 

Download All
0 Kudos
Message 33 of 33
(824 Views)