Hi,
I have a programme which uses an RT FIFO to read data and save it using "write to spreadsheet.vi" onto the hard drive in my National Instruments chassis, which is then accessed using ftp. The first time I run the programme it works fine and logs all the data as expected. However, if I run the programme again, the text or spreadsheet file created is not updated, even though the file size appears to have changed when I view the folder using the ftp server. The only way I can get the file to update is to delete it from the folder and restart LabVIEW before running the programme again. If I delete the file from the folder but do not restart LabVIEW, when I run the programme again I get an exact copy of the last file which was created, as if something inside LabVIEW is remembering the information it wrote last and rewriting it.
As far as I can see, the FIFO is emptied as it writes to the spreadsheet, so the information isn't stored there, and "write to spreadsheet.vi" automatically closes the file it opens after it has been written, so I'm lost as to where this information is being stored. Any advice would be great!
Thanks,
Nick