01-11-2011 03:14 PM
Can anyone tell me why I can only read/write to a datalog file once. After the file is created, written to and read from, it won't work the second time. I tried setting the position without success although the default position is at the start of the file and the first record.
Thanks
Matt
Solved! Go to Solution.
01-11-2011 04:25 PM
What do you mean by "no data when reading"?
When I run your VI, it saves the data to a file, then reads it okay. Change something, save again. It reads again, but the original data. I think because you are basically appending data to the end, but when you read back, you only get the first or original data.
What are you really trying to do? These are fairly complicated clusters and look like something that you should be using config files for or the OpenG cluster file tools.
01-11-2011 05:42 PM
Try this one.
01-11-2011 05:44 PM
I think you are writing it every time, but since it was not replacing the old file, it probably adds it on to the end and when you read it the next time, your indicators don't show what is all the way at the end, just what was written the very first time.
01-11-2011 09:38 PM
Thanks for the answer.