LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert data array format

Hi 

 

I am trying to convert the data array like this

 

63             639

99             99A

9A             D29

D2     to     B14   

9B             3B0

14

3B

0

 

Does anyone know how to do?

 

Regards

Patrick

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

Concatenate the strings together.

Then go through the string extracting 3 characters at a time!

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

Hi Patrick,

 

which kind of arrays? Strings? Numerics? 1D arrays? 2D arrays?

It always helps to provide an VI with some example data as input and showing expected output as default data in an indicator…

 


@Patrick0830 wrote:

63             639

99             99A

9A             D29

D2     to     B14   

9B             3B0

14

3B

0


Append the input data to a 1D array (or a long string), then use ArraySubset (or StringSubset) to get parts of 3 elements/chars…

Best regards,
GerdW


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