Hello, we are having problems with our encoder for this year’s robot program. We have a dashboard project set up to see values but there is no response for rate or distance. Any suggestions for what we should be doing to fix the issue we’re having? Screenshots are included of our Begin and Periodic Tasks vi.
It looks like you copied the example, and then created constants for each of the Encoder Open inputs. But you left the constants disconnected, with the code still using the controls from the example. I can’t tell what values you have set them to on the front panel.
You should probably just delete those controls and wire the constants in their place.
Your wiring in Periodic Tasks is confusing. I can’t tell where things are going. It looks like some of the wires cross under the right side of a node in order to connect to a terminal on the left. And what’s that feedback node doing there? You might get a more easily understood block diagram if you simply used the Clean Up tool on it.
Thanks for spotting this…we’ll fix it today - be on the lookout for a follow-up.
(And sorry we posted this in the wrong forum…any way to move it to “Programming - Labview”?)