9: Administration
SGX 5150 IoT Device Gateway User Guide
79
TM
NppFTP:
http://sourceforge.net/projects/nppftp/
This plugin provides a one-click upload of a file to an FTP server. Debugging and testing on
the SGX 5150 easier because SGX 5150 products have an FTP server through which to
upload files into the file system.
Applications
The SGX 5150 supports the ability to install and uninstall user-defined Python scripts and
packages and will include the following:
contains the setting options for configuring, installing, uninstalling and running external
applications via Python scripts.
Caution:
Use extreme caution when installing and running scripts.
Table 9-2 Script Settings
bin
python
lib
libpython{version}.so
<ltrx python sdk>
libpython{version}
"python precompiled scripts
"python shared libraries
Script Settings
Description
Reserved Start Port
Enter the Reserved Start Port. The range is between 1024 and 65535.
Reserved Ports
Enter a Reserved Port. The range is between 2 and 32.
Script (Number)
Click the
Run
button to manually execute the script.
Note:
The script is run with configuration saved to the Flash.
Enabled
(checkbox)
Check the
Enabled
checkbox within a particular script to enable it. Uncheck the
checkbox to disable the script.
Run on startup
(checkbox)
Check the
Run on startup
checkbox within a particular script to have it run upon the
start up of the SGX 5150 unit. Uncheck the checkbox to disable automatically
running the unit upon startup.
Run on shutdown
(checkbox)
Check the
Run on shutdown
checkbox within a particular script to have it run on
shutdown of the SGX 5150 unit. Uncheck the checkbox to disable automatically
running the script upon shutdown.
Script
Enter the path of the script to run.
Parameter
Enter the script parameters (if any).
Output
Enter output log file (if desired) for the script to redirect output of script to file. If the
name of output log contains "
%t
", it will translate it into time stamp (e.g.,
script1_%t.log => script1_2007-01-02_19-06-57.log
)
Uninstall (button)
Click the
Uninstall
button in a Python package to uninstall it.
Remove All
(button)
Click the
Remove All
button to uninstall all Python packages.
Filename (field)
Enter the package file name pathway in the file system and click the
Install
button to
install it.