comedilib/demo/python
W. Trevor King db4fd99309 Suggest people use PYTHONPATH rather than adjusting sys.path internally.
The old method only worked out of the box if you were running Python
2.1 on a 586.  I imagine that is too small a slice of current users to
be worth hard coding ;).
2012-03-13 09:30:45 -04:00
..
cmd.py Suggest people use PYTHONPATH rather than adjusting sys.path internally. 2012-03-13 09:30:45 -04:00
info.py Suggest people use PYTHONPATH rather than adjusting sys.path internally. 2012-03-13 09:30:45 -04:00
insn.py Oops, fix copyright month on demo/python/insn.py. 2012-03-13 09:22:03 -04:00
mmap.py Suggest people use PYTHONPATH rather than adjusting sys.path internally. 2012-03-13 09:30:45 -04:00
README Add python examples from Luc Lefebvre <luc.lefebvre@mcgill.ca> 2003-06-04 02:53:45 +00:00

I wrote the python scripts using Bryan Cole's comedi wrappers.  I
followed the instructions provided by him to generate the comedi
python module.

I then produced the three following scripts:

info.py:

	This script emulates the comedilib/demo/info program

cmd.py:

	This script emulates the comedilib/demo/cmd program

mmap.py:

	This script emulates the comedilib/demo/mmap program with the
	added twist that the output is saved to a binary log file.
	This file can be accessed using a variety of means including a
	sample octave script <stream_readme3.m> which is provided.

As usual, comments are always welcome.

Luc Lefebvre <luc.lefebvre@mcgill.ca>
McGill University

29 May, 2003