The Digidevice Led Submodule - Digi TX54 User Manual

Hide thumbs Also See for TX54:
Table of Contents

Advertisement

Applications
NAME
digidevice.name - API for uploading name from the device
...
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 TX54 device. With this
submodule, you can:
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.
n
See
Use Python to set the state of LEDs
Available LEDs
LED
Power
GNSS
WIFI1
WIFI2 (Dual-Wi-Fi models only)
WWAN1 Signal
WWAN1 Service
WWAN2 Signal (Dual-cellular models only)
WWAN2 Service (Dual-cellular models only)
All available LEDs
Available LED states
State
Solid on
Off
TX54 User Guide
for instructions on using these methods.
Available colors
Blue
Green
Green
Green
Green
Yellow
Green
Yellow
Green
Yellow
Green
Yellow
Atttribute name
State.ON
State.OFF
Digidevice module
Attribute name
Led.POWER _B
Led.GNSS _G
Led.WIFI1 _G
Led.WIFI2 _B
Led.WWAN1_SIGNAL_G
Led.WWAN1_SIGNAL_Y
Led.WWAN1_SERVICE_G
Led.WWAN1_SERVICE_Y
Led.WWAN2_SIGNAL_G
Led.WWAN2_SIGNAL_Y
Led.WWAN2_SERVICE_G
Led.WWAN2_SERVICE_Y
Led.ALL
503

Advertisement

Table of Contents
loading

Table of Contents