LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Please show example of disk streaming

The book mentions on 15-7 LabView Express about disk streaming. It states to put the Open/Create/Replace File VI before the loop and the close file vi after the loop. I wired the ref numbers through the loop but it only records the last data. How can I get this to record each iteration without the overhead of file/open close?

Thanks,
Troy P
Pella Windows and Doors
0 Kudos
Message 1 of 3
(2,968 Views)
You probably have not wired a True constant to the "append to file?" node of the write to file vi. I have attached an example which streams the current iteration to file until the Stop button is pressed.

I hope this helps.
Message 2 of 3
(2,960 Views)
Thank you John R for the quick reply. It turned out I didn't even have the write file vi in the loop. Your example was awesome and a great help. Happy Holidays! Troy
0 Kudos
Message 3 of 3
(2,933 Views)