Open nahumpodokshik opened 1 year ago
Hi,
You can use the pxi.chassis_led_blink_pattern
attribute to control the behavior of the chassis LED. I did not find a way to change the color. I would expect the code to look something like the following:
import nisyscfg
from nisyscfg.pxi.enums import ChassisLedBlinkPattern
with nisyscfg.Session() as session:
for resource in session.find_hardware():
# if resource is PXI chassis ...
resource.pxi.chassis_led_blink_pattern = ChassisLedBlinkPattern.ONE_BLINK
resource.save_changes()
Regards, -Tyler
Hi,
i tried to run the suggested example and not see any visual effect on our chassis PXIe-1092. i also tried to change the pattern to THREE_BLINK_BLINK_BLINK and all other combinations, but no effect.
please advice.
thanks, Nahum
Support for the property was added in PXI Platform Services 20.0. You might check that you have the latest software and firmware installed for the chassis.
I do not have hardware to check, but I believe there should be an option in NI MAX to configure the LED. If it shows up there, then this Python module should be able to programmatically adjust it. Otherwise, I would recommend reaching out to NI directly or asking your question to the NI Community.
Regards, -Tyler
i have on my systems PXI Platform Services 2023 Q1. i tried manually the NI MAX via "Front Panel Leds" --> Chassis Controller --> and responded properly. If running the script havent reaction. i will ask via "NI community"
thanks,
Hi Tyler,
please advice, if have resource.pxi API to activate blinking LED (yellow or red if possible) on PXIe-1092 chassis front panel when detected PXIe-4309 card's overheat
thanks and best regards!! Nahum