Quote:
Originally Posted by Lucario231
I have tried putting a start right after the open vi in begin.vi
That didn't work. The rest of my code is working.
|
It would help to see the code that you say isn't working. Please post the relevant parts of Begin and Teleop. Include Robot Main too if you've modified it.
And please tell us exactly where you have each wire from the encoder connected to, so we can match the hardware to the software as we look at the code.
Quote:
When looking at the devref in the probe everything is fine except for the counter index which is invalid.
I am guessing that is the problem.
|
No, an invalid counter index is expected if you are doing 4x decoding, which is the default. Only 1x and 2x decoding use FPGA counter resources.