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: 

extract lines from array

Solved!
Go to solution

hi! 
how can i extract lignes that begin with 1
thank you

 

 

 

 
0 Kudos
Message 1 of 3
(2,604 Views)

Read 1st Column & Check for 1. If it is matching then takeout that index to read row & Build your array..

 

 

Table.png

Munna
0 Kudos
Message 2 of 3
(2,601 Views)
Solution
Accepted by topic author malmou

Building on the previous solution I have another implementation for you to try:


You can right click on your output tunnnel of the For loop and select Tunnel Mode » Conditional (make sure Indexing is also checked).This will now only add lines to the table if the boolean input is true. In this case if the first element of the row is equal to "1".

 

Table Extract.png

Tim, CLD, CTD
National Instruments (UK & Ireland)
________________________________________________
"No problem is insoluble in all conceivable circumstances"
0 Kudos
Message 3 of 3
(2,574 Views)