
antguru
USA
Asked
— Edited

if I issue a script command such as:
digital wait (d23, true, 50)
what does the script execution do while it is waiting for the d23 status to change?
can I start another script in parallel to process at the same time when we are waiting for the digital port to change?
how would one start a parallel script?
is there a tutorial on coding parallel scripts while waiting for real world I/o changes?
thanks neil
You can start a "parallel script" a number of ways, manually or probably the better method would be using ControlCommand.
Look under Cheat Sheet in the right hand side of any script dialogue for simple click and paste ControlCommands available to the project.
You can start as many scripts as you want to run side by side, just as Rich said.
Do you want a specific script to run after the digital status has changed? If so then this is what you would use to execute that script.
Code:
We don't have any tutorials on running scripts simultaneously but it would be as simple as running a script with these commands:
Code:
This will have each script executing simultaneously.
Please Look at the ez-script manual for more information on EZ-Script functions
Neil