‎11-07-2012 08:35 PM
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
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
‎11-07-2012 11:09 PM
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
‎11-07-2012 11:19 PM
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
‎11-07-2012 11:25 PM
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
‎11-08-2012 03:40 AM
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
‎11-08-2012 12:04 PM
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