The Reset is almost there.
The inside Case ? should use an inverted Button 3 wire instead of using the same ? feed as the outer Case (or non-inverted, but with the Reset in the False case).
The extra wire for the zero constant isn't necessary.
Essentially, the logic is
- Keep turning if the encoder hasn't reached the target yet and button 3 continues to be held
- Stop Turning when the encoder gets there even while button 3 is still held (also stop turning if button 3 is released before the encoder reaches the target)
- Reset the encoder only after the driver has released button 3 and the target has been reached (if reset earlier the whole thing just immediately starts over and it never stops more than momentarily)
- Start turning again when the button 3 is held down a second time
The Distance indicator you've put on the Front Panel will do fine.
Just run the code from Robot Main using the white run arrow at the top left of the window, and open up the front panel of Teleop to watch the distance indicator.
You can also use probes in the Teleop Block Diagram while it's running in this debug mode. Just hover over the wire you want to watch and right-click to choose Probe. It'll give a running display of the wire value. The advantage to this is you can probe lots of wires if you want without having to stop and restart the code.