LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LCD display using DAQ USB6008

hello,

firstly, im stil new to LabVIEW actually...hope someone can help me out with my problem.
thanks a lot for those who willing to help..
im trying to use the DAQ USB6008 to simulate a 16 x 2 character LCD display.
im using LabVIEW 8.5...
can anyone teach me how to simulate the LCD using LabVIEW and the DAQ USB6008 ?
0 Kudos
Message 1 of 41
(5,347 Views)
What exactly do yo mean? You use the word simulate. You can drive (control) a LCD display. That would mean you would want to stimulate a display. Or, you could have a simulated display on a LabVIEW front panel that is driven by what you read from the DAQ.
0 Kudos
Message 2 of 41
(5,338 Views)
oh..actually what i want to do is...
im taking in readings from a few temperature sensors...
then i need to display the readings on a LCD display which is a 16 x 2 LCD screen...
the problem is how can i build the VI to do the LCD display thing?

0 Kudos
Message 3 of 41
(5,300 Views)
That would depend on the LCD display. Do you have a make, model, data sheet? What are the inputs to it? Have you searched the forum for 'LCD Display'?
0 Kudos
Message 4 of 41
(5,286 Views)
i have attached the datasheet of the LCD here.
the LCD have 16 pins with digital inputs..
so how LabVIEW can do the displays things on the LCD?

0 Kudos
Message 5 of 41
(5,276 Views)

The good news is that the 6008 has 12 digital lines so you don't have to work the data in two 4 bit operations. It also looks like the data is represented as ASCII. You will convert each character you want to display into a string and you can type cast that to a numeric. Wire that value to a digital DAQmx Write. Something like is shown below. It does not show the control lines. It looks like you would just need to add the signal to clock the data in.



Message Edited by Dennis Knutson on 07-05-2008 12:18 PM
0 Kudos
Message 6 of 41
(5,268 Views)
oh i see...
ya i know USB6008 has 12 digital I/O port and it will be easier i think.
by the way, can you send me that VI like what you show me on the picture?
maybe i will be needing it. Thank you.
0 Kudos
Message 7 of 41
(5,246 Views)
Sure. Here's one with a String to Byte Array function and the clock signal. The input can be a multiple character string. Since you will probably be calling this multiple times, I would recomend that you place the creation and closing of the tasks in the top level VI and call this as a subVI.
0 Kudos
Message 8 of 41
(5,230 Views)
I've got a working 20x4 line display of this type working. It's very unfinished/unpolished though, so I resist posting it. Maybe once I've done some more work on it.
____
Ryan R.
R&D
0 Kudos
Message 9 of 41
(5,190 Views)
Well, I think I've got something that's worth presenting, so here it is. I made it as a parent VI with 4 SubVI's since there is a lot of stuff going on. It just occured to me that you could make the different lines as a loop with shift registers, so maybe you will choose to do so. Let me know how this works for you, or if you had already figured it out.
____
Ryan R.
R&D
0 Kudos
Message 10 of 41
(5,171 Views)