EasyManuals Logo

Digi IX30 User Manual

Digi IX30
1031 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 #660 background imageLoading...
Page #660 background image
Applications Develop Python applications
IX30 User Guide
660
Depending on your device configuration, you may be presented with an Access selection
menu. Type shell to access the device shell.
2. At the shell prompt, use the python command with no parameters to enter an interactive
Python session:
# python
Python 3.10.1 (default, May 9 2021, 22:49:59)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
3. Import the ain submodule:
>>> from digidevice import ain
>>>
4. Use the help command with ain:
>>> help(ain)
Help on module digidevice.ain in digidevice:
NAME
digidevice.ain - API for reading the device's analog input ports
DESCRIPTION
This module reads the device's analog input ports:
...
5. Use Ctrl-D to exit the Python session. You can also exit the session using exit() or quit().
The digidevice led submodule
Use the led submodule to redefine the purpose of any front-panel LED on the IX30 device. With this
submodule, you can:
n
Gain control of the LED with the led.acquire() function.
n
Define the state of the LED with the led.set() function.
n
Use the use() function to create a function that acquires, sets, and releases an LED.
n
Optionally release control of the LED with the led.release() function.
See The use(led) function for instructions on using these methods.
Available LEDs
LED Attribute name Color
All available LEDs Led.ALL
Online indicator Led.LAN3_RX
Blue

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Digi IX30 Specifications

General IconGeneral
CategoryNetwork Router
ModelIX30
Serial Ports1 x RS-232
Operating Temperature-40° C to 70° C
ConnectivityEthernet
USB Ports1 x USB 2.0
Cellular Interface4G LTE Cat 4
Wi-Fi802.11 a/b/g/n/ac
SIM Slots1
ProcessorARM Cortex-A9
Memory1 GB RAM

Related product manuals