ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW to Excel - decimal separator issue

Solved!
Go to solution

I'm using a VI to copy a LabVIEW table to Excel

 

http://forums.ni.com/ni/attachments/ni/170/125802/1/Write_Table_and_Chart_to_XL.llb

 

My system uses the comma as a standard decimal separator. Despite changing the LabVIEW settings the table I generate uses a decimal point. When I copy the data values smaller than one are copied correctly, but values > 1 are recognized as the value times a million.

 

0,9 is still 0,9 but 1,34 is 1340000

Is there any way to resolve this issue


Thanks

0 Kudos
Message 1 of 5
(4,055 Views)
Solution
Accepted by topic author NewbieNick

I ran your VI and everything looks fine for me!!

 

I get the attached table when I ran the code.

 

Are you using any non-english keybord? or is there any default settings in Excel with formatted cells? 

 

Iam using LV8.5, and I changed the range property's value to Value2 in Set Cell Value.vi (since it had a broken arrow) 

 


         
Message Edited by Vsh on 11-09-2009 02:55 AM
Message 2 of 5
(4,049 Views)

I'm running Win 7 Pro on a German Sony Vaio and (sadly) with a German version of LabVIEW 9

But how does the keyboard effect the decimal settings, and if it does - do I have to make some changes to my Regional / Language options?

0 Kudos
Message 3 of 5
(4,044 Views)

Damn, I just changed system locale and settings to English UK and it works fine.

I don't get it, but it still works!

 

Thanks

0 Kudos
Message 4 of 5
(4,040 Views)

Yeah,

 

I had faced a similar issue when I was using an Italian keypad. Period, comas, decimal points are at different locations in different language keypads.

 

I cant tell you what exactly the problem is,

 

Im glad it helped you. 

 

Now I am practicing a blindfold typing with an arabic keypad..  :smileymad::smileymad:

Message Edited by Vsh on 11-09-2009 03:12 AM
0 Kudos
Message 5 of 5
(4,037 Views)