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.
Refer to Write & Read Datalog File (problem).vi attached below to reproduce this problem.