LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LCD display using DAQ USB6008

I didn't have the VI to look at when I posted that, but yeah it is OK. I didn't word wrap the last line because if it goes over the character limit, I just let it go. 🙂
____
Ryan R.
R&D
0 Kudos
Message 31 of 41
(1,606 Views)
erm...hey Morgol...i followed what u just taught me n modified the VI for a 16x2 LCD display...
but seems like its not working...is it anything wrong?? i uploaded the VI n let u check..
by the way, i wana ask that how was it when u adjust ur variavle resistor?
it the display lines all goes dark n white all together, or they will become darker line by line?
bcoz when i adjust mine, the second line display will goes off 1st and then followed by the second line...
0 Kudos
Message 32 of 41
(1,592 Views)
The VI you modified is working exactly how I would expect it to. At first it looked like it was cutting off the last line, but it was just out of view because the indicater needed to be wider. 🙂 As far as the contrast issue, my contrast changed all at once. If you want to display more than the limit of characters on the LCD, I would put the main VI in a While Loop with some shift registers to pass the end string (after another word wrap) back to the start, and a delay timer on the While Loop. Put the Init. LCD SubVI outside the loop though. This should make it start over at the top line after the delay time has elapsed. Good luck! 🙂
____
Ryan R.
R&D
Message 33 of 41
(1,584 Views)
oh isit? then need to thanks to u also, without your help i cant do it also...
oh ya,my LCD when i power up...n when i adjust my variable resistor....the contrast goes line by line....
and when i get this, i am unable to initialize the LCD and cant see the cursor at home...
but sometimes i manage to get the contrast running on all lines together, and at this time i can get to see the cursor there...
do you know what is the problem?
0 Kudos
Message 34 of 41
(1,570 Views)
Are you using the 5V from the DAQ to power the LCD?
____
Ryan R.
R&D
0 Kudos
Message 35 of 41
(1,569 Views)
oh...im not using that 5V...
im using a external supply...its a 9V battery...
but nw its already been used and left about 6 or 7V i think...
0 Kudos
Message 36 of 41
(1,549 Views)
Is your display supposed to be able to run that high? I would start with a stable 5V supply, and not the one on the DAQ due to limited power.
____
Ryan R.
R&D
0 Kudos
Message 37 of 41
(1,541 Views)
oh...but the data sheet there wrote that the LCD driver voltage can stand a maximum of 13.5V....
your using an adapter to supply to your LCD right?
0 Kudos
Message 38 of 41
(1,534 Views)
Actually, I have a benchtop power supply. Try adjusting your contrast to the appropriate level, then just cycle power to the display. If it will not work properly after just being powered, I don't know what is wrong with it.
____
Ryan R.
R&D
0 Kudos
Message 39 of 41
(1,529 Views)
hey Morgol....
izit that there is a problem with the Write LCD SubVI ??
i run the program i modified....and it does not writes anything to the LCD...
the cursor just switch from 1st line to 2nd line...
but the array indicator have the words display out, instead of displaying on my LCD display...
0 Kudos
Message 40 of 41
(1,517 Views)