Repeating Background Commands
Repeating Background Commands v.2.0
This tutorial covers how to use an Entrance command to repeat at a user defined interval. This is useful for devices that automatically disconnect after a period of time without any activity. Another use is to query a device for a feedback every few seconds.
- Open Entrance.
- Add Entrance.
- Assign Command.
- Select Entrance.
- Entrance Properties.
- Repeatabe.
- Interval.
- Define Interval.
- Save.
Step One: Open Entrance
Click on the + sign next to the Panel name and you will see all the items which make up that panel including item called "Entrance".
Step Two: Add Entrance
Right Mouse button click on the "Entrance" item and select "Add Entrance". Default entrance name "Entrance" is created.
Step Three: Assign Command
Drag and drop a device command that you would like to keep executing in the background.
Step Four: Select Entrance
You will see the command be a part of the entrance in both the middle pane and the left hand pane of the iRule Builder. Click on the created "Entrance" item.
Step Five: Entrance Properties
On the bottom left hand pane of the builder you will see the properties of your entrance.
Step Six: Repeatable
Click on the drop-down arrow for "repeatable" item and select "YES".
Step Seven: Interval
Once "YES" is selected, "repeat every (sec)" option becomes available with default of 0.2 seconds between repeating the commands of the entrance.
Step Eight: Define Interval
Change it to your desired repeating time segment in seconds and press the Enter key.
Step Nine: Save
Click on the Save icon to save your work. Alternatively, you can click on File than Save or by pressing CTRL+S on the PC.
iRule Newsletter
Follow Us
Last 2 tweets from iruleathome:
