comedilib.git
12 years agodriverwriting.xml: COMEDI_CB_OVERFLOW is also used to report underflows.
W. Trevor King [Mon, 16 Apr 2012 11:52:48 +0000 (07:52 -0400)]
driverwriting.xml: COMEDI_CB_OVERFLOW is also used to report underflows.

12 years agoAdd myself to the comedi.i copyright, since I just tweaked it.
W. Trevor King [Tue, 13 Mar 2012 13:37:08 +0000 (09:37 -0400)]
Add myself to the comedi.i copyright, since I just tweaked it.

I also added 2010 for:

  commit 3fe8e6baac051d80906c6fac6c18c04c8df9ce4a
  Author: Ian Abbott <abbotti@mev.co.uk>
  Date:   Mon Dec 20 14:50:21 2010 +0000

    Add sampl_t and lsampl_t array_class()es to comedi.i.
    ...
    Patch from W. Trevor King.

12 years agoSuggest people use `PYTHONPATH` rather than adjusting `sys.path` internally.
W. Trevor King [Tue, 13 Mar 2012 13:30:45 +0000 (09:30 -0400)]
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 ;).

12 years agoAdd myself to the old Python demo copyrights, since I just tweaked each demo.
W. Trevor King [Tue, 13 Mar 2012 13:24:07 +0000 (09:24 -0400)]
Add myself to the old Python demo copyrights, since I just tweaked each demo.

12 years agoOops, fix copyright month on `demo/python/insn.py`.
W. Trevor King [Tue, 13 Mar 2012 13:22:03 +0000 (09:22 -0400)]
Oops, fix copyright month on `demo/python/insn.py`.

12 years agoCast the period to an integer in `demo/python/mmap.py`'s command setup.
W. Trevor King [Tue, 13 Mar 2012 13:17:08 +0000 (09:17 -0400)]
Cast the period to an integer in `demo/python/mmap.py`'s command setup.

This avoids:

   Traceback (most recent call last):
     ...
     File ".../mmap.py", line 96, in prepare_cmd
       C.scan_begin_arg = 1e9/freq
     ...
   TypeError: in method 'comedi_cmd_struct_scan_begin_arg_set',
      argument 2 of type 'unsigned int'

12 years agoAdjust `sys.path` before importing `mmap` in `demo/python/mmap.py`.
W. Trevor King [Tue, 13 Mar 2012 13:12:41 +0000 (09:12 -0400)]
Adjust `sys.path` before importing `mmap` in `demo/python/mmap.py`.

With the previous implementation, `mmap` was importing the demo
script, not the standard `mmap` library module.  From the docs [1]:

  The directory containing the script being run is placed at the
  beginning of the search path, ahead of the standard library
  path. This means that scripts in that directory will be loaded
  instead of modules of the same name in the library directory.

I'm not sure when this changed in Python, since the demo script
presumably worked with an earlier version.

[1]: http://docs.python.org/tutorial/modules.html#the-module-search-path

12 years agoCast the period to an integer in `demo/python/cmd.py`'s command setup.
W. Trevor King [Tue, 13 Mar 2012 12:58:19 +0000 (08:58 -0400)]
Cast the period to an integer in `demo/python/cmd.py`'s command setup.

This avoids:

  TypeError: in method 'comedi_get_cmd_generic_timed',
    argument 5 of type 'unsigned int'

12 years agoAdd serial and PWM subdevice types to `demo/python/info.py`.
W. Trevor King [Tue, 13 Mar 2012 12:47:48 +0000 (08:47 -0400)]
Add serial and PWM subdevice types to `demo/python/info.py`.

This catches it up for the folowing commits to the comedi repository:

  commit 311e9c540217d60bdf56a1dba9eafe474fd3b218
  Author: Bernd Porr <Bernd.Porr@f2s.com>
  Date:   Sun Jan 13 23:07:02 2008 +0000

    Added a proper PWM subdevice for comedi.

  commit 8092ed57ff38e1fcaf75a7e0bf3b8c4f5372f3d7
  Author: Frank Mori Hess <fmhess@speakeasy.net>
  Date:   Sat Jan 31 22:13:09 2004 +0000

    serial dio (SCXI) support from Caleb Tennis

12 years agoAdd `chanlist_len` to `comedi_get_cmd_generic_timed()` calls in Python demos.
W. Trevor King [Tue, 13 Mar 2012 12:41:24 +0000 (08:41 -0400)]
Add `chanlist_len` to `comedi_get_cmd_generic_timed()` calls in Python demos.

This catches the Python demos up to:

  commit 003b9ec501b5c69f25bfbc68e8b3f923d482bb04
  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.

12 years agoAdd `demo/python/insn.py`, a Python clone of `demo/insn.c`.
W. Trevor King [Tue, 13 Mar 2012 12:36:39 +0000 (08:36 -0400)]
Add `demo/python/insn.py`, a Python clone of `demo/insn.c`.

12 years agoAdd an `insn_array` array_class to `comedi.i`.
W. Trevor King [Tue, 13 Mar 2012 12:31:36 +0000 (08:31 -0400)]
Add an `insn_array` array_class to `comedi.i`.

This makes it possible to populate `comedi_insnslist_struct` for use
with `comedi_do_insnlist`.

I also removed my earlier re-typedefs of `sampl_array` and
`lsampl_array`.  I didn't understand the reason for the underlying
`TypeError` when I added them.  The proper way to avoid that error is
to use the `.cast()` and `.frompointer()` methods.  See
`demo/python/insn.py` (coming soon) for details.

12 years agoRemoved comedi_calibrate.8 man page.
Ian Abbott [Mon, 13 Feb 2012 11:36:13 +0000 (11:36 +0000)]
Removed comedi_calibrate.8 man page.

The comedi_calibrate.8 man page has been moved to the comedi_calibrate
package where it belongs.  Thanks to W. Trevor King for pointing it out.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
13 years agolibcomedi: don't ignore channel in comedi_set_clock_source()
Ian Abbott [Thu, 1 Dec 2011 15:37:43 +0000 (15:37 +0000)]
libcomedi: don't ignore channel in comedi_set_clock_source()

Fix bug reported by Finn Hoffman on comedi email list.

13 years agom4/am-check-python-headers.m4: Python 3 wrapper for comedi
Christoph Schmidt-Hieber [Wed, 17 Aug 2011 09:26:51 +0000 (10:26 +0100)]
m4/am-check-python-headers.m4: Python 3 wrapper for comedi

Here's a small patch to make the configure script compatible with Python
3. The wrapper itself (swig/python/comedi_python_wrap.c) will have to be
generated with SWIG >= 2.0.0 for Python 3 compatibility.

13 years agocomedi_test: Remove unnecessary assignment of 'go' when checking data
Ian Abbott [Mon, 27 Jun 2011 12:08:08 +0000 (13:08 +0100)]
comedi_test: Remove unnecessary assignment of 'go' when checking data

The 'go' variable is only used by the 'while' loop that reads the data.
We don't need to set it in the 'for' loop that checks the data
afterwards.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
13 years agocomedi_test: Fix buffer overrun in test_mmap()
Ian Abbott [Mon, 27 Jun 2011 12:03:03 +0000 (13:03 +0100)]
comedi_test: Fix buffer overrun in test_mmap()

If the command does not stop immediately after the last sample, there
can be more data to read than we have room for.  Make sure the 'while'
loop 'read()' does not overrun the end of the malloc'ed 'buf'.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
13 years agoFix a couple of typos.
Ian Abbott [Wed, 11 May 2011 11:05:55 +0000 (12:05 +0100)]
Fix a couple of typos.

A couple of the include files are missing the 'p' in 'published' in the
file header comment.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
13 years agoCOMEDILIB_CFLAGS: Fix for separate build directory.
Ian Abbott [Wed, 11 May 2011 10:45:07 +0000 (11:45 +0100)]
COMEDILIB_CFLAGS: Fix for separate build directory.

When doing an out-of-tree build, the comedi_version.h file is in
the build tree, not in the source tree.  The CFLAGS needs an additional
-I option so the compiler can find it.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
13 years agoINSTALL: Changed cvs reference to git.
Ian Abbott [Tue, 10 May 2011 13:42:46 +0000 (14:42 +0100)]
INSTALL: Changed cvs reference to git.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
13 years agoREADME: Update mailing list details.
Ian Abbott [Tue, 10 May 2011 13:41:02 +0000 (14:41 +0100)]
README: Update mailing list details.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
13 years agoREADME: Changed CVS references to Git.
Ian Abbott [Tue, 10 May 2011 13:36:06 +0000 (14:36 +0100)]
README: Changed CVS references to Git.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
13 years agoREADME.CVS: Renamed to README.Git and edited slightly.
Ian Abbott [Tue, 10 May 2011 13:22:16 +0000 (14:22 +0100)]
README.CVS: Renamed to README.Git and edited slightly.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
13 years agoAdd comedilib_version.h header, produced by ./configure,
Ian Abbott [Wed, 26 Jan 2011 16:29:34 +0000 (16:29 +0000)]
Add comedilib_version.h header, produced by ./configure,
included by comedilib.h, containing COMEDILIB_VERSION_MAJOR,
COMEDILIB_VERSION_MINOR, COMEDILIB_VERSION_MICRO, and
COMEDILIB_CHECK_VERSION(major,minor,micro).  This can be used to perform
C pre-processor checks for API changes in comedilib.

13 years ago#include <sys/stat.h> needed for fstat().
Ian Abbott [Wed, 5 Jan 2011 15:02:44 +0000 (15:02 +0000)]
#include <sys/stat.h> needed for fstat().

14 years agoUpdated procedures for building with Python's distutils. Also reduced
Ian Abbott [Mon, 20 Dec 2010 15:49:59 +0000 (15:49 +0000)]
Updated procedures for building with Python's distutils.  Also reduced
line-lengths for 80-character wide terminals.  Most of the updated text
supplied by W. Trevor King.  Ian Abbott added a note that it only applies
when building the wrappers separately from Comedilib without 'make'.

14 years agoAdd sampl_t and lsampl_t array_class()es to comedi.i.
Ian Abbott [Mon, 20 Dec 2010 14:50:21 +0000 (14:50 +0000)]
Add sampl_t and lsampl_t array_class()es to comedi.i.

This makes it easier (possible?) to setup comedi_insn_struct and
comedi_cmd_struct instances.

Patch from W. Trevor King.

14 years agoAdjust setup.py to link against libtool's lib/.libs/.
Ian Abbott [Fri, 17 Dec 2010 13:56:26 +0000 (13:56 +0000)]
Adjust setup.py to link against libtool's lib/.libs/.
Patch from W. Trevor King.

14 years agoRevert previous commit, renaming comedi_wrap.c back to comedi_python_wrap.c.
Ian Abbott [Thu, 16 Dec 2010 16:03:35 +0000 (16:03 +0000)]
Revert previous commit, renaming comedi_wrap.c back to comedi_python_wrap.c.
Add "comedi_python.i" swig interface file which merely %includes the
"comedi.i" in the parent directory.  Fix paths in "setup.py" and set it up
to run swig directly (using "comedi_python.i" as the source).  Change
"_comedi.py" to "comedi.py" (but keep the underscore prefix on the .so
and .la files).
Based on a patch by W. Trevor King.

14 years agoUse #ifdef SWIGRUBY around typemap(ruby,...) and remove the ruby argument.
Ian Abbott [Thu, 16 Dec 2010 11:41:41 +0000 (11:41 +0000)]
Use #ifdef SWIGRUBY around typemap(ruby,...) and remove the ruby argument.

14 years agoRenamed comedi_python_wrap.c to the swig default comedi_wrap.c.
Ian Abbott [Thu, 16 Dec 2010 11:34:07 +0000 (11:34 +0000)]
Renamed comedi_python_wrap.c to the swig default comedi_wrap.c.

14 years agoTag comedi_sv_measure's data as a swig output in comedilib.h.
Ian Abbott [Thu, 16 Dec 2010 11:29:10 +0000 (11:29 +0000)]
Tag comedi_sv_measure's data as a swig output in comedilib.h.
Patch from W. Trevor King.

14 years agoAdded W. Trevor King to AUTHORS.
Ian Abbott [Tue, 14 Dec 2010 14:43:49 +0000 (14:43 +0000)]
Added W. Trevor King to AUTHORS.

14 years agoAdd -lm to comedilib.pc.in Libs.
Ian Abbott [Tue, 14 Dec 2010 14:41:55 +0000 (14:41 +0000)]
Add -lm to comedilib.pc.in Libs.
Patch from W. Trevor King.

14 years agoImport DESTDIR in swig/ruby/setup.rb for configurable rbconfig install paths.
Ian Abbott [Tue, 14 Dec 2010 14:37:18 +0000 (14:37 +0000)]
Import DESTDIR in swig/ruby/setup.rb for configurable rbconfig install paths.
Patch from W. Trevor King.

14 years agoChange --disable-docbook-binding to --disable-docbook in configure options.
Ian Abbott [Tue, 14 Dec 2010 10:32:39 +0000 (10:32 +0000)]
Change --disable-docbook-binding to --disable-docbook in configure options.
Patch from W. Trevor King.

14 years agoInclude chanlist length in call to comedi_get_cmd_generic_timed.
Ian Abbott [Mon, 8 Nov 2010 11:38:40 +0000 (11:38 +0000)]
Include chanlist length in call to comedi_get_cmd_generic_timed.
Truncate the Float period to an integer.

14 years agoAdd chanlist_len parameter to comedi_get_cmd_generic_timed.
Ian Abbott [Mon, 8 Nov 2010 11:01:42 +0000 (11:01 +0000)]
Add chanlist_len parameter to comedi_get_cmd_generic_timed.

14 years agoDefined SWIG_USE_OLD_TYPEMAPS as a temporary measure to work with SWIG 2.0.
Ian Abbott [Mon, 8 Nov 2010 10:42:42 +0000 (10:42 +0000)]
Defined SWIG_USE_OLD_TYPEMAPS as a temporary measure to work with SWIG 2.0.

14 years agoSpecify EXTRA_DIST files in subdirectories explicitly.
Ian Abbott [Wed, 24 Mar 2010 16:45:15 +0000 (16:45 +0000)]
Specify EXTRA_DIST files in subdirectories explicitly.

14 years agoAdded channel parameter to comedi_set_clock_source() and
Ian Abbott [Fri, 19 Mar 2010 13:44:56 +0000 (13:44 +0000)]
Added channel parameter to comedi_set_clock_source() and
comedi_get_clock_source().  Bumped library version to 0.10.0.

14 years agocomedi_find_range() should skip ranges that don't match specified units.
Ian Abbott [Wed, 17 Feb 2010 18:28:15 +0000 (18:28 +0000)]
comedi_find_range() should skip ranges that don't match specified units.

15 years agoCheck subdevice type.
Ian Abbott [Thu, 13 Aug 2009 11:16:04 +0000 (11:16 +0000)]
Check subdevice type.

15 years agoUse negative options.value to set up time as a duty cycle.
Ian Abbott [Thu, 13 Aug 2009 11:09:05 +0000 (11:09 +0000)]
Use negative options.value to set up time as a duty cycle.

15 years agoGenerates also binary format for the new comedi driver integrated into
Bernd Porr [Fri, 17 Apr 2009 20:41:45 +0000 (20:41 +0000)]
Generates also binary format for the new comedi driver integrated into
the mainstrain linux kernel

15 years agoGenerates also binary format for the new kernel comedi drivers
Bernd Porr [Fri, 17 Apr 2009 20:40:33 +0000 (20:40 +0000)]
Generates also binary format for the new kernel comedi drivers

15 years agoAdd brief note about dependencies for Python and Ruby bindings.
Ian Abbott [Tue, 31 Mar 2009 15:08:55 +0000 (15:08 +0000)]
Add brief note about dependencies for Python and Ruby bindings.

15 years agoAdded the installtion instructions from the Wiki and removed reference
Bernd Porr [Mon, 16 Mar 2009 19:30:39 +0000 (19:30 +0000)]
Added the installtion instructions from the Wiki and removed reference
to Debian woody packages. I had recently quite a lot of e-mails
asking about the permissions of the comedi files and every time the
the problem was that the udev rules were installed in /usr/local/etc.

15 years agocomedi_get_default_calibration_path(): Check result of asprintf() for error.
Ian Abbott [Wed, 18 Feb 2009 15:35:09 +0000 (15:35 +0000)]
comedi_get_default_calibration_path(): Check result of asprintf() for error.

15 years agoUpdate setup.rb using http://i.loveruby.net/archive/setup/setup-3.4.1.tar.gz
Ian Abbott [Wed, 18 Feb 2009 15:14:53 +0000 (15:14 +0000)]
Update setup.rb using i.loveruby.net/archive/setup/setup-3.4.1.tar.gz

15 years agoMove "comedi_errno.h" into "include/" and install it.
Ian Abbott [Wed, 18 Feb 2009 14:47:06 +0000 (14:47 +0000)]
Move "comedi_errno.h" into "include/" and install it.

15 years agoPut __comedi_errno variable into thread-local storage if the compiler
Ian Abbott [Wed, 18 Feb 2009 14:10:54 +0000 (14:10 +0000)]
Put __comedi_errno variable into thread-local storage if the compiler
supports it.  Configuration test uses Alan Woodland's 'ax_tls.m4' from
<http://autoconf-archive.cryp.to/ax_tls.html>.

15 years agoAllow swig to include comedi.h and comedilib.h from comedi.i to avoid
Ian Abbott [Fri, 30 Jan 2009 14:51:38 +0000 (14:51 +0000)]
Allow swig to include comedi.h and comedilib.h from comedi.i to avoid
duplication.

15 years agoAdded updates from comedi.h and comedilib.h.
Ian Abbott [Fri, 30 Jan 2009 14:21:52 +0000 (14:21 +0000)]
Added updates from comedi.h and comedilib.h.

15 years agoAdded dependencies flex and bison, and (optionally) swig, python, ruby and
Ian Abbott [Tue, 6 Jan 2009 12:19:31 +0000 (12:19 +0000)]
Added dependencies flex and bison, and (optionally) swig, python, ruby and
xmlto.

16 years agothe udev scripts are no longer needed because of autoconf in kernelspace
Bernd Porr [Sun, 21 Dec 2008 14:29:53 +0000 (14:29 +0000)]
the udev scripts are no longer needed because of autoconf in kernelspace
and the drivers request the firmware now via the standard udev firmware
helper.

16 years agoFixed do_test_for_insn_bits(), broken by validity checks added to
Ian Abbott [Thu, 18 Dec 2008 17:23:14 +0000 (17:23 +0000)]
Fixed do_test_for_insn_bits(), broken by validity checks added to
comedi_do_insnlist().  Call comedi_ioctl() instead of comedi_do_insnlist().

16 years agoRemoved unneeded comedi_insnlist from do_test_for_insn().
Ian Abbott [Thu, 18 Dec 2008 16:44:20 +0000 (16:44 +0000)]
Removed unneeded comedi_insnlist from do_test_for_insn().

16 years agoCorrected the 'BUG' message in do_test_for_insnlist() (it reported the
Ian Abbott [Thu, 18 Dec 2008 16:38:51 +0000 (16:38 +0000)]
Corrected the 'BUG' message in do_test_for_insnlist() (it reported the
wrong function).

16 years agoOops, I missed one of the info to board_info changes.
Ian Abbott [Thu, 18 Dec 2008 11:43:27 +0000 (11:43 +0000)]
Oops, I missed one of the info to board_info changes.

16 years agodemo/info is now demo/board_info. Thanks to JuanPi for pointing it out.
Ian Abbott [Thu, 18 Dec 2008 11:23:48 +0000 (11:23 +0000)]
demo/info is now demo/board_info.  Thanks to JuanPi for pointing it out.

16 years agoPersistent names by pci device path should be in by-path subdirectory,
Frank Mori Hess [Thu, 13 Nov 2008 14:40:48 +0000 (14:40 +0000)]
Persistent names by pci device path should be in by-path subdirectory,
not by-id.

16 years agoAdded C++ wrapper for comedi_get_buffer_contents().
Frank Mori Hess [Thu, 13 Nov 2008 14:17:15 +0000 (14:17 +0000)]
Added C++ wrapper for comedi_get_buffer_contents().

16 years agoSimplified the comedi rules for usbdux(fast). Also fixed the coldplug problem: the...
Bernd Porr [Sun, 9 Nov 2008 21:42:41 +0000 (21:42 +0000)]
Simplified the comedi rules for usbdux(fast). Also fixed the coldplug problem: the script was only called after a hotplug but not at boot time. This should work now.

16 years agoAdded some device and subdevice validity checks.
Ian Abbott [Wed, 5 Nov 2008 12:52:25 +0000 (12:52 +0000)]
Added some device and subdevice validity checks.

16 years agoHandle COMEDI_SUBD_PWM and check for future unknown subdevice types.
Ian Abbott [Wed, 5 Nov 2008 11:40:42 +0000 (11:40 +0000)]
Handle COMEDI_SUBD_PWM and check for future unknown subdevice types.

16 years agoMade suffix on persistent subdevice symlinks use underscore
Frank Mori Hess [Mon, 20 Oct 2008 19:49:02 +0000 (19:49 +0000)]
Made suffix on persistent subdevice symlinks use underscore
for consistency.

16 years agoAdded example udev rules file for new udev/sysfs in comedi for pci boards.
Frank Mori Hess [Mon, 20 Oct 2008 19:37:57 +0000 (19:37 +0000)]
Added example udev rules file for new udev/sysfs in comedi for pci boards.

16 years agoUpdated it to only run the (unreliable) do_test_for_insn_bits() if the
Frank Mori Hess [Tue, 16 Sep 2008 14:49:35 +0000 (14:49 +0000)]
Updated it to only run the (unreliable) do_test_for_insn_bits() if the
information was not available in the subdevice info.

16 years agoAdded subdevice::subdevice_type() wrapper.
Frank Mori Hess [Tue, 16 Sep 2008 14:48:14 +0000 (14:48 +0000)]
Added subdevice::subdevice_type() wrapper.

16 years agosynced with comedi.
Frank Mori Hess [Tue, 16 Sep 2008 14:01:38 +0000 (14:01 +0000)]
synced with comedi.

16 years agofixed typo in printf.
Frank Mori Hess [Thu, 4 Sep 2008 21:24:42 +0000 (21:24 +0000)]
fixed typo in printf.

16 years agoFixed memory leak in comedi_cleanup_calibration().
Frank Mori Hess [Fri, 29 Aug 2008 19:17:40 +0000 (19:17 +0000)]
Fixed memory leak in comedi_cleanup_calibration().

16 years agoAdded missing return type to member function declaration.
Frank Mori Hess [Fri, 29 Aug 2008 13:38:27 +0000 (13:38 +0000)]
Added missing return type to member function declaration.

16 years agoAdded binding for comedi_get/set_routing.
Frank Mori Hess [Wed, 20 Aug 2008 15:15:25 +0000 (15:15 +0000)]
Added binding for comedi_get/set_routing.

16 years agoAdded comment about using gpct_encoder demo with 660x boards.
Frank Mori Hess [Wed, 20 Aug 2008 00:27:16 +0000 (00:27 +0000)]
Added comment about using gpct_encoder demo with 660x boards.

16 years agoAdded C++ binding for comedi_get_clock_source. Fixed binding for
Frank Mori Hess [Wed, 6 Aug 2008 20:06:16 +0000 (20:06 +0000)]
Added C++ binding for comedi_get_clock_source.  Fixed binding for
comedi_find_subdevice_by_type.

16 years agoAdded AC_CONFIG_MACRO_DIR([m4]).
Ian Abbott [Thu, 31 Jul 2008 09:54:43 +0000 (09:54 +0000)]
Added AC_CONFIG_MACRO_DIR([m4]).

16 years agoAdded comedi::subdevice::set_clock_source, set_counter_mode, and
Frank Mori Hess [Wed, 25 Jun 2008 15:47:06 +0000 (15:47 +0000)]
Added comedi::subdevice::set_clock_source, set_counter_mode, and
set_gate_source.

16 years agoAdded comedi::subdevice::reset wrapper for comedi_reset().
Frank Mori Hess [Wed, 25 Jun 2008 15:14:23 +0000 (15:14 +0000)]
Added comedi::subdevice::reset wrapper for comedi_reset().

16 years agoAdded specification of return value for comedi_dio_bitfield2.
Frank Mori Hess [Thu, 1 May 2008 17:30:11 +0000 (17:30 +0000)]
Added specification of return value for comedi_dio_bitfield2.

16 years agoFix some 64-bit warnings.
Ian Abbott [Wed, 23 Apr 2008 18:53:09 +0000 (18:53 +0000)]
Fix some 64-bit warnings.

16 years agoAdded wrappers for comedi_get_hardware_buffer_size and comedi_find_range.
Frank Mori Hess [Mon, 31 Mar 2008 17:08:33 +0000 (17:08 +0000)]
Added wrappers for comedi_get_hardware_buffer_size and comedi_find_range.

16 years agoAdded description of return value from comedi_internal_trigger().
Frank Mori Hess [Fri, 28 Mar 2008 21:11:49 +0000 (21:11 +0000)]
Added description of return value from comedi_internal_trigger().

16 years agoAdded wrapper for comedi_internal_trigger().
Frank Mori Hess [Fri, 28 Mar 2008 21:10:56 +0000 (21:10 +0000)]
Added wrapper for comedi_internal_trigger().

16 years agoAdded reference entry for comedi_get_hardware_buffer_size().
Frank Mori Hess [Fri, 28 Mar 2008 18:16:45 +0000 (18:16 +0000)]
Added reference entry for comedi_get_hardware_buffer_size().

16 years agoAdded comedi_get_hardware_buffer_size() wrapper function, and made
Frank Mori Hess [Fri, 28 Mar 2008 15:56:35 +0000 (15:56 +0000)]
Added comedi_get_hardware_buffer_size() wrapper function, and made
comedi_strerror return a const char*.

16 years agoReplaced a perror with comedi_perror
Frank Mori Hess [Fri, 28 Mar 2008 15:55:03 +0000 (15:55 +0000)]
Replaced a perror with comedi_perror

16 years agosynced with comedi.
Frank Mori Hess [Fri, 28 Mar 2008 15:29:16 +0000 (15:29 +0000)]
synced with comedi.

16 years agoAdded default constructors to from_physical and to_physical. Added
Frank Mori Hess [Thu, 27 Mar 2008 20:44:15 +0000 (20:44 +0000)]
Added default constructors to from_physical and to_physical.  Added
missing const qualifier to hardcal_converter and softcal_converter
methods.

16 years agoFixed compile error.
Frank Mori Hess [Wed, 26 Mar 2008 19:52:05 +0000 (19:52 +0000)]
Fixed compile error.

16 years agoMade comedi::calibration default constructible. Added wrapper classes
Frank Mori Hess [Wed, 26 Mar 2008 19:22:38 +0000 (19:22 +0000)]
Made comedi::calibration default constructible.  Added wrapper classes
for comedi_to/from_physical.

16 years agoAdded wrappers for calibration functions. Fixed memory leak in
Frank Mori Hess [Fri, 14 Mar 2008 19:07:22 +0000 (19:07 +0000)]
Added wrappers for calibration functions.  Fixed memory leak in
default_calibration_path() method.

16 years agoMade it very slightly more clear that comedi_apply_calibration is only
Frank Mori Hess [Fri, 14 Mar 2008 18:22:24 +0000 (18:22 +0000)]
Made it very slightly more clear that comedi_apply_calibration is only
useful for hardware-calibrated boards.

16 years agoAllow comedi_cleanup_calibration to accept a NULL argument.
Frank Mori Hess [Fri, 14 Mar 2008 17:52:20 +0000 (17:52 +0000)]
Allow comedi_cleanup_calibration to accept a NULL argument.

16 years agoAdded perl to EXTRA_DIST
Frank Mori Hess [Tue, 11 Mar 2008 16:04:23 +0000 (16:04 +0000)]
Added perl to EXTRA_DIST

16 years agoSync with comedi
Ian Abbott [Thu, 21 Feb 2008 12:59:07 +0000 (12:59 +0000)]
Sync with comedi

16 years agoMade mkref script handle the case of a void parameter correctly. Allowed
Frank Mori Hess [Wed, 13 Feb 2008 20:14:38 +0000 (20:14 +0000)]
Made mkref script handle the case of a void parameter correctly.  Allowed
text lines to begin with any whitespace character (not just space).

16 years agoUpdated references for error reporting functions.
Frank Mori Hess [Wed, 13 Feb 2008 20:13:39 +0000 (20:13 +0000)]
Updated references for error reporting functions.

16 years agoUpdated the dio function reference
Frank Mori Hess [Tue, 12 Feb 2008 19:31:26 +0000 (19:31 +0000)]
Updated the dio function reference