LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

comma separator problem

Hi everybody,
could i know how to change the numeric format ? I've problem with matlab numeric format ( labview uses "," matlab instead " . " ) how can i set the point in labview numerical format?
 
i'm using labview 8.0
 
thanks
 
best regards
 
Luigi
0 Kudos
Message 1 of 7
(2,998 Views)
Tools -> Options -> Front Panel. Uncheck "Use localized decimal point" and restart LabView. I'm talking about 7.1 but I guess that for 8.0 it's approximately the same.
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 2 of 7
(2,994 Views)
Hi Luigi,

you also may change your file reading routines to expect just "English based notation" by using "%.;" in your format strings when parsing externally generated files...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 7
(2,988 Views)

Dear Princpanter,

i tried do do that but  now labview uses windows vista settings (italian version) . nothing is changed...two possible solutions...

 

1 . try to change windows setting ( where???)

2 . try to change matlab format ( where???) in this case i think that i could have some problem whit matrix definition...

 

0 Kudos
Message 4 of 7
(2,981 Views)

Dear GerdW,

could you explain more easily the procedure???

 

thank you.

0 Kudos
Message 5 of 7
(2,980 Views)
Hi Luigi,

when using scientific software (MatLab, communicating with measurement devices) I prefer to use English settings ("." for decimal separator, "," for thousands separator) even when using other languages than English (German in my case). You can set this in "Regional settings", atleast in WinXP.

You can read in (data-)files by using more low level functions and do the parsing (string to number) on your own using functions like "Scan from string" or "Spreadsheet string to array". When using such functions you have to define a format string! Here you can include "%.;" to set the string conversion to use English notation (read the context help for those functions, you will find a big list with all kinds of format codes).
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(2,976 Views)

thanks everyone,

I just solved the problem...

 

thank again

Luigi

0 Kudos
Message 7 of 7
(2,969 Views)