LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write data in excel with time

hello friends, 

                         i am having a code and i want to take out the data output in excel with real time but i dont know how to do this , plz help me to fix this problem , here  i am attaching the vi. thank you in advance ...

0 Kudos
Message 1 of 3
(2,337 Views)

Oh, boy.  Looking at your overall program, I highly recommend doing some studying on "state machines".  If you choose File-> New.. from the menu bar there are some examples. 

 

You can use the report generation toolkit to save data to Excel.  Otherwise, search the forums.  There are many discussions about saving data to excel with ActiveX, etc.

 

 

 

 

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 2 of 3
(2,328 Views)

Hi,

 

Do you just want to dump the data into an EXCEL readable file, like CSV?  If all you want to do is save data to file you can use the save to spreadsheet to file primitive.

 

Where in this VI is the part where you data is available?  Is the Data the local variables that are on outputs of some of the subVI's?  Since you are already committed to using locals, make one more frame where you read all the variables, put them in an array, and use the save to spreadsheet as mentioned.

 

I agree with the previous post, state machine would be much better framework. 🙂

-------
Mark Ramsdale
-------
0 Kudos
Message 3 of 3
(2,316 Views)