Package VisionEgg :: Module DaqLPT
[frames] | no frames]

Module DaqLPT

source code


Data acquisition and triggering over the parallel port.

This module was programmed using information from "Interfacing the
Standard Parallel Port" by Craig Peacock,
http://www.senet.com.au/~cpeacock.

You may also be interested in http://www.lvr.com/files/ibmlpt.txt.

This module only uses the Standard Parallel Port (SPP) protocol, not
ECP or EPP.  You may have to set your computer's BIOS accordingly.

You may need to be root or otherwise have permission to access the
parallel port.

Example usage:

>>> from VisionEgg.DaqLPT import raw_lpt_module
>>> address = 0x378
>>> out_value = 0
>>> raw_lpt_module.out( address, out_value )
>>> in_value = raw_lpt_module.inp( address+1 )



Classes
  LPTInput
  LPTOutput
  LPTChannel
A data acquisition channel using the parallel port.
  LPTDevice
A single parallel port.
  LPTTriggerOutController
Use 8 bits of digital output for triggering and frame timing verification.
  LPTTriggerInController
Variables
  __version__ = VisionEgg.release_name