Run Custom Applications; Upload An Application; Configure Application Execution - Digi IX14 User Manual

Hide thumbs Also See for IX14:
Table of Contents

Advertisement

Run Python applications
# python
Python 3.6.4
>>> from digidevice import runt
>>> help("digidevice.runt")
Help on module acl.runt in digidevice:
NAME
acl.runt - Python interface to ACL runtime database (runtd).
.
.
.
>>>

Run custom applications

To run a custom application:
1.

Upload an application

2.

Configure application execution

Upload an application
To upload an application from your local PC to your device:
1. From the menu, click Applications.
2. Click Choose File and select the application file you want to upload.
3. Click Upload.
The uploaded file is stored in /etc/config/scripts.
To configure execution of the application, see
Configure application execution
To configure how to execute an application:
1. If you have not already done so, upload the application file. See
2. From the menu, click Configuration.
3. Open the Applications folder.
4. Click Add and complete the following fields:
Enable: Enable the script.
n
Label(Optional): Provide a label for the script.
n
Run mode: Select the run mode: On boot, Interval, Set time, or During system
n
maintenance.
Command: Specify the name of the application. By default, the system looks for the
n
application in the /etc/config/scripts directory. If you want to specify an application in
another directory, provide the complete path for the application file.
Log script output: Save stdout to the system log.
n
Log script errors: Save stderr to the system log.
n
Digi IX14 User Guide
Configure application
execution.
Upload an
Run custom applications
application.
54

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IX14 and is the answer not in the manual?

Questions and answers

Table of Contents