The Scan From String with a format of %.3f will convert ----0.5785 to 0.5785 no matter how many spaces you have in front of the number and if you have the text 5.785 it will convert to the number 5.785. Are you sure that your numberic indicator is a double or single and not an interger? If it is, why don't you post your VI and a sample of the file you're trying to read?
Still does not work in my computer.
I don't understand what's going on. I have been programming with Labview for the last three years!
I will try to re-install Labview as a last resource...
I need to admit that never before I have been so close to hit the screen as this evening!
Anyway, thanks for the replays Dennis.
PD: If anybody has a clue why my labview does not like a number that starts with 0, I kiss the screen!
Just in case wants to know, the problem was that my data file was using
a dot to separate the decimas 0.58, and Labview didn't like it. by just
changing the input to 0,58 everything was fine.
All the best, Jofre.
Interesting. In the future, you may want to look under help for
"Format Specifiers Syntax Elements." At the bottom, there is a
section titled "Localization Codes" which will help you define how LV
interprets the decimal separator. For example, to use the period
decimal point, the code is %.; while for a comma, it is %.;
Just FYI.