Asked
— Edited

Upon manually connecting to Board 0, I would like to establish a connection to Board 1 using EZ-Script, process some initialization there (ie: 1.D0 do thus and such) Can I and if yes, how do I connect to Board 1 from script?
Thanks!
@DJ Thanks DJ, am using my phone to replay it's harder to reply using just my phone.
@mayaway, us the SayEZBWait() command Like DJ said.
At a quick look you script looks ok, nice init script too.
Thank you both:
"First, use the [ code ] formatters if you wish to display code" I am not quite sure what this means or how to do it, though I think there must be a way to indicate that a block of my post is code - so I'll see if I can figure out how to do that...
"second, use the SayEZBWait() command if you want to wait for it to speak." This sounds good because it may solve my problem, and you are also simply 'giving me a fish' and I want to learn HOW to fish... So I'll go lookup this command and maybe it will explain WHY I should use it...
@mayaway
edited
If you scroll to the bottom of your reply you'll see a list of many of these commands use for new when replying.
aha! Thanks! Got it... There's a learning curve here...
OK - Problem is NOT SOLVED
SayEZBWait("some text") is explicitly for completing the text to speech before moving on. Good tip but not the solution for my problem, which is:
Would the command
at the end of the Init Script for Board 1 solve this?
The init script is runs once to set your parameters if that is the correct word.
You might want to post your full init script so we can see exactly what you're trying to do thanks.
I think I understand what you're saying now. Are you using 2 init scripts or the same one?
If I am understanding what you are trying to do, the issue is that ARC is multi-threaded. multiple scripts can run simultaneously, so when you issue a command that starts a new script, the original one continues to process. What I think you are asking to do is pause the board 0 init script until board one completes its initialization.
There are probably multiple ways to do this, and I may be missing a simpler way, but one way you can do this is in your board 0 init script, initialize a variable. example
then, after the ControlCommand that starts board 1, you use waitforchange command to look for the value of $script0 to change
this will pause the script until the value of the variable changes.
Now, in your second script, after it has done all of its activity, the last command in the init script for board 1 would change the value of the variable, which triggers the waitforchange to take action and continue the script for board 0.
Alan