04-24-2009 05:17 AM
Solved! Go to Solution.
04-24-2009 07:15 AM
Hai,
Please attach the program directly here and don't give link to any external websites. This will attract more people to look in to your code and help you.
Use Add Attachments located below the compose box. Thanks for your understanding,
Mathan
04-24-2009 07:57 AM
Hi
First of all my eyes are burning. You should work with your front panel color. Most people do not wear shades indoor . Using the Parallel Port in LabVIEW for output is easy. You may use VISA. Doing it for input is not so easy but doable indeed. You find more if you search the NI site for parallel port. Also pay attention to details those small red dots in the block diagram is a warning. Also this is important "Using the parallel port for digital output is really rather trivial if working with the Windows API. The main trick is to tie pins 11(Busy) and 12 (Paper Error) to ground"
Here is a useful link
http://digital.ni.com/public.nsf/allkb/B937AC4D8664E37886257206000551CB
By the way in this document the pictures is missing can someone in NI fix this
This link has pictures http://www.physics.utah.edu/~jui/3620-6620/labs/Using_the_Parallel_Port_in_LabVIEW.pdf
04-24-2009 08:05 AM
[Warning!]
The parallel port on the PC is designed as an interface and is not capable of diriving heavy loads.
Please ensure your circuitry does not load the parallel port.
Failure to do so could result in a damged port, moterboard or worse!*
[End of Warning]
Ben
*After that it become even harder to get it working.
04-24-2009 09:26 AM
Thanks everyone Replyed!
@Mathan: I attached direct it . Please help me.
@Cop ruege:
I like that color in front panel. I'm beginer, only see
about in port and out port and feel inport.vi and outport easy. I'll
see VISA following you said. But I don't have more time for this
project.
@Ben: Thanks for your waring. But it's a component in my project. I have to do comunication in LabVIEW with Parallel and COM port. I do not yet comunication about COM port. Now I have to Labview control LCD 16x2 by PC parallel port. I don't have more time.
Could who please help me. sr cause my E not good, but i think everyone understand i say: Funnysmileywink:
04-24-2009 09:46 AM
First of all VISA is very simple to use. It could save you for a lot of work.
Se here http://zone.ni.com/devzone/cda/epd/p/id/4213 and here http://digital.ni.com/public.nsf/allkb/81265FE73475F18B852563B60079D249. Your current VI do not make much sense to me right now
04-24-2009 09:53 AM
04-24-2009 10:15 AM
04-24-2009 12:58 PM
Thanks Cop rouge and Dennis Knutson!
I've learned Labview for a month. I know my program can't run cause it wasn't written for RS, RW, E of LCD. I don't know how control it with in port.vi and out port.vi in labview. I can't find any supports of Labview for LCD as in C, Bascom .... really I have to change idea in my program. Could you please advise me a idea about use parallel port to control LCD.
I attached circuit, datasheet of LCD.
Thanks you.
04-24-2009 01:53 PM
Here's something quick and dirty. Since there are separate registers for the parallel port and you have wired the data register to the data inputs of the lcd and 2 of the control register pins for the E and RS, it made things a bit simpler.
I did not do anything about the instruction data to set the lcd into the mode you want. You can modify the data write VI and change the RS level to 0.