10-09-2009 01:10 PM
Hi all,
I try to write a measure file to SD-CARD with labview ARM.
If I open and close file outside the while loop, the file is created but no data is writen. It works fine if I open and close file inside the loop. however, this means the file is reopened every time. did any one knows what happens?
This is my VI:
10-09-2009 04:05 PM
Perhaps youre overflowing the buffer somehow. Try closing the file reference before you write 4kB of data.
As in... Open and close the file within the while loop, but only a subset of the iterations.
07-21-2010 10:09 AM
Hello!
I have the same type of problem so I post there.
I' try to write on a file on the SD card, and if I don't open and close the file on the loop, there's only one line writed.
Unfortunately, on my application, I have to read the measure and write them on a file quickly than 10 ms and if I open and close the file each time, writing part take too long.
Is there a tip to resolve this?
Regards,
Cédric
07-28-2010 07:31 AM
Have you tried a master/slave loop implementation?
The master loop reads AI, then Que's the data to a slave loop that reads the Que and records chunks of data to disk?