EasyManuals Logo
Home>Digi>Server>ConnectPort LTS Series

Digi ConnectPort LTS Series User Manual

Digi ConnectPort LTS Series
163 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #117 background imageLoading...
Page #117 background image
Configure the device using the ConnectPort LTS web interface Applications pages
Digi ConnectPort LTS User Guide
117
Python Files
The Python Files page allows you to upload and manage Python programs on a ConnectPort LTS
device.
n Upload Files: Click Choose File to select a file to upload and click Upload.
n Manage Files: Select any files to remove from the ConnectPort LTS device and click Delete.
Auto-start settings
Use the Auto-start Settings page to configure Python programs to execute when the ConnectPort
LTS device boots. You can configure up to four auto-start entries.
n Enable: When selected, the program specified in the Auto-start command line field runs when
the device boots.
n Auto-start command line: Specify the name of a Python program file to be executed and any
arguments to pass to the program using the following syntax:
filename
[
arg1 arg2
...]
Manually execute uploaded Python programs
To manually execute an uploaded Python program on a ConnectPort LTS device:
n Access the Digi device command-line interface and type the following command:
python
filename
[
arg1arg2
...]
View and manage Python programs
To view Python threads running on the ConnectPort LTS device:
n Access the Digi device command-line interface and type the who command.
Python program management and programming resources
Digi incorporates a Python development environment into ConnectPort LTS devices. Digi integration of
the universal Python programming language allows customers an open standard for complete control
of connections to devices, the manipulation of data, and event-based actions.
Recommended distribution of Python interpreter
The current version of the Python interpreter embedded in Digi devices is 2.6.2. Use modules known
to be compatible with this version of the Python language only.
Digi Wiki for Developers
Digi Wiki for Developers is where you can learn how to develop solutions using Digi's communications
products, software and services. The wiki includes how-to's, example code, and M2M information to
speed application development. Digi encourages an active developer community and welcomes your
contributions.
www.digi.com/wiki/developer/index.php/Main_Page
Digi Python Programmer's Guide
The Digi Python Programmer's Guide introduces the Python programming language by showing how to
create and run a simple Python program. It reviews Python modules, particularly those with Digi-

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Digi ConnectPort LTS Series and is the answer not in the manual?

Digi ConnectPort LTS Series Specifications

General IconGeneral
BrandDigi
ModelConnectPort LTS Series
CategoryServer
LanguageEnglish

Related product manuals