02-16-2011 07:11 AM
Hello,
Can anyone explain to me how to control the USER1 and USER2 LEDs on the front panel of most (all?) PXIe Controllers from LabVIEW? From the poking around there seems to be a VI in the RT palette however I want to do this on a non RT system (specifically PXIe-8133 w/XP).
If it cannot be done that would be nice to know as well.
Thanks,
Jacob
02-20-2011 11:29 PM
Hello,
You are correct about the VI in the RT palette. It is named RT LEDS VI and located under the RT Utilities VIs palette.
From my research, it appears it is possible to modify the value for the USER1 and USER2 LEDs of PXIe 8133 in XP, but it is not a readily available feature and not trivial. I located this previous discussion forum that addresses the same question but with a PXIe 8108 controller and has posted code that sets the LEDs.
Also below are some articles that discuss using the RT LEDS VI for your reference. The articles specify Compact Field Point and Compact RIO as the RT targets but also apply to most RT targets such as PXI.
How Do I Access the User LEDs On My Compact FieldPoint or CompactRIO controller?
Best,
02-21-2011 05:36 AM
I am quite interested in that linked discusison about the 8108 however when I click your link it redirects me to a website that says:
Please click the Back button on your browser
Return to my original page
02-22-2011 05:04 PM
Hi Jacob,
It seems that the thread that Patricia referenced is a Private thread. However, as I was able to access the thread myself, it turns out that if you are using a non-RT system, you can control the LEDs by using the In-port and Out-port VI's to write to the GPIO on the motherboard.
There was an example program in the Private thread that uses the In-Port and Out-port VIs to toggle the LEDs on a PXIe 8108 controller. I've attached the file so that you can use/modify it to meet your needs.
02-22-2011 10:53 PM
The correct link
How Do I Access the User LEDs On My Compact FieldPoint or CompactRIO controller?
However, that KB has problems as all the pictures point to an obsolete server.
02-24-2011 11:24 AM
Thank You Sanjay. I believe this is exactly what I am looking for.
Do you happen to know how to find the location of motherboard resources?
Raven's Fan, I do not have a RT controller nor the RT palette to use that example but thank you for the response.
02-24-2011 12:04 PM
@Jacob G wrote:
Raven's Fan, I do not have a RT controller nor the RT palette to use that example but thank you for the response.
I wasn't saying that was what you need or not. I was just fixing the link that Patricia posted earlier. It looked like a link, but actually wasn't.
02-24-2011 04:23 PM
Ah, I see.
I forgot to post this earlier: I happen to have a couple 8108 Controllers and this works great with those but I have several 81xx PXIe controllers (8133, 8130 etc) that I would like to implement this with. It did not work on an 8133 and I suspect that I am reading/writing to an incorrect location.
Thanks,
Jacob
02-25-2011 06:37 PM
Hi Jacob,
From the 8108 example, it looks like the motherboard resources are documented by Intel. The solution would be to search Intel for the documentation specific to the controller that you are trying to implement on (i.e. 8133, etc.).
08-01-2011 06:59 AM
I have a renewed interest in this, I searched previously and could not come up with anything. Could anyone point me any further in the right direction?