Ok, here is the test. With Tom Kerekes kind help I built a test program last year and modified it a bit yesterday. Here is what it is supposed to do:
- Wait for a trigger, then record data for 1000 intervals.
- The data is x pos, x dest, y pos, y dest, z pos, z dest, and supply voltage.
- The trigger is based on the difference in x following error exceeding 200 counts.
It seems to work fine, but when the following error faults out, the data collected afterward appears to be garbage numbers. I am not a c programmer, so my understanding of the program is limited. Here are screen caps of the faults:
Attached is the c program (with txt extension), which I ran in thread 6, the results in both excel and csv.
Looking forward to hearing from you folks, especially TK and Bhurts.
Cheers, David