Asentria SiteBoss 571 UserManual
Page 107
Note:
Events where the completion of an action writes to the Audit Log file do not trigger this event (otherwise
that would result in infinite Event and Syslog action processing).
Scripting Settings
Utilizing Lua scripting on a SiteBoss can be a complex process. In order to assist in the implementation of custom
Lua scripts, Asentria has created a
on the Asentria Product Information Portal, which goes
into further detail regarding the creation and usage of Lua scripts on a SiteBoss product.
SiteBoss 571 - Scripting Settings
A) Enable Scripting [OFF]
B) Clear Pending Records [0]
C) DTR Override Ports
D) List Allocated Devices
E) List Scripts
F) Manage Script Files
Enable Scripting
This is an ON/OFF toggle that controls whether scripts are allowed to run on the unit at all.
Note:
If scripting is disabled, then scripts cannot be started either automatically or manually, and other
scripting functionality such as record collection and DTR override will not happen regardless of the
related settings.
Note:
If scripting is disabled while scripts are running, they will be issued the STOP command which
could take up to 20 seconds to complete. If re-enabled, scripting will not function until after the previous
scripting session is completely shut down (i.e. all scripts are stopped).
Clear Pending Records
This option will displays the number of script records pending and when selected will clear them, setting the
counter back to 0.
DTR Override Ports
This selection will display a menu that toggles ON/OFF to specify IO port 1DTR handling to be under script control.
Normally the state of the DTR output pin on the IO port 1 is kept high. If this option is set to ON, the DTR will stay
low until a script changes it to the high state after a power-cycle or reset.
List Allocated Devices
This selection will display a list of I/O devices that are currently allocated to a running script.
List Scripts
This option displays a menu that lists of all of the 20 script entries. It will display the name, current state, and
configured arguments. Selecting a script opens up a submenu with detailed settings and status for that script.
SiteBoss 572 - Script List
Name State Arguments
A) Disabled
. . .
T) Disabled
Enter your Selection: A