From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert String into variable length Float Array (Dynamic Arrays)

I am trying to convert a user input string (list of numbers) to an array of however many numbers there are in the list. But I can only make this work with a fixed number of floats that the build array expects. Is there any VI or method to dynamically create an array from a sting list of numbers. Simplicity is the key, would not be worth it for this project if it involves much complexity.

 

The VI I am working on is attached. I searched the forum, and the most relevant thread is linked below, though the VI they posted did not run on my version of LABVIEW. I am running LABVIEW 2011, SP1.

 

 

http://forums.ni.com/t5/LabVIEW/Convert-1D-string-Array-to-Numeric-Array/td-p/50711

 

Thanks in advance for your advice/help.

 

*elA

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

Much easier with Spreadsheet String to Array:

Spreadsheet String to Array.png

0 Kudos
Message 2 of 2
(2,541 Views)