Hi people,
I have been having trouble of late with a program that I have upgraded. And have refined it quite a bit; plus also changed the hardware as well.
I have been left chasing my tail for the last week with this.
One of the new features I added, was a motor driver with a current shunt sensor. So it can detect a motor stall or overload condition.
I originally thought that these errors were surrounding the FVR and ADCconfig commands, used to read the shunt. Being set at 2.048v.
But as I have gone along. I have notice the total randomness of the errors, from download to download.
e.g. one time it would ignore a status LED output command, so the LED wouldn't light up(but it would read the command right before it). The next time it would ignore a digital switch input. Then ignore the TIME variable etc etc.
I am using an old Windows XP unit. Because I'm outside doing these changes.
I rolled back PE6 to 6.0.8 on the machine, from 6.1.0. And did another download last night....It seems fine at the moment. But I haven't tested every function yet, for errors.
The compiler shows no errors, nor does the download show any.
What I'm wondering....Are download errors a possibility?
The program is in the file. If that might help, in case I'm missing something.
I have been having trouble of late with a program that I have upgraded. And have refined it quite a bit; plus also changed the hardware as well.
I have been left chasing my tail for the last week with this.
One of the new features I added, was a motor driver with a current shunt sensor. So it can detect a motor stall or overload condition.
I originally thought that these errors were surrounding the FVR and ADCconfig commands, used to read the shunt. Being set at 2.048v.
But as I have gone along. I have notice the total randomness of the errors, from download to download.
e.g. one time it would ignore a status LED output command, so the LED wouldn't light up(but it would read the command right before it). The next time it would ignore a digital switch input. Then ignore the TIME variable etc etc.
I am using an old Windows XP unit. Because I'm outside doing these changes.
I rolled back PE6 to 6.0.8 on the machine, from 6.1.0. And did another download last night....It seems fine at the moment. But I haven't tested every function yet, for errors.
The compiler shows no errors, nor does the download show any.
What I'm wondering....Are download errors a possibility?
The program is in the file. If that might help, in case I'm missing something.
Attachments
-
16.6 KB Views: 11
Last edited: