LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to speed Excel data dump?

Hi,
It takes a long time to dump data into Excel (2003) spread sheet during data dump (test report). I need to speed up the process.
 
1)  How can I disable the update property of Excel (that may help speed the dumping data process...).
2)  I would like to turn off viewing of the  Excel spreadsheet (but dupming data in the background), that may help or not? How can I do that, and which VIs from the library can I use, any sample code?
 
I am using LabVIEW version 7.1 on XP.
 
Thanks for your help.
 
LVLV
0 Kudos
Message 1 of 8
(3,690 Views)
I've attached a vi showing how to turn off viewing of Excel (that is, make it invisible). Wire the appropriate control to False, for not visible.
0 Kudos
Message 2 of 8
(3,666 Views)
To answer the first question, access the "EnableCalculation" property of the worksheet object.
0 Kudos
Message 3 of 8
(3,641 Views)
To answer the first question, set the ScreenUpdating property of the Application object to false.
Michael Munroe, CLD, CTD, MCP
Automate 1M+ VI Search, Sort and Edit operations with Property Inspector 5.1, now with a new Interactive Window Manager!
Now supports full project automation using one-click custom macros or CLI.
0 Kudos
Message 4 of 8
(3,576 Views)
LVLV,
Could you tell us the improvement, if any, obtained after these optimisations ?
Thanks,
Chilly Charly    (aka CC)
0 Kudos
Message 5 of 8
(3,569 Views)

Thank you all, it worked great.....

-LVLV

0 Kudos
Message 6 of 8
(3,546 Views)
Hello everybody,
 
I've the same problem using LabWindows.
 
I don't know how to disable the sreenupdating property.
 
Can you help me please ?
 
Thanks
 
Mathieu
0 Kudos
Message 7 of 8
(3,219 Views)
Well, in terms of Excel, it's the same property/method. In terms of using ActiveX with LabWindows, you're better off asking this question in the LabWindows forum. This is the LabVIEW forum. LabVIEW is the graphical programming language.
0 Kudos
Message 8 of 8
(3,196 Views)