LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to control LPT Pin15(Status)

hello everbody!

I'm trying to control LPT pin15 on/off.
But I Don't know how.
To control Status Pin is  quite different from to control data Pins(2-9pin)??
Please help me...I  want to fix this prolem as soon as I can.

In the fllowing I showed the register of each pin.
Data pin : 2,3,4,5,6,7,8,9
Status pin : 10,11,12,13,15
Control pin : 1,14,16,17

Any idea would be greatly apreciated!
Any way Thank you i Advance.

Asuka (using LV7.1, XP pro)



0 Kudos
Message 1 of 7
(4,415 Views)


Asuka wrote:
hello everbody!

I'm trying to control LPT pin15 on/off.
But I Don't know how.
To control Status Pin is  quite different from to control data Pins(2-9pin)??
Please help me...I  want to fix this prolem as soon as I can.

In the fllowing I showed the register of each pin.
Data pin : 2,3,4,5,6,7,8,9
Status pin : 10,11,12,13,15
Control pin : 1,14,16,17

Any idea would be greatly apreciated!
Any way Thank you i Advance.

Asuka (using LV7.1, XP pro)





Pin 15 is an input to the parallel port so you won't be able to control it using LabVIEW. You will need to control this in hardware from whatever you are connecting to LPT1, using +5V TTL logic.  A quick Google found details on parallel port connections HERE http://www.interfacebus.com/Design_Connector_Parallel_PC_Port.html
 
I hope this helps you.
"...and all this science I don't understand
it's just my job five days a week"


Using 6i, 7.0 & 7.1 on Win'98, 2K & XP
0 Kudos
Message 2 of 7
(4,408 Views)
if you need more control pin ,you can use EPP mode which can be modified in BIOS. PIN2-9 can be Bi-direct of input and output.
gg@ggdyb.com
朗圣自动化科技
数显电测仪表专家
0 Kudos
Message 3 of 7
(4,404 Views)
Hello Tim Norris.

Thank you very much for your quick response!
I really appreciaate you!

Mybe I have to think anotherway!

Anyway thankyou!

Asuka
0 Kudos
Message 4 of 7
(4,387 Views)
Hello gaogonghm!

thankyou for your quick response!!

>if you need more control pin ,you can use EPP mode which can be modifiedin BIOS. PIN2-9 can be Bi-direct of input and output.
Will you please explain me more in detail!!
I've just started LabVIEW 3weeks ago...help me!

I'm waitig for your response!

Thak you!
Asuka

0 Kudos
Message 5 of 7
(4,381 Views)


Asuka wrote:
Hello gaogonghm!

thankyou for your quick response!!

>if you need more control pin ,you can use EPP mode which can be modifiedin BIOS. PIN2-9 can be Bi-direct of input and output.
Will you please explain me more in detail!!
I've just started LabVIEW 3weeks ago...help me!

I'm waitig for your response!

Thak you!
Asuka



If you look in the LabVIEW examples for "parallel port access" there is a sample vi that should help you.
"...and all this science I don't understand
it's just my job five days a week"


Using 6i, 7.0 & 7.1 on Win'98, 2K & XP
0 Kudos
Message 6 of 7
(4,374 Views)
EPP mode  pin 2-9 can be IN or OUT at what you choice.  in the file paste, 读并口.vi and 写并口.vi  I wrote just in chinese, I think you of course can understand. 
  fisrt  you must change the LTP mode in BIOS when you start the PC, change it to EPP.
the first run 写并口.vi   ,there is a 读控制 control in it , if it is ture then 2-9 is read only , if false pin 2-9 is write only.
 if you have any more Q you can mail me gaogong@sina.com or gaogonghm@google.com
gg@ggdyb.com
朗圣自动化科技
数显电测仪表专家
Download All
0 Kudos
Message 7 of 7
(4,361 Views)