Hi,
I have a Labview 6.0 application which writes a packet (using Write File) of ~1,000 bytes, 100 times a second, to a hard disk on another computer (the drive has been mapped to a local drive using Windows). I have another application on the remote computer which polls the file, looking for the EOF marker to move, indicating a new packet has been written. When the marker moves I read in a packet using Read File. Occasionally I see the EOF marker move a packet's worth, but when I read in the packet it is all 0's. This problem seems to occur less often (but it still occurs) if I use Flush File after Write File, or if I put in a small delay between seeing the EOF marker move and calling Read File. Is it possible that Labview (or Windows) is moving the EOF marker before it has written the data? Is there a way to know when the data should be valid?
Thanks
Message Edited by Phamton on 05-25-2005 04:35 PM