LEGRAND Server Technology PRO3X User Manual page 280

Hide thumbs Also See for Server Technology PRO3X:
Table of Contents

Advertisement

Writing or Loading a Lua Script
You can enter or load up to 4 scripts.
To write or load a Lua script:
1) Choose Device Settings > Lua Scripts >
2) Type a name for this script. Its length ranges between 1 to 63 characters.
The name must contain the following characters only.
• Alphanumeric characters
• Underscore (_)
• Minus (-)
Note: Spaces are NOT permitted.
3) Determine whether and when to automatically execute the loaded script.
Checkbox
Start automatically at system
boot
Restart after termination
4) (Optional) Determine the arguments that will be executed by default.
a.
a. Click
b.
b. Type the key and value.
c.
c. Repeat the same steps to enter more arguments as needed.
▪ To remove any existing argument, click
Note: The above default arguments will be overridden by new arguments specified with the
"Start with Arguments" command or with any Lua-script-related event rule.
5) In the Source Code section, do one of the following. It is recommended to leave the Enable Syntax
Highlighting checkbox selected unless you do not need different text colors to identify diverse code
syntaxes.
• To write a Lua script, type the codes in the Source Code section.
280
Behavior when selected
Whenever the PRO3X reboots, the script is automatically
executed.
The script is automatically executed each time after 10 seconds
since the script execution finishes.
.
.
adjacent to it.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Server Technology PRO3X and is the answer not in the manual?

Table of Contents