LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Combine Two Excel sheets together

I have Two while loops in one LabVIEW block diagram, The two while loops are separated. the first one for pressure and the second one for temperature. I have already made the to write measurement file for each one to get the data in an excel sheet. after running the experiment, I already get two excel sheets. the first one for the pressure and the second one for the temperature. How can I combine these two data excel sheets in one excel sheet to generate all the experiment data ( pressure and temperature) in one excel sheet instead of two excel sheets? 

Download All
0 Kudos
Message 1 of 6
(2,374 Views)

Your images are completely useless because we can't even see the two while loops.

 

Lots of parts we see make very little sense, for example what's up with the "Dynamic-to-1Darray-to-Dynamic" song and dance you do everywhere? I am sure there would be a much cleaner solution without and dynamic data and express VIs.

 

Please attach your VI.

0 Kudos
Message 2 of 6
(2,340 Views)

This is the VI File. 

 

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

Since your loops are not synchronized and you are not using report generation toolkit, you cannot create single file for data storing.

What you can try is first save the data in lvm format in both the loops and when the program stops open both of the files, merge the data and then save it in a common excel file.

Capture.PNG


CLD Using LabVIEW since 2013
0 Kudos
Message 4 of 6
(2,306 Views)

I am thinking to make a report generation to get all data in one excel sheet !!!

0 Kudos
Message 5 of 6
(2,299 Views)

You can use a third loop to combine all data  (using local variables) and merge them into a single file. Make sure you set appropriate loop timer.


CLD Using LabVIEW since 2013
0 Kudos
Message 6 of 6
(2,288 Views)