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: 

Problem on Converersion from array to string

Solved!
Go to solution

Hi everyone,

 

I have an array of type 'string', which all the elmenmts are same:  '9.91E37'.

 

I am going to make an array of length 64 (64 elements) of value '9.91E37' with a comma between each of them (Except the first one and the last one).

 

The result is supposed to be like this:   9.91E37,9.91E37, ................ , 9.91E37

 

 

Is there any way to do this quickly ?  I don't really have to use that array but only needs a string with 64 elments, it must got some methods to do it in labview other than typing 64 of them in a string constant.

 

 

Thanks a lot,

 

+Kunsheng Chen

 

 

0 Kudos
Message 1 of 3
(2,922 Views)
Solution
Accepted by Kunsheng Chen

Try "Array to spreadsheet string" with a comma as delimiter.

 

(To make the string array, you could use "initialize array" with the desired string as element and lenght=64.) 

Message Edited by altenbach on 03-12-2009 12:43 PM
Message 2 of 3
(2,920 Views)

Thanks a lot! it works like a charm!

 

 

+Kunsheng

 

0 Kudos
Message 3 of 3
(2,911 Views)