LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

decimal string to number problems

Solved!
Go to solution

Hi all,

 

I'm trying to get the numbers from a string i got from an external device into a spreadsheet file, but it wont let me..

can somebody help me?

 

(the string contains 3 letters, one space and then 4 numbers)

(I also tried to connect it to both the 1-d and the 2-d connectors)

(yes I set the spreadsheet-write-vi to integer)

 

thanks

0 Kudos
Message 1 of 5
(5,694 Views)
Please post whatever VI you have already, as well as some sample data.
0 Kudos
Message 2 of 5
(5,690 Views)

What else do you need to know?  

 

0 Kudos
Message 3 of 5
(5,682 Views)

If you look at the error help (ctrl-l) you can see that the 'Write spreadsheet file' functions wants and 1D or 2D array of numbers).

You give the function a scalar, to get this working use an 'build array' function.

 

You can get the same error info if you hover the broken wire.

 

Ton

 

 

Message Edited by TonP on 10-02-2008 05:01 PM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 4 of 5
(5,674 Views)
Solution
Accepted by topic author milo_unlimited

Thanks!

 

i never would've found that out by myself 😄 

0 Kudos
Message 5 of 5
(5,636 Views)