After "On", the motor can be turned by hand- does not seem to be getting power.
I've set the dip switches to match yours, as I think we have the same kind of motor nema 17?
Do you mean reduce the size of preview window by changing the code? Or is this Hres and Vres in the CamDialog? I do get an image before the application crashes, but the preview window is gigantic and only shows a corner of the image.
Pi outputs:
Pin#1- 3.3v to reed switch
Pin#2- 5v to light relay
Pin#3/GPIO2- to light relay
Pin#4- 5v to ENA+, DIR+, PUL+ on TB600
Pin#8/GPIO14- to reed switch and red LED
Pin#11/GPIO17- to TB600 ENA-
Pin#12/GPIO18- to TB600 DIR-
Pin#16/GPIO23- to TB600 PUL-
Pin#39- GND to light relay