LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert string array into digital arrays

Solved!
Go to solution

Thanks a lot! Works great!

0 Kudos
Message 11 of 16
(2,136 Views)

One other thing that may have avoided this confusion, you can drag and drop png files directly to your block diagram. If you are not already aware, read this http://www.ni.com/white-paper/9330/en


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

@john7 wrote:

Oops. Wrong picture.

Convert.png


You are not using Local Variables in that manner within your code, are you?

Look carefully and you will identify a potential race condition. (small chance, but not impossible in the code above).

 

There is no need for the Locals, plus you've created a Rube Goldberg code.

 

0 Kudos
Message 13 of 16
(2,129 Views)

@.aCe. wrote:

Try this:

 

index.png


.aCe.

 

The first example you provided works.  Why did you provide a more complicated solution? 

Kudos for this example. 🙂

 

0 Kudos
Message 14 of 16
(2,118 Views)

 

Oh thats because the input data is 1d array,  I had assumed it was 2d for the former.


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

Oh 😮  I also made the same assumption.. 

 

Well done!  🙂

0 Kudos
Message 16 of 16
(2,089 Views)