Solution
You must set the file position pointer to the start of the file for reading, as following:
- Before you start the while loop, initialize the "count" input of the Read Datalog VI to 0 (Start)
- Then using a shift register, changing the "count" input to 1 (Current)
Refer to Write & Read Datalog File (fixed).vi for the fixed implementation.
![](/servlet/rtaImage?eid=ka00Z000001DvRn&feoid=00N0Z00000HEWRt&refid=0EM0Z000000RHRd)
Refer to Write & Read Datalog File (problem).vi attached below to reproduce this problem.