LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

When building an appllication the data display changes between VI and EXE

You posted the built application which can only be run if you have NI-Vision. Most people don't have this so they won't be able to run your app. I'm also at a loss to understand what you're doing and what VIs you're building into an application, and what file you're reading.
0 Kudos
Message 11 of 14
(509 Views)

Dear all,

I found the problem by myself now:

In the VI diagram I use the conversion from String to numbers with the "Fractional/Exponential String to number" function. It has an input to specify wether the system decimal point should be used or not. The default is TRUE, so it should detect a comma "," but it uses the dot "." in my german LabView system BECAUSE THIS IS SET IN THE GENERAL LABVIEW OPTIONS and thats why the conversion works fine.

But in the application this option is not set in the INI file and thats why it only reads the string up to the dot. 1.5E-6 is read as 1 and the rest is ignored.

So if anybody comes to this point: SPECIFY THE SYSTEM DECIMAL POINT WHEN DOING A CONVERSION!!

 

P.S: To all proven enthusiastic veterans: If you are looking for a single tree, you don't need to know the complete forest.

0 Kudos
Message 12 of 14
(481 Views)

I'm not sure I completely understand what you're saying, but I believe what you're looking for is this:

How Can I Localize My Executable So That the Decimal Separator Is the Same on European Computers?

0 Kudos
Message 13 of 14
(471 Views)

rpweber wrote:

 

P.S: To all proven enthusiastic veterans: If you are looking for a single tree, you don't need to know the complete forest.


I am not sure exactly what you mean by this either.  But if you are looking for a single tree, and don't pay attention to the rest of the forest, you are going to bump your head a lot along the way.Smiley Tongue

Message 14 of 14
(466 Views)