LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i write data and print with an excel file

I have built a sort of user interface with the front panel which includes text boxes for typing in information as well as string and numerical indicators for displaying data collecting from DA. The information I need to save and print is a single set of values from each measured channel and the user typed in info. The typed info and measured data will comprise an individual test. I would like to either create a report using the inputted information and collected data or store all data (and headers) to an excel file automatically created with the date and time for a name. My initial thought is to use a single momentary rocker button to freeze screen and the values of measured channels, a second button to save the data/i
nfo to the excel file (hopefully auto naming the file with the run date/time), and a third button to print the excel file. This file could be preformatted with the value labels if necessary and/or possible. Any help or guidance would be appreciated.
0 Kudos
Message 1 of 2
(2,569 Views)
There are many ways to log data to a spreadsheet type of file. There are several example programs that ship with LabVIEW that demonstrate some methods. In LabVIEW, go to Help->Find Examples and type "file" in the Search tab. The VI, "Cont Acq to Spreadsheet File.vi" might be a good starting point. You might also try looking through the example programs on the Developer Zone at <> for suggestions.

If you still have questions, please post a reply.

Regards,

Kristi H
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,569 Views)