LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert Boolean 2d array to 1d boolean array

Hello, presently doing one project I need help(How to convert Boolean 2d array to 1d boolean array?????)

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

Use either IndexArray or ReshapeArray…

 

With providing an example VI, including example input data and expected resulting data, you would get more detailed help!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,519 Views)

A for loop would also do the trick:

2D to 1D.PNG

 

This becomes interesting once you want to selectively convert (e.g. don't add some rows or columns). 

0 Kudos
Message 3 of 3
(2,475 Views)