LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Strings array to numbers array

How to convert array of strings into array of numbers ?

In the attached VI .. the array of strings is called "Array of Blocks"

Need help please 

0 Kudos
Message 1 of 2
(2,484 Views)

Hi Marina,

 

instead of creating new threads again and again you REALLY should stick with one thread!

 

As your "array of blocks" contains numbers formatted in binary representation you should convert them back to numbers using ScanFromString with a "%b" format string.

 

BUT: why do you create an array of strings when you have a numeric input and need numeric outputs? Why not stay with an integer datatype? (As has been asked before!)

Best regards,
GerdW


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