Writing to the parallel port (Mem 0x378) when runnning WinXP or Mandrake 9.2
Todd Gardner
piir at earthlink.net
Sun Dec 7 15:46:52 EST 2003
Chris Liechti <cliechti at gmx.net> wrote in message news:<Xns94481CC1B3CFcliechtigmxnet at 62.2.16.4>...
> Gandalf <gandalf at geochemsource.com> wrote in
> news:mailman.100.1070529056.16879.python-list at python.org:
>
> > Use PySerial
> >
> > http://pyserial.sourceforge.net/
>
> thanks for recomending it :-) as a little clarification:
> the link to pyparallel is here:
> http://pyserial.sourceforge.net/pyparallel.html
>
> (its only a small note on the mainpage)
>
> currently i have only py2.2 versions available for download, but i can
> easily build the 2.3 version upon request, or you can build it on your own
> with mingw32 or cygwin installed: python setup.py build --compiler=mingw32
> install
>
> you will need giveio.sys, also available in the downloads section, that
> allows programs to access the io ports on Win NT/2k/XP
>
> chris
>
I think all I have to do is figure out how to use the outp(...)
command. Pardon my ignorance here but how do I figure out the syntax
of this command?
This is my first project in python and it seems a bit daunting. I am
trying to communicate to a custom device via the parallel port. At
this point I only want to write data to the data port. In my case the
memory address is x378.
I installed: Python 2.2, giveio_setup.exe and
pyparallel-0.1.win32-py2.2.exe. I was running Python2.3 but I don't
think that it will matter for this newbie project.
Many thanks for all of your pointers!
Todd
>
> > Laci
> >
> > Todd Gardner wrote:
> >
> >>---------------------------------------------------------------
> >>I would appreciate any ideas how to write to the parallel port (Mem
> >>0x378) when runnning WinXP or Mandrake 9.2.
> >>
> >>In C and LabVIEW I use the OutP command to write to directly to a
> >>memory address.
> >>
> >>Thank you
> >>--
> >>Todd
> >>piir at earthlink.net
> >>---------------------------------------------------------------
More information about the Python-list
mailing list