1
VB and the development of wizards / Re: How do I get my X, Y, and Z axis DROs to reset in this script?
« on: May 21, 2009, 11:28:26 PM »
Another trick is to add a Sleep(300) just after calling SetDRO, especially if the next line in your script calling a moving the same axis you just changed the DRO for. It looks like there is a synchronization problem between the VB script and the mach driver (probably running in different processes or threads) Otherwise the next move might be executed based on the previous DRO position, not the one you just set.
This solved a problem for me anyway. Worth a try.
EK
This solved a problem for me anyway. Worth a try.
EK