LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FlattenToXML: Coma (,) under WinXP but dots (.) under Win2000 ??

I use FlattenToXML and UnflattenFromXML vis to save clusters of data in a file. With the same executable ,under Win2000 these files
contain dots (.) for decimal points, under XP comata (,). How do I prevent this?

Thanks,
Marco
0 Kudos
Message 1 of 9
(3,107 Views)
Hi Marco

I think you might need to check the "Decimal symbol" set up in the number section of the regional options settings in Windows XP.

Neil
0 Kudos
Message 2 of 9
(3,102 Views)
Thanks Neil,

I checked my regional settings but found out that both PCs are configured the same way.
Even if I exchange the commas with dots (manuall in the xml-file) UnflattenFromXML generates Error 1108.

But still, loads of thanks for your help.

Marco
0 Kudos
Message 3 of 9
(3,100 Views)
Hello,

do you have the same Run Times on both systems? The same language?

On this link you can download the English Version:
ftp://ftp.ni.com/support/labview/runtime/windows/7.1/

On this link you can download the German Version:
ftp://ftp.ni.com/support/labview/runtime/windows/7.1/German/

Regards
Markus Weigl
Message 4 of 9
(3,075 Views)
Thanks Markus,

but I've got the same runtime engine installed on both systems.
I developed and build (application builder) the executable and the installation software on my PC, which has Win2000 installed.
Then I took the installation software to the customers PC (WinXP) and installed it.
As I wanted to analyze his files (xml) on my PC, I got the error code 1108 on the vi "UnflattenFromXML".
I noticed that the numbers on the XP have commas, but on mine (Win2000) have dots as decimal point ...

Still no solution but I appreciate your help a lot!

Marco
0 Kudos
Message 5 of 9
(3,069 Views)
Hello,

which LV-Version and which Runtime-version do you use?
Can you post your code in a reduced form and your exe?
So i can test the error.

Regeards
Markus Weigl
0 Kudos
Message 6 of 9
(3,059 Views)
Good morning Markus,

this is what happend: I wrote a small application to demonstrate you how WinXP and Win2000 save xml-files different.
So I ran it on both PCs and suddenly found out that they are both saving xml-files with commas.

If I run my vi directly under Labview 6.1 it saves xml-files with dots (12.2833), where as if I build an
application out of the same vi the executable saves xml-files with commas(12,2833).

So if I try to load my customers data (generated with an executable) and load it in my vi error 1108 occurs.

I'm glad I found out about this (thanks to your help!) but still don't now a way arround it.
Do you know about a setting in Labview 6.1 wich allows you to select the decimal point?

Thanks a lot!
Marco
0 Kudos
Message 7 of 9
(3,041 Views)
Hello,

in LV6.1 you have to check the settings in "Werkzeuge->Optionen->Frontpanel->Lokalen Dezimalpunkt verwenden".
If you turn on this field, you use the settings of your system.

Regards
Markus Weigl
Message 8 of 9
(3,035 Views)
Hi Markus,

found out how to do the settings... everything works fine now.
Thanks a lot, hope I can offer you some help sometime as well.

Marco
0 Kudos
Message 9 of 9
(3,021 Views)