LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

wrinting measured data to excel

hello

i am new to labview. as my task is to send the measured data to excel sheet. can anyone post me simple example vi that links to excel sheet.

for example temperature readings w.r.t time

thanq

0 Kudos
Message 1 of 6
(3,236 Views)

Hi kumar,

 

Did you try searching examples in the "find examples" link in labview? Check the report generation examples.

 

Warm Regards,

 

Nitz...

 

(kudos are welcome;) )

0 Kudos
Message 2 of 6
(3,225 Views)

Hi kumar,

 

-use "Write to Spreadsheet File" to save your data as CSV-file (which Excel can open easily).

-use "Write Measurement Data" to save a TDM(S)-file, an Excel plugin to load these comes with your LabVIEW installation

-use the ReportGeneratioToolkit to write "real" Excel files

-use the VIs commonly found here in the forum to access Excel via ActiveX

 

All of the mentioned possibilities have example VIs, which are accessible with the ExampleFinder of your LabVIEW installation...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 6
(3,223 Views)

thanq for your replies

 

i have tried with ' write to spread sheet file' ..i am able to get only one iteration in excel sheet ,but i want to get the values of all iterations ....i have attched VI ..

could you please help me out

0 Kudos
Message 4 of 6
(3,213 Views)

Set the 'append to file' input to True. Select Help>Show Context Help and read the description of Write to Spreadsheet File. Have this help window open whenever you use LabVIEW.

 

p.s. And don't use Insert Into Array. You've already got the Build Array function. Use that for both elements.

0 Kudos
Message 5 of 6
(3,204 Views)

Hi kumar

 

what if you kepp your life simple? Just write a (interchangeable) TDMS file and use the (free) TDM Excel Add-In to read those files into Excel.

With TDMS files your data will stay consistent and can be accompanied by (the in future needed) descriptive information....

 

Greetings from winterly white Aachen

Stefan

0 Kudos
Message 6 of 6
(3,158 Views)