LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

séparateur décimal exécutable

Bonjour à tous,
 
J'ai réglé sous labview dans les options de la face avant : ne pas utiliser le séparateur décimal local
 
Windows XP est réglé avec le sépareteur : virgule ,
 
lorsque j'éxécute mon VI sous labview, le séparateur décimal est alors le point (ce que je désire)
 
mais lorsque je crée un éxécutable, et que je lance le VI.exe le séparateur décimal est maintenant la virgule et non le point...
 
comment faire pour que mon éxécutable utilise le point sans que je change le sépareteur de windows
 
merci
0 Kudos
Message 1 of 4
(3,073 Views)
If I understood correctly, you have problems with the local decimal point.....

When working with strings (Scan to/from string etc) the following operators can be used

%<comma><semi-colon> for "," seperator "%,;"
%<point><semi-colon> for "." seperator "%.;"
%<semi-colon> for default seperator. "%;"

Check HERE for further details,

Shane.

Message Edited by shoneill on 08-28-2007 12:54 PM

Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 2 of 4
(3,073 Views)

Hi,

In fact the problem come from a numeric command from the front face...

I want to enter numerical data in it with the keyboard and if I want to save 405.05 in the labview software I have to put 405,05 with the executable VI and I want . instead ,

0 Kudos
Message 3 of 4
(3,064 Views)
Try setting the decimal point character in the INI for the executable.  You should find the corresponding entry in your LAbVIEW.ini file.

The setting should be

useLocaleDecimalPt=False

It will then default to "." instead of ",".

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
Message 4 of 4
(3,060 Views)