LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing transient data into a spreadsheet file in Windows XP

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!!

 

0 Kudos
Message 1 of 6
(2,448 Views)

Writing to a *.csv file may work for you. It is a text file that can be automatically opened in Excel.

 

 

0 Kudos
Message 2 of 6
(2,444 Views)

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.

0 Kudos
Message 3 of 6
(2,436 Views)

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,

steve.bm
AE | NI
Message 4 of 6
(2,421 Views)

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!

0 Kudos
Message 5 of 6
(2,404 Views)

Gather data then write to file.

 

No need to display data in the loop since you are going to write to a file anyway.

 

 

0 Kudos
Message 6 of 6
(2,397 Views)