LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to simulate an lcd using labview

Check out the following site, there is everything you could possibly need and it would appear that no font files are required. Also seems to work on any Labview version from 6.X up
There are LCD display panels and matrix displays of all sorts types and sizes.

here
http://members.lycos.co.uk/sgctek/

Message Edité par Conseils le 06-10-2006 10:49 PM

0 Kudos
Message 11 of 21
(2,932 Views)
Hi mahi,
I saved it to LV7.1
Greets, Dave
Greets, Dave
0 Kudos
Message 12 of 21
(2,908 Views)

I checked the VIs on http://members.lycos.co.uk/sgctek/
but they seem to have some problems...

i checked LCD 6 by 7 example.

try this thing wirte input string as "abc"  it will show it properly.

now set input as "d" the output will be "dbc"

Tushar Jambhekar
tushar@jambhekar.com

Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog

0 Kudos
Message 13 of 21
(2,880 Views)

Tushar

i too found the same in the beginning..but  on working with it i found the solution..

just  right click at the display and click "reinitialize to default value" everytime u give new data.u can see the current data displaying....

smiles

mahi

 

0 Kudos
Message 14 of 21
(2,870 Views)
Hi,
I noticed this too, but I thought "this is not a bug, it's a feature". Real LCD- displays behave in a similar way. The solution is to send a string of <space> to the Indicator.
Dave

Message Edited by daveTW on 06-15-2006 12:17 PM

Greets, Dave
Message 15 of 21
(2,865 Views)
i am sorry but i dont find it as feature, if i had designed it , and if i didint wanted to clear the data i would have rather apeended the new character at the end rather at the beginning.
anyways important thing is that with some minor alterations problem can be solved... 🙂
 

Tushar Jambhekar
tushar@jambhekar.com

Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog

0 Kudos
Message 16 of 21
(2,858 Views)
Obviously I can't speak of every LCD on the market, but I have worked with quite a few and they do behave to overwrite normally. In the very early days, I seem to remember having to rewrite the whole line out every time after chaging the contents of a suitable memory buffer. Some I have seen, do have cursor addressing capabilities; but not normally on the simpler modules.

Still, as you say, it's trivial to bend it to your requirements and that's the overall intent of the stuff available.
0 Kudos
Message 17 of 21
(2,852 Views)

hi GerdW

i have attached some VI here.Those will work for ascii values only

i need to work in graphical LCDs.

(i.e) the actual MCU consists of a graphical LCD and i need to simulate that lcd  in PC using Labview.

so i need to create a lcd screen in pc  as the actual lcd.

Am planning to configure the port and  and read the data in it.

since its a graphical lcd how can i set the pixels on and off and

 how can i set the address for each and every pixel.????

for example,for displaying  display "A", these are  the data.[0x0E,0x11,0x11,0x11,0x11,0x1F,0x11,0x11,0x11]

for adress calculation,am using the following formula

address=(y * GRAPHIC_AREA) + x + GRAPHIC_BASE)

kindly help me out....!!!

thanks

Mahi

0 Kudos
Message 18 of 21
(2,827 Views)
If I understand your question, you want to set individual pixels.

May I make a suggestion that may make your life a bit easier....

The control that you have uploaded here is, I believe intended to be used in character mode. The graphical elements are constructed in terms of clusters so they make sense for a character definition; however just like on a real display it's real hard work to translate this to a specific pixel.

On the same website, there is a re-configurable virtual LED / LCD / VCD example that allows virtual display pixel addressing. In this example the routine is called mx-draw-pixel.vi It takes X and Y co-ordinates to allow access to any pixel in the virtual display and set the required state. This has recently been added and uses graphical picture controls to 'draw' a virtual display. As a result there is considerably increased flexibility.

Picture of virtual panel (should the linke become broken at some time in the future)


http://members.lycos.co.uk/sgctek/

0 Kudos
Message 19 of 21
(2,820 Views)

Conseils

i checked the link.but i couldn open the block diagram for certain vis.

Is there any possibilities to see the block diagram.

kindly help me out.

thanks in advance

mahi

0 Kudos
Message 20 of 21
(2,795 Views)