The digidevice led submodule
Use the led submodule to redefine the purpose of any front-panel LED on the IX40 device. With this submodule, you can:
- Gain control of the LED with the led.acquire() function.
- Define the state of the LED with the led.set() function.
- Use the use() function to create a function that acquires, sets, and releases an LED.
- Optionally release control of the LED with the led.release() function.
See Use Python to set the state of LEDs for instructions on using these methods.
Available LEDs
LED | Attribute name | Color | |
---|---|---|---|
All available LEDs | Led.ALL | ||
Online indicator | Led.LAN3_RX | Blue | |
LTE connection indicator | Led.COM | Red | |
Led.ETH | Green | ||
Led.ONLINE | Blue | ||
Signal strength indicators | 1 | Led.RSS1 | Green |
2 | Led.RSS2 | ||
3 | Led.RSS3 | ||
4 | Led.RSS4 | ||
5 | Led.RSS5 |
Available LED states
State |
Attribute name |
---|---|
Solid on | State.ON |
Off | State.OFF |
Flash | State.FLASH |