How do I insert delays in scripts?

Sometimes you need a script to pause for a short time before executing the next step. A typical case is when you need to change the IP of a Helm device to target a different machine. A small delay is needed to allow the device to establish communication before you send other commands. Let’s look at an example…

Our example panel


Buttons CG1 and CG2 change the IP address of the Xpression_1 character generator.

Here’s the script


We need to add some delay after the SetIPAddress command to let the CG settle down.

Choose Root Panel device and Sleep action


Select Root Panel, Sleep.

Enter the number of ms to sleep


either type in or use the arrow buttons to set the sleep time (ms)

Click on Update and OK – Done!