04-02-2012 01:02 PM
Hi,
I need to be able to save the data of 13 seperate properties in a spread sheet. I need to capture transient data and store it in a spreadsheet or something for analysis. I want to be able to create a new file everytime I capture the data, name the file, and I want to specify how long it should be capturing the data (maybe a time limit or start and stop buttons).
By the way, I have been trying to learn through examples in my LabVIEW 2009 Student Edition manual and the one example I tried was having problems working with my current laptop, which is running Windows XP. The error message told me that I couldn't write "?" and things like that. I think it is a Windows XP thing. I'm not sure. I can post the message if I need to.
Can someone please help me out? If someone could create an example I could work off of, I would greatly appreciate it! Thanks!!
04-02-2012 01:56 PM
Writing to a *.csv file may work for you. It is a text file that can be automatically opened in Excel.
04-02-2012 08:50 PM
That's a great suggestion. I'll try that, but I still don't know how to do the programming in order to create and save the file.
04-03-2012 03:28 PM
Hi KonemanM,
I would recommend you to open the NI Example Finder (Help » Find Examples) and go to the following path: Fundamentals » File Input and Output.
You will find there a lot of different examples to read and write data to different types of files.
I hope this information will help you. Regards,
04-07-2012 02:13 PM
Thanks for pointing out those examples. I have looked through someof them, but I am totally lost. For one example, I don't now what do do with my loops. I want the continuous loop to display data but I don't know if I need another loop to stop and start the file writing. I included my VI so you guys can take a look.
If someone could help me a bit more, like modifying my VI and sending it back to me so I can see what I am doing wrong, you guys would be a big help! Thanks again!
04-07-2012 06:34 PM
Gather data then write to file.
No need to display data in the loop since you are going to write to a file anyway.