
WayneA
USA
Asked
— Edited

Good Afternoon,
I know there is a ping wait command. I want the ping wait command to time out in 5 seconds.Thoughts on this are most welcomed.
Upgrade to ARC Pro
Get access to the latest features and updates with ARC Early Access edition. You'll have everything that's needed to unleash your robot's potential!
Based on your post activity, we found some content that may be interesting to you. Explore these other
tutorials and community conversations.
Code:
Note: Script not tested nor written in ARC. Check the commands and use as a base for your script.
It's not idea and wont give exactly 5 seconds (it'll be at least 4 seconds but less than 5)
This will loop for approx. 60 seconds
Code:
Code:
Or you could use two scripts; one starts the Ping, starts the second script and then pauses after 5 seconds. There would be a 5 second sleep in the second script then a Resume command. Like this:
"HoldPing script"
Code:
"PingStart script"
Code:
You may have to adjust the sleep time to your liking.
EDIT: @Rich 7 @Richard, you guys slay me. Why do I even try?
Thanks Guys! On a different note, Could you please explain to me the ControlCommand() script start. I would like to run several scripts upon the connection of the EZB V4.
Image courtesy of DJ in a different topic
ScriptStart basically starts the script specified.
ScriptStartWait does the same but the main script which calls it will hold at that line until the script started with ControlCommand has finished.