Chapter 6: Using the Web Interface
396
Lua Scripts
If you can write or obtain any Lua scripts, you can create or load them
into the PX3TS to control its behaviors.
Raritan also provides some Lua scripts examples, which you can load as
needed.
Note: Not all Raritan Lua script examples can apply to your PX3TS model.
You should read each example's introduction before applying them.
You must have the Administrator Privileges to manage Lua scripts.
Writing or Loading a Lua Script
You can enter or load up to 4 scripts to the PX3TS.
Tip: If you can no longer enter or load a new script after reaching the
upper limit, you can either delete any existing script or simply
modify/replace an existing script's codes. See
Modifying or Deleting a
Script
(on page 401).
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
Behavior when selected
Start automatically at
system boot
Whenever the PX3TS reboots, the script is automatically
executed.
Restart after
termination
The script is automatically executed each time after 10
seconds since the script execution finishes.
4.
(Optional) Determine the arguments that will be executed by default.
a.
Click
.
Summary of Contents for PX3TS
Page 5: ......
Page 16: ...Contents xvii Index 807...
Page 83: ...Chapter 4 Connecting External Equipment Optional 59 A DPX2 sensor package A DPX sensor package...
Page 85: ...Chapter 4 Connecting External Equipment Optional 61...
Page 754: ...Appendix H RADIUS Configuration Illustration 730 Note If your PX3TS uses PAP then select PAP...
Page 759: ...Appendix H RADIUS Configuration Illustration 735 14 The new attribute is added Click OK...
Page 760: ...Appendix H RADIUS Configuration Illustration 736 15 Click Next to continue...
Page 792: ...Appendix I Additional PX3TS Information 768...