LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert string array into digital arrays

Solved!
Go to solution

Hello!

I have a string array :

1,11,21

2,12,22

3,13,23

4,14,24

I want to get 3 digital arrays:

Array1 = 1,2,3,4

Array2 = 11,12,13,14

Array3 = 21,22,23,24

But i get empty arrays. What do i do wrong?

0 Kudos
Message 1 of 16
(5,126 Views)

Try this:

 

index.png


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
Message 2 of 16
(5,112 Views)

Check this may helps you

Array.png

0 Kudos
Message 3 of 16
(5,110 Views)

Thanks but i have 1D array.

Finally i got it right!

0 Kudos
Message 4 of 16
(5,106 Views)

Oops. Wrong picture.

Convert.png

0 Kudos
Message 5 of 16
(5,100 Views)
Solution
Accepted by topic author john7

Try this:

index1.png


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
Message 6 of 16
(5,094 Views)

Nice, but i get

arr1 = 1,11,21

arr2 = 2,12,22

arr3 = 3,13,33

0 Kudos
Message 7 of 16
(5,088 Views)

@john7 wrote:

Nice, but i get

arr1 = 1,11,21

arr2 = 2,12,22

arr3 = 3,13,33


Not sure what you mean!


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 8 of 16
(5,085 Views)

Need to get columns:  🙂

Array1 = 1,2,3,4

Array2 = 11,12,13,14

Array3 = 21,22,23,24

 

0 Kudos
Message 9 of 16
(5,082 Views)

Thats what I get! Are you sure you have wired to the column index input?

index_fp.png


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
Message 10 of 16
(5,072 Views)