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: 

Compare element in two 1D arrays and store in another 1D array

RightClick on Tunnel Mode and Select Concatenating.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 11 of 13
(868 Views)

You are connecting an array of booleans to the conditional tunnel which is probably why it's broken. You will need to make sure every element in that array is true to make sure you want to pass the array.

Matt J | National Instruments | CLA
0 Kudos
Message 12 of 13
(860 Views)

As a recommendation, instead of passing the array out of the loop, you can wire the integer value from before the while loop to the output tunnel to you won't have to reconstruct the integers afterwords.

Matt J | National Instruments | CLA
0 Kudos
Message 13 of 13
(858 Views)