shaffin Posted December 30, 2018 at 06:42 PM Posted December 30, 2018 at 06:42 PM 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. Quote
borg Posted January 2, 2019 at 09:42 AM Posted January 2, 2019 at 09:42 AM 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. Quote
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.