comedilib/demo/python
W. Trevor King 4b56f24232 Add chanlist_len to comedi_get_cmd_generic_timed() calls in Python demos.
This catches the Python demos up to:

  commit 003b9ec501
  Author: Ian Abbott <abbotti@mev.co.uk>
  Date:   Mon Nov 8 11:01:42 2010 +0000

    Add chanlist_len parameter to comedi_get_cmd_generic_timed.
2012-03-13 08:41:24 -04:00
..
cmd.py Add chanlist_len to comedi_get_cmd_generic_timed() calls in Python demos. 2012-03-13 08:41:24 -04:00
info.py Add chanlist_len to comedi_get_cmd_generic_timed() calls in Python demos. 2012-03-13 08:41:24 -04:00
insn.py Add demo/python/insn.py, a Python clone of demo/insn.c. 2012-03-13 08:36:39 -04:00
mmap.py add #! line 2003-06-04 02:54:41 +00: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