LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data loggin in excell sheet

hello sir
i want to log analog data in the excell sheet.
the report should be event based i.e if i give start command data should be logged in the excell sheet. please reply me as soon as possible
0 Kudos
Message 1 of 4
(2,718 Views)
There is one very simple solution - use the function write to spreadsheet file from the file I/O palette.
Name the file in the path as *.xls and the file will be opened by excel.
 
Maybe this simple example clearifies it a little.
 
Thomas

Message Edited by becktho on 09-05-2005 01:07 PM

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 2 of 4
(2,709 Views)

Also here are some vi's that are useful when interacting with excel directly. I would just use the write to spreadsheet or even lower level file i/o then after everything is done put it into excel.

 




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 3 of 4
(2,682 Views)

You can also use ActiveX to control Excel. However, this is not as simple as the other suggestions. There is an example in the example finder that shows you how to do it. It is called Write Table to XL.vi.

Jack J.
Applications Engineering
National Instruments

0 Kudos
Message 4 of 4
(2,667 Views)