Hello Marco,

what character are you using as decimal point in your text file (dot "." or
comma ",")?

If the language (English or German or something else) & country setting of
the operating system and the language of LabView do not match this can lead
to the problems you described!
This is one reason why I always use English Windows with English LabView.

Regards
Herbert
*********************************
   Herbert Koltschik
   Sagem Communication Austria
   [EMAIL PROTECTED]
*********************************





                                                                                       
                                          
                      Marco Tedaldi                                                    
                                          
                      <[EMAIL PROTECTED]      To:       [EMAIL PROTECTED]              
                                
                      h.ch>                    cc:       (bcc: Herbert 
KOLTSCHIK/DTI/SAGEM)                                      
                                               Subject:  Scan from String and Read 
from spreadsheet not working                  
                      Sent by:                                                         
                                          
                      <[EMAIL PROTECTED]                                               
                                         
                      army.mil>                                                        
                                          
                                                                                       
                                          
                                                                                       
                                          
                      01/14/2004 08:24 AM                                              
                                          
                      Delivered date:                                                  
                                          
                      01/14/2004 08:54 AM                                              
                                          
                                                                                       
                                          
                                                                                       
                                          




Hello

I've got LabView 7 in which I want to read in umbers from a text file
(one column of floating point values, between 0 and 1)

With the format-string %.3f oder %.6f it allways gets the right number
of values (there are 9 Values in the file, and I get an array of 9
Values), but all the values are zero (type: single)! When I change 0.x
to 1.x in the file, I get 1.000 (instead of 1.x)!

Is this function broken or am I doing something wrong?

I'm working around the problem by just reading the part behind the
decimal-point and then divide, but I hope, there is a cleaner solution!

Marco














Reply via email to