LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I append an output to a file that is simultaneously being created

i have an output that lets me know at the end of a test how many cycles the motor drive has run, i also have a file being created with my stress vs time data. I was wondering why I cant get the cycle output to append to the end of the data file after the test has been completed.  I am using labview 8.0. the data file is created using an express vi that i converted to a sub vi so that i could wire a description to it.  I have little clue of what I have here because i was asked with my limmited knowledge to figure out what someone else slapped together.  any help would be greatly appreciated!
0 Kudos
Message 1 of 2
(2,116 Views)
I created a vi for you that does the following...
reads two types of data to cluster (data, time)
writes data to binary file (smaller than txt, or spreadsheet)
once stopped, the program will append the number of data messages to the end of the file
 
I also showed two ways of reading the data back...
reading the data first, then the number of messages
or reading the number of messages, using that number to read the all the data left in the file
 
Hopefully this is what you were looking for.
0 Kudos
Message 2 of 2
(2,096 Views)