Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to use parallel port in Windows XP to generate signal?

Status
Not open for further replies.

patel_ec

Junior Member level 1
Junior Member level 1
Joined
Aug 10, 2006
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,391
can anyone tell(help) me how to use(to generate desire signal at) parallel port in windows xp.:?:
 

Re: xp+parallel port+use

hey for that u first have to install the drivers

its called userport

after that u can use c or vb or ne language to send and receive data through the parallel port

Added after 7 minutes:

unzip the file and go according to the help file

the instructions are very clear
 

xp+parallel port+use

hi
search edaboard
you can find many solutions.
regards
 

Re: xp+parallel port+use

Assalamo Allykum !

There are many solutions for this.

Join the Group INTERFACING on the yahoo gropups. This group is really good. In this there is a lot of material for the Interfacing.

Take Care

Zeeshan Shareef
 

Re: xp+parallel port+use

You don't need to install drivers to do this. Just earch for inpout32.dll and download it to your system32 folder. In you code, import (or Lib) it in your code and you can use the Inp32() and Out32() functions anywhere. It works with C++, VB and I'm even using it with C#.

I looked at all the solutions I could find and this worked the best and was the easiest to use. You can even download the source code if you want to customize it.

A couple of things to be aware of:
1. If you use the Inp32() function, make sure that your parallel port supports bi-directional data and be sure to set it in your BIOS for bi-directional. Otherwise it won't work.
2. Make sure you understand the registers. You have to write bits to the control register in order to read inputs.
3. If you need to do any real-time continuous processing, like reading switches or generating continuous pulses, be aware that the best resolution you will get is about 15 ms, the Windows process service rate.

Hope this helps.
 

xp+parallel port+use

JUST INSTALL USERPORT
**broken link removed**

BIBIN JOHN
www.bibinjohn.tk
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top