Digi IX10-00G4 User Manual page 525

Table of Contents

Advertisement

Applications
1.
Set up the IX10 for Python
2. Create and test your application with:
PyCharm. You can create, build, and remotely launch your application in the IX10.
n
Your preferred editor and
n
in the IX10.
Develop an application in PyCharm
PyCharm allows you to write, build and run Python applications for Digi devices in a quick and easy
way. 
This is what you can do with it:
Create Python projects from scratch or import one of the available examples.
n
Get help while you write your code thanks to the syntax highlight, quick documentation, and
n
code completion features.
Build and upload Python applications to your Digi device with just one click.
n
Add libraries that facilitate the usage of external peripherals or non-standard APIs.
n
Communicate with your Digi device through the integrated SSH console to see the application
n
output or execute quick tests.
Manually install and launch an application
To create, build, and launch your application:
1. Write your Python application code. Code can include:
Any Python 3.6 standard feature.
n
Access to the IX10 configuration and hardware with the
n
Third-party modules included in the IX10, for example:
n
l
l
l
Any other third-party module implemented in Python.
n
2. Install the application in /etc/config/scripts directory.
3. Launch your application:
Run your application at the shell
n
Configure your application to run
n
PyCharm FAQ: My IX10 is not listed in Digi Device Selector
If an IX10 does not appear on the list of the Digi Device Selector:
Ensure that your device has the mDNS service enabled and is on the same network as the
n
computer. See
Or click the link Click here to add it manually to specify the IP address, port, username, and
n
password.
IX10 User Guide
development.
manually transfer the application, install dependencies, and launch
pySerial 3.4
PyModbus 2.3
Eclipse Paho MQTT Python Client
Set up the IX10 for Python
Python
prompt.
automatically.
development.
Develop Python applications
modules.
525

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ix10Ix10-00n4

Table of Contents