10-08-2012 10:51 AM
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 ...
10-08-2012 11:43 AM - edited 10-08-2012 11:45 AM
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.
10-08-2012 02:29 PM - edited 10-08-2012 02:30 PM
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. 🙂