LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array

Solved!
Go to solution

Hi :

 

I have array type , the size of it =50 ,, I want to know the numbers of index that have true value ,, attach see file please

 

how can I do that

 

thanks

 

 

 

0 Kudos
Message 1 of 3
(3,185 Views)
Solution
Accepted by topic author elyan

Well, here's one simple possibility. Make sure you understand the code exactly. 😉

 

 

(Of course your front panel object seems to be an indicator instead of a control, so simply branch from whatever wire is feeding your indicator.)

 

 

 

 

Message Edited by altenbach on 01-25-2009 01:43 AM
Download All
0 Kudos
Message 2 of 3
(3,180 Views)

Here's another possibliity, from OpenG.  Easier to understand!Smiley Wink

Message Edited by jcarmody on 01-25-2009 05:54 AM
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 3 of 3
(3,163 Views)