shaffin Geschrieben December 30, 2018 at 18:42 Geschrieben December 30, 2018 at 18:42 Hello, Is there an effective way to issue a blocking a Step command against the StepperBrick without using callback functions? I notice in my Delphi application that the call doesnt block! Thanks, Shaffin. Zitieren
borg Geschrieben January 2, 2019 at 09:42 Geschrieben January 2, 2019 at 09:42 Generally, the calls to the API have a timeout of 2.5 seconds. So calls like setSteps will never block, since they may take a long time. But you can make your own blockingSetSteps function that sets a bool value to true, calls setSteps, sets in the callback the bool value back to false and the blockingSetSteps function only returns when the bool value was set back to false. Zitieren
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.