LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Add an avergae row in a spreadsheet

Solved!
Go to solution

I would like to add an additional 5th row to a spreadsheet file that contains a row of headers and 3 rows of data. The 5th row will consist on the average values of the 3 corresponding cells above(rows 2, 3 and 4).

 

See the attached files as example of the initial and final file I would like.

 

Can this be done with Labview 2011?

Thank you.

Download All
0 Kudos
Message 1 of 7
(2,867 Views)
-I guess, it can be done.
-Open the spreadsheet using read from spreadsheet file.
-Get the data into 2d array and from then its just simple like what you mentioned.
Thanks
uday
Message 2 of 7
(2,859 Views)

I am trying to implement it but I am stuck. I have very basic knowledge of labview and I am not very skilled operating with arrays. Could you please make an example or complete the VI attached I am trying to do?

 

Thank you.

0 Kudos
Message 3 of 7
(2,831 Views)

Hi ka_torce,

 

-Please find the attached vi, you need to again wrtie these data back to same file.

-Apart from that, everything is done (I saved file in csv format and then used).

-Please never ask people in the forum to complete the vi or code, instead ask how to approach or go further.

Thanks
uday
Message 4 of 7
(2,820 Views)

Dear Udka,

 

thanks for your help but your Labview version is newer than mine. Can you please convert it to Labview 2011? Sorry for asking to complete the code but with the example is better for me for understand how to do it. I will follow your advice and next time ask differently.

 

0 Kudos
Message 5 of 7
(2,816 Views)
Solution
Accepted by topic author ka_torce

Hi ka_torce,

Sorry, here you go for LV11.

Thanks
uday
0 Kudos
Message 6 of 7
(2,812 Views)

Another approach.

 

Averaging_BD.png


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 7 of 7
(2,795 Views)