473,394 Members | 1,701 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Parallel port interface

[I've posted this to the ttor mailing list as well. Sorry for whom receive
it twice.]

Hi!
We're doing a research project that involves controlling mini-windtrap
speeds and we're reading/writing data from the parallel port.

What I've found so far on a fast Google search for "python parallel port"
showed me some stuff that I'd have to interface with Python through SWIG.

If the program could be portable in Windows and Linux it would be a big
plus. We're thinking --- if it can't be written entirely in Python or with
modules that already have binaries for Windows --- in using a Linux only
approach (we, the programmers, use Linux only).
Any hints for modules I should take a look at?
TIA,
--
Godoy. <go***@ieee.org>
Jul 18 '05 #1
4 7141
Jorge Godoy wrote:
We're doing a research project that involves controlling mini-windtrap
speeds and we're reading/writing data from the parallel port.

What I've found so far on a fast Google search for "python parallel port"
showed me some stuff that I'd have to interface with Python through SWIG.

If the program could be portable in Windows and Linux it would be a big
plus. We're thinking --- if it can't be written entirely in Python or with
modules that already have binaries for Windows --- in using a Linux only
approach (we, the programmers, use Linux only).

Any hints for modules I should take a look at?


http://pyserial.sourceforge.net/pyparallel.html might work. Says
"This module is still under developement. But it may be useful for
developers."

-Peter
Jul 18 '05 #2
On Seg 26 Abr 2004 00:03, Peter Hansen wrote:
http://pyserial.sourceforge.net/pyparallel.html might work. Says
"This module is still under developement. But it may be useful for
developers."


You see... I must be blind or something like that :-)

I was at the pyserial website but didn't see this.
Thanks!

--
Godoy. <go***@ieee.org>
Jul 18 '05 #3
Would ioport.py help? See:
http://www.hare.demon.co.uk/ioport/ioport.html.

Its Linux only atm, but it wouldn't be hard to port to Windows. I
might even do it myself!
Jul 18 '05 #4
Les Smithson <ls******@NOhare.SPAM.demon.co.uk> wrote in
news:m3************@hare.demon.co.uk:
Would ioport.py help? See:
http://www.hare.demon.co.uk/ioport/ioport.html.

Its Linux only atm, but it wouldn't be hard to port to Windows. I
might even do it myself!


you need to make a compiled extension with the inb and outb functions. i
have done that for pyparallel. thats the easy part, then you have to find a
driver that allows io port access on win NT/2k/XP. i used giveio.sys and
you'll find it on the page below too.

http://pyserial.sf.net/pyparallel.html

chris

--
Chris <cl******@gmx.net>
http://pyserial.sf.net
Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: MNQ | last post by:
Hi All I want to use my parallel port of my PC to control some external devices. I am writing a program in ANSI C using the PacificC compiler. What I need to know is how to access the parallel...
12
by: david.brown.0 | last post by:
I'm trying to make a Java program access a parallel port. Java's comm API does not provide me with the control I need. I need to be able to write to the data and control pins and read the status...
2
by: nevermind | last post by:
Guys, i want to do project in which i will be able to control parallel port pins with a web interface.Does anyonehave any ideas to start with. Thanks
1
by: sharadapra | last post by:
our project has 2 stepper motr t be cnnected and v r planning to interface via the parallel port. now the problem is how to exactly send data to the parallel port in java. please can anyoene tell...
2
by: pete_tomson | last post by:
Hi - I'm trying to read data from my parallel port. Does anyone know how I can write a program in vb6 to read pin 6 of my parallel port. All I need to know is whether there is an incoming signal -...
1
by: vickyproject | last post by:
I need to send some data to the parallel port in c#. How can i access parallel port????
4
by: Soren | last post by:
Hi, I want to control some motors using the parallel port.. however, my laptop does not have any parallel ports (very few do). What I do have is a USB->Parallel converter... I thought about...
1
by: ssndk123 | last post by:
Hi, Using the UserPort program that changes permissions in XP so that I am able to write directly to the parallel port using assembler.. I'm trying to send out square wave pulses for x number...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.