LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Regrading wrinting to Parallel port

Hi
I am trying to program a robot with labview which uses parallel port for communicating with PC. The robot works on DOS and the commands in dos r given as PRINT "C" to close gripper. I have no idea how to do it in Labview. Can anyone help me with this
Thanks
0 Kudos
Message 1 of 5
(2,844 Views)
Hello

It should be quite easy, but before you do this you need to install some software. The first one is the AccessHW, which will allow you LabVIEW to write to parrel port. I enclose the file. Depending on your operating system you need to install one for winNT.
When you install it you have an open way to controll every line of the parrelel port.
I recall there was some problem with this as well (I can not remember now) but you can try.

If this not work, You can try to search for some files by Harmon, called EppLib.llb, or something like that, or give a post again.

hope that helps.

Good luck.

Pawel
0 Kudos
Message 2 of 5
(2,844 Views)
Hi,

find attached a simple LPT-Port-Test-program,
including scope picture - result should look like this.
In addition it is possible to use the LPT-Port in bidirectional operation mode; depends on your BIOS.
Find a lot of hints, how to work with paraport @:

http://www.lvr.com/parport.htm

regards
Werner
0 Kudos
Message 3 of 5
(2,844 Views)
You can use VISA serial functions to get access to your parallel port. ASRL10::INSTR is normally mapped to LPT1.
Mayby your robot has to do the HW handshaking like a normal printer does. But this should also be true for the DOS environment.
The only thing I do not know is if VISA will support bidirectional data transfer.

Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 4 of 5
(2,844 Views)
I don't think VISA will do bidirectional transfer via the parallel port but it sounds as though it may not be needed in this application: just write the appropriate characters to the correct VISA address as Waldemar indicates.
0 Kudos
Message 5 of 5
(2,844 Views)