01-24-2019 11:35 AM
I am Reading a Spreadsheet File from my computer and editing it Using For loop, I have a problem when i run the program more than once i got an error
For Example I have a sheet with 50 columns
When i run the program at the first time and it works well .. at the second time i run the program, it starts to read from column 51 to 100 and actually there is no data to read in the sheet so i got an error and the program stops.
I have to change something in the VI or reopening the vi to work again
How can i reset the for loop to read from first column again ?
Solved! Go to Solution.
01-24-2019 12:01 PM
Please post your code. It sounds like you have an uninitialized shift register that holds the column index.
01-24-2019 12:18 PM
Yes, You are right.
I didn't notice that i didn't put a constant 0 wired to the shift register
Thanks a lot.