comedilib/demo/python
Ian Abbott ac090c7bdf demo/python/mmap.py: Fix buffer wraparound bug.
Fix bug reported by Ross Williamson where the code does not deal with
buffer wraparound within a chunk of data.
2012-05-10 13:49:57 +01: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 demo/python/mmap.py: Fix buffer wraparound bug. 2012-05-10 13:49:57 +01: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