LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PIC18f2550 Labview LED control via uart

Solved!
Go to solution

Hello,

I am trying to control 4 LEDs connected to a PIC18f2550. Attached is the VI that I started with and I've since changed the case structures to select functions. Both VIs react the same. What I am trying to do is turn on or off each LED using the graphical LED as a Boolean button. The problem seems to be with the while loop. I have the PIC programmed  and it works as I would expect it using MikroC uart terminal however when I run the Labview VI the LEDs blink randomly instead of staying on solid. I'm sure there is a simple solution to this, but I just don't know Labview well enough to accomplish this.

Thanks for any help.

Download All
0 Kudos
Message 1 of 2
(2,208 Views)
Solution
Accepted by topic author gorehound

Sorry for the post. I needed to switch the case structure to event structure.

0 Kudos
Message 2 of 2
(2,154 Views)