If you are using Write file vi, check "pos mode" and "pos offset" inputs and monitor their values according to online help guidelines meaning.
If another vi is being used to write to file,which one? How are you open and close file? Hope that you are not open/close it between subsequent test runs. If so - how? VI algorithm sample will be good to take a look at in this case.
Sergey