ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(6,616 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
(6,602 Views)

Check this may helps you

Array.png

0 Kudos
Message 3 of 16
(6,600 Views)

Thanks but i have 1D array.

Finally i got it right!

0 Kudos
Message 4 of 16
(6,596 Views)

Oops. Wrong picture.

Convert.png

0 Kudos
Message 5 of 16
(6,590 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
(6,584 Views)

Nice, but i get

arr1 = 1,11,21

arr2 = 2,12,22

arr3 = 3,13,33

0 Kudos
Message 7 of 16
(6,578 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
(6,575 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
(6,572 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
(6,562 Views)