Warning: The newly-loaded script will overwrite all existing codes in the Source Code section.
Therefore, do not load a new script if the current script meets your needs.
6) If you chose to load a script or the example in the previous step, its codes are then displayed in the
Source Code section. Double check the codes. If needed, modify the codes to meet your needs.
7) Click Create.
Manually Starting or Stopping a Script
You can manually start or stop an existing Lua script at any time.
When starting a script, you can choose to start it either with its default arguments or with new
arguments.
Tip: To have the PRO4X automatically start or stop a script in response to an event, create an event rule.
▶
To manually start a script:
1) Choose Device Settings > Lua Scripts. The Lua scripts list displays.
2) Click the desired script whose state is either 'Terminated' or 'New.'
3) To start with default arguments, click
To start with new arguments, click
will override default ones.
4) If you chose "Start With Arguments" in the above step, enter the key and value in the Start Lua
Script dialog.
•
• Click
336
.
> Start With Arguments. Newly-assigned arguments
if needing additional arguments.
Need help?
Do you have a question about the Server Technology PRO4X and is the answer not in the manual?