04-25-2008 01:19 PM
04-25-2008 01:27 PM - edited 04-25-2008 01:29 PM
04-25-2008 01:38 PM - edited 04-25-2008 01:39 PM
The first thing is that you don't have anything in that program to operate continuously. DO NOT use the run continuous button on the toolbar. I can't save your VI back to 7.0 so I've attached an image. There is a while loop around the scope read and some functions to get the data and save it as a text file. I did not make this very fancy and you will want to add a path control/constant so that you don't get prompted for a file name all of the time. It's also not extremely fast since it saves data as text.
See http://www.ni.com/academic/lv_training/how_learn_lv.htm for resources to learn LabVIEW.
04-25-2008 02:13 PM
Hey guys,
Thanks for helping, it works now and saves it.
I have one final question. Is there a way to get LabView to save all the data in one file without it rewriting over the previous data so that it is just a continuous stream of data that saves start to finish until the program is stopped?
Attached is my updated VI
Thanks again, it has been so much help.
-Pat
04-25-2008 02:15 PM
Hi preilly,
connect a true constant to the "append to file" input.
Mike
04-25-2008 02:16 PM - edited 04-25-2008 02:18 PM
04-25-2008 02:19 PM
Ahha, that was an easy fix. Thanks all!
-Pat
04-25-2008 02:20 PM