LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Export to Excell

Solved!
Go to solution

Hi,

 

I have a problem when i try update a excel sheet because array which i export, adds 3 zeros to the values of every cell such as shows in next figure..

 

Best regardsni.JPG

0 Kudos
Message 1 of 7
(3,812 Views)

Your screenshot misses line 2 of the array, so we cannot see the make up of the numbers there. I assume that the second line is the same as the first, but you should confirm that.

It looks like a localization issue to. If your localized OS uses ',' instead of '.' as decimal symbol, it is possible that issues like this occur. Please check your regional settings in the OS.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 7
(3,803 Views)

line 2 of the array is empty:

 

 

Localization can't be the cause because in every cells there are 3 more zeros without "," or ".".

 

  nin.JPG

  

Also, on another sheet values are exported correctly 

 

nin2.JPG

 

 

 Best regards

 

 

0 Kudos
Message 3 of 7
(3,772 Views)

Hm, i am not convinced that it is NOT an ./,-issue.

You have to keep in mind that at least in the US, the '.' is the decimal point where as the ',' seperates "thousands".

E.g. 1M writes as double:

1,000,000.00

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 7
(3,765 Views)

Ok, i know...but. why adds zeros when reads from excel sheet??? and not in the other way (when writes values)

 

I did other test: resumen 2D divides by 1000 previously 

 

 

This is the result :

nty.JPG 

 

 

 

 Doesn't divide all the cells....

 

¿?¿?¿

 

very grafetul 

 

 

 

 

0 Kudos
Message 5 of 7
(3,746 Views)
Please post your VI and your .xls file.  Then we can play with it and see what it going on.
0 Kudos
Message 6 of 7
(3,738 Views)
Solution
Accepted by topic author Squal

I found the solution: needed to be configured format string parameter in Append Table to Report.VI

 

by default is  %.3f nty.JPG

 

 

 

 

 

 

 

 

Thanks you very much to all

Message 7 of 7
(3,730 Views)