LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write data into a spreadsheet

Solved!
Go to solution

Hi!

 

I'm new on labview and I've created a project that measures temperature and water level. I want the data (temperature and water level) to be saved into a spreadsheet. I've attached the project.

 

Thank you for your help.

0 Kudos
Message 1 of 11
(3,533 Views)

Hi Elys,

 

I want the data (temperature and water level) to be saved into a spreadsheet.

Your VI already does save the data to a spreadsheet file!

So what is your problem?

 

(Maybe you should clean up your VI. It would help to put that stuff into one loop instead of using two of them. Charts and gauges allow to make a numeric display visible, so no need for additional indicators…)

 

Best regards,
GerdW


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

It should do this, but everytime i run the project it doesn't ask me for the path...and if i put it before running the program, it doesn't write anything down there.

 

Thank you for the advice, i'll use one loop.

 

0 Kudos
Message 3 of 11
(3,513 Views)

Hi Elys,

 

but everytime i run the project it doesn't ask me for the path.

Your VI asks me for a path - when the "path" control is empty…

Best regards,
GerdW


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

Hello!

 

It's quite interesting... Can it be a problem with my pc or something else? I used LABVIEW 2018.

 

Thank you!

0 Kudos
Message 5 of 11
(3,499 Views)

Hi elys,

 

it will ask for a path as soon as WriteDelimitedFile is executed. As you probably know to THINK DATAFLOW that happens when you stop both loops...

Best regards,
GerdW


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

Hi!
I'm so sorry to ask you, but can you show me how to do that?

 

Thank you very much!

0 Kudos
Message 7 of 11
(3,491 Views)

Hi elys,

 

use the stop button in your loop to stop the loop...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 8 of 11
(3,488 Views)

Hello!

 

I managed to write my data into a spreadsheet, but now the problem is that i want the data to be written on columns, not on rows. I attached my VI.

 

Thank you again!

 

 

0 Kudos
Message 9 of 11
(3,390 Views)
Solution
Accepted by topic author Elys25

There should be a "Transpose array"-input, or you'll have to manually Transpose 2D-array beforehand.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 10 of 11
(3,387 Views)