LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI Controller USER1/USER2 LED

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

0 Kudos
Message 1 of 12
(4,881 Views)

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.

 

RT LEDs VI

 

How Do I Access the User LEDs On My Compact FieldPoint or CompactRIO controller?

 

 

Best,

National Instruments
Applications Engineer
0 Kudos
Message 2 of 12
(4,834 Views)

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:

 

Access Denied

Sorry, you do not have sufficient privileges for that action.

Please click the Back button on your browser

Return to my original page

Thanks,
Jacob
0 Kudos
Message 3 of 12
(4,824 Views)

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.

Sanjay C.
Embedded Software Product Manager| National Instruments
Message 4 of 12
(4,797 Views)

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.

0 Kudos
Message 5 of 12
(4,782 Views)

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.

0 Kudos
Message 6 of 12
(4,746 Views)

@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.

0 Kudos
Message 7 of 12
(4,740 Views)

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

0 Kudos
Message 8 of 12
(4,731 Views)

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.).

Sanjay C.
Embedded Software Product Manager| National Instruments
0 Kudos
Message 9 of 12
(4,710 Views)

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?

0 Kudos
Message 10 of 12
(4,522 Views)