Digi WAN 3G User Manual page 144

Digi - connect wan 3g wireless router
Hide thumbs Also See for WAN 3G:
Table of Contents

Advertisement

Python configuration pages
Selecting Applications > Python from the main menu for a Python-enabled Digi device displays
the Python Configuration pages. These pages are used to:
Manage Python program files, including uploading them to Digi devices and deleting
them as needed.
Configure Python programs to execute when the Digi device boots, also known as auto-
start programs.
Python files
The Python files page is for uploading Python programs to a Digi device, and managing the
uploaded files.
Upload Files: Click Browse to select a file to upload to the
Upload.
Manage Files: Select any files to remove from the
Auto-start settings
The Auto-start settings page configures Python programs to execute when the Digi device boots.
Up to four entries can be configured.
Enable: When checked, the program specified in the Auto-start command line field will
be run when the device boots.
Auto-start command line:
and any arguments to pass to the program. The syntax is:
filename [arg1 arg2...]
Manually execute uploaded Python programs
To manually execute an uploaded Python program on a Digi device, access the command line of
the device. Then type the command:
python filename [program args...]
View and manage executing Python programs
The who command can be used to view which Python threads are running.
Digi device
Specify the Python program filename to be executed
C o n f i g u r e D i g i d e v i c e s
Digi device
and then click
and click Delete.
1 4 4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents