LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

8145 LED Labwindows

I would like to control the USER2 and USER3 LEDs on the 8145RT from LabWindows.  I need to know what register to write to and the format of the register. 
0 Kudos
Message 1 of 4
(3,672 Views)

Hi Tanner,
I have brought up the issue to National Instruments' R&D department. 
I will post another reply as soon as I will have an update on this issue.

 

Regards,
Sammy Z.

0 Kudos
Message 2 of 4
(3,645 Views)

Hi Tanner,

There is a way to do this is LabVIEW Real-Time, but there isn't a function in CVI to do this.  

On the other hand, you can call the libraries that LabVIEW uses and use C functions to set the LED values. (This requires you to have LabVIEW.  Please let us know if you don't have LabVIEW)

The 2 libraries that the LabVIEW vi calls are:

 

  • Function Name: LedOutput
  • Function Prototype: int32_t LedOutput(int32_t led, int32_t value);
  • Location:  C:\Program Files\National Instruments\LabVIEW 8.6\Targets\NI\RT\vi.lib\ni_emb.dll 

 

  • Function Name: LedInput
  • Function Prototype: int32_t LedInput(int32_t led);
  • Location: C:\Program Files\National Instruments\LabVIEW 8.6\Targets\NI\RT\vi.lib\ni_emb.dll


Regards,

Sammy Z.

0 Kudos
Message 3 of 4
(3,606 Views)
That'll work just fine.  Thanks for the quick answer.
0 Kudos
Message 4 of 4
(3,603 Views)