Cycle read file

Cycle read file

Hi All, I use this code to read data from a file: The first time I run, It's correct, like this: I saw that the ID1 increase step by step, and then when ID1=32 then return to 0, it's not correct, like this: Could you please help me to solve this.

This is a migrated post! Originally posted on 04.06.2019 by user kieuminh. Please be aware that information can be outdated.