LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

problems using LabVIEW interface with LCD

Hi, everyone. I have some problems here using LabVIEW interface here.

I purchased this LCD from Amazon.

And follow the intruction from its website and try the "HelloWorld" Example on Arduino

http://microtivity.utcdn.net/microtivity.com/IM161-1.png

I connect RS with pin0, Enable with pin1, RW with ground. DB4 with pin2, DB5 with pin3, DB6 with pin4, DB7 with pin5.

It is successful to run hello world.

I try the same connection on LabVIEW.

The extra configuration choice is "LCD". This is the power to LCD. So I connect port 15 with pin 6 through zener diode.

And set LCD to 6.

I got error code. No Helloworld. Is there anyone know how to solve this?

I checked out the configure VI inside. I don't know why should we set up LCD option. Why don't directly wire the "A" on LCD to power?

Rocky

Message 1 of 6
(5,753 Views)

To me it looks like the pin connections you use in your initial test are not compatible with LIFA.   Labview uses digital pins 0 and 1 for serial communications with Arduino.  You can't use pins 0 and 1 with the LCD when you use LIFA..   The front panel for the LCD examples shows the digital pins that the designer of the VI used.  I recommend you use the same pins with Labview.

hrh1818

0 Kudos
Message 2 of 6
(4,020 Views)

Hi HRB,

Thanks for your reply. It makes sense. But what is the Configuration LCD pin? What if I connect it directly to the power supply?

Thanks

0 Kudos
Message 3 of 6
(4,020 Views)

Aha. you are right. LCD pin doesn't matter. I try two ways. Connect to Digital Pin or wire as instructions. Both could work

Thanks man

0 Kudos
Message 4 of 6
(4,020 Views)

Hello Rocky1989,

One question concerning your set-up : did you use the stock lifa.pde and .vi library, or did you customize the .pde and lifa vis?

thanks in advance

antoine

0 Kudos
Message 5 of 6
(4,020 Views)

The front panel control labelled "LCD" is for the display's backlight.   Wiring the display's  backlight piin to either + 5 or a digital pin set high means in both cases you are essentially setting the display's backlight pin to the same value.  This is consistent with your observation.

hrh1818

0 Kudos
Message 6 of 6
(4,020 Views)