You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 5, 2020. It is now read-only.
I have been looking for a good way to determine when the last of my BatchCommand(s) have been executed (knowing when the motors have stopped). I thought about finding a way to append a command to the BatchCommand that sends some sort of indicator when it is reached. I looked at the BatchCommand methods, and some of them (such as GetDeviceName, GetFirmwareVersion, etc.) looked like they returned a value (even though they were a Sub or returned void, rather than being a Function or returning some kind of value). I figured if I added one of these to my BatchCommand I could wait for it to send/return the value, but I don't know how to do that. How do I get the value returned from these commands?
NOTE: The reason (in this specific case, all there may be other scenarios) I want to know when the BatchCommand(s) finish is because I want to send more commands than the Brick can remember (I could end up sending anything from 5 or 6 to 10,000 or so), so I need to send them only a few at a time (a few meaning whatever the max is).
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have been looking for a good way to determine when the last of my BatchCommand(s) have been executed (knowing when the motors have stopped). I thought about finding a way to append a command to the BatchCommand that sends some sort of indicator when it is reached. I looked at the BatchCommand methods, and some of them (such as GetDeviceName, GetFirmwareVersion, etc.) looked like they returned a value (even though they were a Sub or returned void, rather than being a Function or returning some kind of value). I figured if I added one of these to my BatchCommand I could wait for it to send/return the value, but I don't know how to do that. How do I get the value returned from these commands?
NOTE: The reason (in this specific case, all there may be other scenarios) I want to know when the BatchCommand(s) finish is because I want to send more commands than the Brick can remember (I could end up sending anything from 5 or 6 to 10,000 or so), so I need to send them only a few at a time (a few meaning whatever the max is).
The text was updated successfully, but these errors were encountered: