comedilib.git
16 years agoRearranged section heirarchy. Made capitalization of section titles
Frank Mori Hess [Mon, 11 Feb 2008 15:50:36 +0000 (15:50 +0000)]
Rearranged section heirarchy.  Made capitalization of section titles
consistent.

16 years agoAdded section for comedi_subdevice_type enum.
Frank Mori Hess [Fri, 8 Feb 2008 21:42:25 +0000 (21:42 +0000)]
Added section for comedi_subdevice_type enum.

16 years agoAdded some links to core function references, and fixed some bitrot.
Frank Mori Hess [Fri, 8 Feb 2008 21:41:32 +0000 (21:41 +0000)]
Added some links to core function references, and fixed some bitrot.
Deprecated comedi_set_global_oor_behavior since it only affects
comedi_to_phys (which is already deprecated).

16 years agoFixed some spelling errors "sucess"->"success".
Frank Mori Hess [Fri, 8 Feb 2008 19:02:18 +0000 (19:02 +0000)]
Fixed some spelling errors "sucess"->"success".

16 years agoRemoved some wrong or obsolete information. Made it xinclude the
Frank Mori Hess [Fri, 8 Feb 2008 18:48:27 +0000 (18:48 +0000)]
Removed some wrong or obsolete information.  Made it xinclude the
tutorial programs tut1.c and tut2.c

16 years agoMinor tweak to comedi_get_softcal_converter description.
Frank Mori Hess [Fri, 8 Feb 2008 18:28:26 +0000 (18:28 +0000)]
Minor tweak to comedi_get_softcal_converter description.

16 years agotrivial change to a comment.
Frank Mori Hess [Fri, 8 Feb 2008 18:23:05 +0000 (18:23 +0000)]
trivial change to a comment.

16 years agoSwitched to use comedi_to_physical instead of deprecated comedi_to_phys.
Frank Mori Hess [Fri, 8 Feb 2008 16:23:36 +0000 (16:23 +0000)]
Switched to use comedi_to_physical instead of deprecated comedi_to_phys.

16 years agoAdded some checking of return values for errors
Frank Mori Hess [Fri, 8 Feb 2008 16:22:43 +0000 (16:22 +0000)]
Added some checking of return values for errors

16 years agoSome minor tweaks.
Frank Mori Hess [Thu, 7 Feb 2008 19:58:13 +0000 (19:58 +0000)]
Some minor tweaks.

16 years agoUpdated drivers.txt from comedi 0.7.76
Frank Mori Hess [Mon, 28 Jan 2008 21:34:06 +0000 (21:34 +0000)]
Updated drivers.txt from comedi 0.7.76

16 years agocomedi_internal_trigger is provided by comedilib now.
Frank Mori Hess [Mon, 28 Jan 2008 20:38:47 +0000 (20:38 +0000)]
comedi_internal_trigger is provided by comedilib now.

16 years agoFixed another problem with mmap test on subdevice using lsampl_t.
Frank Mori Hess [Mon, 28 Jan 2008 20:35:14 +0000 (20:35 +0000)]
Fixed another problem with mmap test on subdevice using lsampl_t.

16 years agoFixed bug in mmap test when run on subdevice with SDF_LSAMPL.
Frank Mori Hess [Mon, 28 Jan 2008 20:27:19 +0000 (20:27 +0000)]
Fixed bug in mmap test when run on subdevice with SDF_LSAMPL.

16 years agoAdded css stylesheet for html docs. At the momment, it just gives a
Frank Mori Hess [Mon, 28 Jan 2008 19:30:01 +0000 (19:30 +0000)]
Added css stylesheet for html docs.  At the momment, it just gives a
light gray background to display of "programlisting" elements.

16 years agoDon't use SDF_WRITEABLE flag to check if read (or write) command is
Ian Abbott [Mon, 28 Jan 2008 16:10:11 +0000 (16:10 +0000)]
Don't use SDF_WRITEABLE flag to check if read (or write) command is
applicable.  Instead, check that the specified subdevice matches the
read (or write) subdevice.

16 years agoAdded some links.
Frank Mori Hess [Fri, 25 Jan 2008 15:00:01 +0000 (15:00 +0000)]
Added some links.

16 years agoLinks to http://www.comedi.org everywhere.
Frank Mori Hess [Thu, 24 Jan 2008 21:35:24 +0000 (21:35 +0000)]
Links to http://www.comedi.org everywhere.

16 years agoDid a little editing and updating for bitrotten parts.
Frank Mori Hess [Thu, 24 Jan 2008 21:09:32 +0000 (21:09 +0000)]
Did a little editing and updating for bitrotten parts.

16 years agoUse "email" element.
Frank Mori Hess [Thu, 24 Jan 2008 21:09:05 +0000 (21:09 +0000)]
Use "email" element.

16 years agoFixed indentation, shouldn't have made any content changes.
Frank Mori Hess [Thu, 24 Jan 2008 19:30:00 +0000 (19:30 +0000)]
Fixed indentation, shouldn't have made any content changes.

16 years agoFixed indentation. Performed some editing of content. Removed some parts
Frank Mori Hess [Thu, 24 Jan 2008 19:11:18 +0000 (19:11 +0000)]
Fixed indentation.  Performed some editing of content.  Removed some parts
which were wrong, or made no sense to me.

16 years agoAdded some missing "para" elements in the legalnotice. Fixed up
Frank Mori Hess [Thu, 24 Jan 2008 15:08:47 +0000 (15:08 +0000)]
Added some missing "para" elements in the legalnotice.  Fixed up
indentation.

16 years agoForgot to add this new file, it's part of conversion to docbook-xml.
Frank Mori Hess [Thu, 24 Jan 2008 01:34:10 +0000 (01:34 +0000)]
Forgot to add this new file, it's part of conversion to docbook-xml.

16 years agoConverted comedilib docs to docbook-xml 4.4, fixing a bunch of
Frank Mori Hess [Thu, 24 Jan 2008 01:32:41 +0000 (01:32 +0000)]
Converted comedilib docs to docbook-xml 4.4, fixing a bunch of
parse errors along the way (mostly unclosed tags).

16 years agoAdded more INSN_CONFIG wrappers: comedi_get_clock_source(),
Frank Mori Hess [Wed, 23 Jan 2008 18:56:52 +0000 (18:56 +0000)]
Added more INSN_CONFIG wrappers: comedi_get_clock_source(),
comedi_get_gate_source(), and comedi_get_routing().  Added "channel"
parameter to some of the INSN_CONFIG wrappers.

16 years agoAdded comedi_set_filter() and comedi_set_routing() configuration
Frank Mori Hess [Fri, 18 Jan 2008 16:37:32 +0000 (16:37 +0000)]
Added comedi_set_filter() and comedi_set_routing() configuration
instruction wrappers.

16 years agoUpdated to use comedi_set_clock_source() wrapper.
Frank Mori Hess [Thu, 17 Jan 2008 17:10:07 +0000 (17:10 +0000)]
Updated to use comedi_set_clock_source() wrapper.

16 years agoAdded reference entries for new configuration instruction wrappers.
Frank Mori Hess [Thu, 17 Jan 2008 17:03:01 +0000 (17:03 +0000)]
Added reference entries for new configuration instruction wrappers.

16 years agoMore memory initialization, error detection and cleanup in get_subdevices()
Ian Abbott [Thu, 17 Jan 2008 13:52:02 +0000 (13:52 +0000)]
More memory initialization, error detection and cleanup in get_subdevices()
and get_rangeinfo().

16 years agoFree elements of rangeinfo_list on close.
Ian Abbott [Thu, 17 Jan 2008 13:50:32 +0000 (13:50 +0000)]
Free elements of rangeinfo_list on close.

16 years agoReturn 0 from the INSN_CONFIG wrappers on success.
Frank Mori Hess [Wed, 16 Jan 2008 20:09:38 +0000 (20:09 +0000)]
Return 0 from the INSN_CONFIG wrappers on success.

16 years agoAdded more memory initialization for the sake of valgrind (especially
Frank Mori Hess [Wed, 16 Jan 2008 19:45:05 +0000 (19:45 +0000)]
Added more memory initialization for the sake of valgrind (especially
memory that gets set by ioctls that valgrind can't see).  Added a little
error handling for a few memory allocations.

16 years agoMoved some wrappers for INSN_CONFIG instructions into comedilib.
Frank Mori Hess [Tue, 15 Jan 2008 21:01:40 +0000 (21:01 +0000)]
Moved some wrappers for INSN_CONFIG instructions into comedilib.
Will add some reference documentation for the new functions soon.

16 years agoSplit function references into subsections. Always build docs in
Frank Mori Hess [Mon, 14 Jan 2008 22:15:07 +0000 (22:15 +0000)]
Split function references into subsections.  Always build docs in
$(srcdir).

16 years agofixed typo in hotplug warning message.
Frank Mori Hess [Mon, 14 Jan 2008 20:29:37 +0000 (20:29 +0000)]
fixed typo in hotplug warning message.

16 years agoSynced this with comedi. PWM support.
Bernd Porr [Sun, 13 Jan 2008 23:18:05 +0000 (23:18 +0000)]
Synced this with comedi. PWM support.

17 years agoDefine datarootdir, docdir, htmldir and pdfdir if not defined by autoconf
Ian Abbott [Wed, 19 Dec 2007 11:44:16 +0000 (11:44 +0000)]
Define datarootdir, docdir, htmldir and pdfdir if not defined by autoconf
(first defined in autoconf-2.59c).

17 years agoAdded a little more description of return value from
Frank Mori Hess [Mon, 17 Dec 2007 00:06:39 +0000 (00:06 +0000)]
Added a little more description of return value from
comedi_mark_buffer_read(), from Jan Gukelberger <g.u.g.i@gmx.de>.

17 years agoAvoid mixing declarations and code.
Ian Abbott [Mon, 10 Dec 2007 13:20:19 +0000 (13:20 +0000)]
Avoid mixing declarations and code.

17 years agoFixed setting of comedi_errno in comedi_dio_config() for invalid
Frank Mori Hess [Sat, 1 Dec 2007 15:54:08 +0000 (15:54 +0000)]
Fixed setting of comedi_errno in comedi_dio_config() for invalid
arguments.

17 years agoGot rid of obsolete error codes.
Frank Mori Hess [Sat, 1 Dec 2007 15:53:18 +0000 (15:53 +0000)]
Got rid of obsolete error codes.

17 years agoAdded blancmange curve.
Ian Abbott [Fri, 30 Nov 2007 18:20:15 +0000 (18:20 +0000)]
Added blancmange curve.

17 years agoSelected waveform with -n. Shifted up sine wave if necessary. Added new
Ian Abbott [Fri, 30 Nov 2007 16:02:30 +0000 (16:02 +0000)]
Selected waveform with -n.  Shifted up sine wave if necessary.  Added new
waveforms.  Fixed cycloid. :-)

17 years agoSynced with comedi.
Ian Abbott [Fri, 30 Nov 2007 12:24:08 +0000 (12:24 +0000)]
Synced with comedi.

17 years agoNew firmware with PWM support. It uses the GPIF of the board to stream
Bernd Porr [Sun, 25 Nov 2007 21:17:14 +0000 (21:17 +0000)]
New firmware with PWM support. It uses the GPIF of the board to stream
out the bit streams.

17 years agoSupport -c channel and -r range options.
Ian Abbott [Thu, 22 Nov 2007 18:11:22 +0000 (18:11 +0000)]
Support -c channel and -r range options.

17 years agoMoved EXTRA_DIST outside of conditionals (as already happened to hotplug)
Bernd Porr [Tue, 20 Nov 2007 19:43:00 +0000 (19:43 +0000)]
Moved EXTRA_DIST outside of conditionals (as already happened to hotplug)

17 years agoFixed name of comedi_cleanup_calibration()
Frank Mori Hess [Tue, 13 Nov 2007 03:18:32 +0000 (03:18 +0000)]
Fixed name of comedi_cleanup_calibration()

17 years agoAdding trivial email address obfuscation, since some of the AUTHORS
Frank Mori Hess [Sat, 10 Nov 2007 16:54:15 +0000 (16:54 +0000)]
Adding trivial email address obfuscation, since some of the AUTHORS
files are linked to from the web page.

17 years agoFix use of INSN_GTOD so it works on 64-bit platforms.
Ian Abbott [Wed, 7 Nov 2007 13:01:50 +0000 (13:01 +0000)]
Fix use of INSN_GTOD so it works on 64-bit platforms.
A struct timeval is not the same size as a pair of lsampl_t's for 64-bit,
so can't point 'data' in a comedi_insn to a struct timeval and expect it
to work!

17 years agoFix out-of-tree build of ruby bindings.
Ian Abbott [Fri, 2 Nov 2007 16:03:58 +0000 (16:03 +0000)]
Fix out-of-tree build of ruby bindings.

17 years agoFixed warning on 32 bit arch, caused by my fix for 64 bits.
Frank Mori Hess [Mon, 29 Oct 2007 01:12:57 +0000 (01:12 +0000)]
Fixed warning on 32 bit arch, caused by my fix for 64 bits.

17 years agoRegenerated ChangeLog with "cvs2cl -t" for 0.8.1 release. r0_8_1
Frank Mori Hess [Mon, 29 Oct 2007 01:01:26 +0000 (01:01 +0000)]
Regenerated ChangeLog with "cvs2cl -t" for 0.8.1 release.

17 years agoBumped version for 0.8.1 release.
Frank Mori Hess [Mon, 29 Oct 2007 00:59:29 +0000 (00:59 +0000)]
Bumped version for 0.8.1 release.

17 years agosynced with comedi.
Frank Mori Hess [Mon, 29 Oct 2007 00:58:41 +0000 (00:58 +0000)]
synced with comedi.

17 years agoFixed compile warning on amd64
Frank Mori Hess [Fri, 26 Oct 2007 21:10:05 +0000 (21:10 +0000)]
Fixed compile warning on amd64

17 years agoMoved EXTRA_DIST outside of conditionals.
Frank Mori Hess [Sun, 21 Oct 2007 20:05:13 +0000 (20:05 +0000)]
Moved EXTRA_DIST outside of conditionals.

17 years agoSynced with comedi.
Frank Mori Hess [Wed, 17 Oct 2007 20:17:43 +0000 (20:17 +0000)]
Synced with comedi.

17 years agoAdded comedi_iostream.hpp to include_HEADERS
Frank Mori Hess [Wed, 17 Oct 2007 20:12:41 +0000 (20:12 +0000)]
Added comedi_iostream.hpp to include_HEADERS

17 years agoAdded dio_config and dio_bitfield2 to c++ binding.
Frank Mori Hess [Mon, 15 Oct 2007 19:37:50 +0000 (19:37 +0000)]
Added dio_config and dio_bitfield2 to c++ binding.

17 years agoPatch from steven.jenkins@ieee.org (Steven Jenkins):
Frank Mori Hess [Mon, 15 Oct 2007 00:02:49 +0000 (00:02 +0000)]
Patch from steven.jenkins@ieee.org (Steven Jenkins):

The SWIG interface file (swig/comedi.i) is out of date with respect to comedi.h
and comedilib.h. I've attempted to make it current by applying most of the
changes since 1.22 (both headers).

My ability to test is limited. The swig/ruby/demo/cmd application runs
successfully using the comedi_test device. The python extension library
compiles, but that's as far as I've taken it.

17 years agoAdded comedi::istream and ostream classes, to provide slightly higher
Frank Mori Hess [Fri, 12 Oct 2007 21:24:11 +0000 (21:24 +0000)]
Added comedi::istream and ostream classes, to provide slightly higher
level ostream::write() and istream::read() functions for transferring
data during commands.

17 years agoAdded default constructor for comedi::subdevice, and added missing wrapper
Frank Mori Hess [Fri, 12 Oct 2007 21:22:05 +0000 (21:22 +0000)]
Added default constructor for comedi::subdevice, and added missing wrapper
for comedi_cancel().

17 years agoSync with comedi.
Frank Mori Hess [Fri, 28 Sep 2007 19:02:02 +0000 (19:02 +0000)]
Sync with comedi.

17 years agoAdded C++ binding.
Frank Mori Hess [Mon, 27 Aug 2007 21:46:35 +0000 (21:46 +0000)]
Added C++ binding.

17 years agoGot rid of redundant EXTRA_DIST
Frank Mori Hess [Mon, 27 Aug 2007 20:32:07 +0000 (20:32 +0000)]
Got rid of redundant EXTRA_DIST

17 years agoPatch from Tobias Blaser <tblaser@freesurf.ch>:
Frank Mori Hess [Sun, 19 Aug 2007 18:39:03 +0000 (18:39 +0000)]
Patch from Tobias Blaser <tblaser@freesurf.ch>:

Here is a patch to CVS which adds the DESTDIR variable to the installation
rules in the comedilib doc Makefile. Convenient when creating packages.

17 years agoGave libscxi independent version info from libcomedi. Removed
Frank Mori Hess [Sun, 19 Aug 2007 18:30:26 +0000 (18:30 +0000)]
Gave libscxi independent version info from libcomedi.  Removed
attempt to link to libcomedi when building libscxi.

17 years agoAdded blurb about do_waveform.
Frank Mori Hess [Tue, 14 Aug 2007 13:21:47 +0000 (13:21 +0000)]
Added blurb about do_waveform.

17 years agoAdded digital output command demo.
Frank Mori Hess [Mon, 13 Aug 2007 21:21:39 +0000 (21:21 +0000)]
Added digital output command demo.

17 years agoBe a little more correct by setting CMDF_WRITE flag, in preparation
Frank Mori Hess [Mon, 13 Aug 2007 21:20:35 +0000 (21:20 +0000)]
Be a little more correct by setting CMDF_WRITE flag, in preparation
for subdevices that support both input and output commands.

17 years agoprint subdevice too on command dumps.
Frank Mori Hess [Mon, 13 Aug 2007 21:19:36 +0000 (21:19 +0000)]
print subdevice too on command dumps.

17 years agosynced with comedi.
Frank Mori Hess [Mon, 13 Aug 2007 21:18:47 +0000 (21:18 +0000)]
synced with comedi.

17 years agoMoved comedi_internal_trigger into common.c
Frank Mori Hess [Fri, 10 Aug 2007 18:48:03 +0000 (18:48 +0000)]
Moved comedi_internal_trigger into common.c

17 years agoRemoved some obsolete comments.
Frank Mori Hess [Fri, 10 Aug 2007 17:50:59 +0000 (17:50 +0000)]
Removed some obsolete comments.

17 years agoNeed to use stop_src=TRIG_NONE
Frank Mori Hess [Thu, 9 Aug 2007 14:10:52 +0000 (14:10 +0000)]
Need to use stop_src=TRIG_NONE

17 years agoDefault buffer sizes are actually 64k now.
Frank Mori Hess [Tue, 7 Aug 2007 20:59:24 +0000 (20:59 +0000)]
Default buffer sizes are actually 64k now.

17 years agoFixed comedi_get_cmd_generic_timed() by adding a chanlist_len
Frank Mori Hess [Thu, 2 Aug 2007 19:46:44 +0000 (19:46 +0000)]
Fixed comedi_get_cmd_generic_timed() by adding a chanlist_len
parameter.  Old version is still available in library, thanks to the
magic of the version_script.

17 years agosync with comedi
Frank Mori Hess [Thu, 2 Aug 2007 19:43:04 +0000 (19:43 +0000)]
sync with comedi

17 years agoRemoved duplicate declaration.
Frank Mori Hess [Thu, 2 Aug 2007 18:44:39 +0000 (18:44 +0000)]
Removed duplicate declaration.

17 years agoBlah, a fresh cvs checkout does need a couple command-line options to
Frank Mori Hess [Tue, 31 Jul 2007 19:51:53 +0000 (19:51 +0000)]
Blah, a fresh cvs checkout does need a couple command-line options to
autoreconf, so put autogen.sh back in.

17 years agoAutogenerated ChangeLog using "cvs2cl -t" v0_8_0
Frank Mori Hess [Tue, 31 Jul 2007 17:47:49 +0000 (17:47 +0000)]
Autogenerated ChangeLog using "cvs2cl -t"

17 years agoGot rid of doccomedilib, use "configure --docdir=blah" and related
Frank Mori Hess [Tue, 31 Jul 2007 17:43:18 +0000 (17:43 +0000)]
Got rid of doccomedilib, use "configure --docdir=blah" and related
options.  Fixed some problems with "make distcheck".

17 years agoautogen.sh is gone.
Frank Mori Hess [Tue, 31 Jul 2007 17:38:15 +0000 (17:38 +0000)]
autogen.sh is gone.

17 years agoGot rid of autogen.sh, and just tell people to run autoreconf.
Frank Mori Hess [Tue, 31 Jul 2007 14:50:47 +0000 (14:50 +0000)]
Got rid of autogen.sh, and just tell people to run autoreconf.

17 years agoAdded AUTHORS list to comedilib.
Frank Mori Hess [Tue, 31 Jul 2007 14:47:27 +0000 (14:47 +0000)]
Added AUTHORS list to comedilib.

17 years agoTook comedi_dio_bitfield out of _COMEDILIB_DEPRECATED for release,
Frank Mori Hess [Tue, 31 Jul 2007 14:27:21 +0000 (14:27 +0000)]
Took comedi_dio_bitfield out of _COMEDILIB_DEPRECATED for release,
until bindings are updated.

17 years agosynced with comedi
Frank Mori Hess [Tue, 31 Jul 2007 14:20:44 +0000 (14:20 +0000)]
synced with comedi

17 years agoActually, according to current:revision:age practice, the next
Frank Mori Hess [Tue, 31 Jul 2007 02:44:29 +0000 (02:44 +0000)]
Actually, according to current:revision:age practice, the next
release should be 0.8.0 since new functions have been added since
0.7.22.

17 years agoFixed up AC_INIT and AM_INIT_AUTOMAKE parameters.
Frank Mori Hess [Tue, 31 Jul 2007 02:29:58 +0000 (02:29 +0000)]
Fixed up AC_INIT and AM_INIT_AUTOMAKE parameters.

17 years agoMove to current:revision:age discipline for library version numbers.
Frank Mori Hess [Tue, 31 Jul 2007 02:21:24 +0000 (02:21 +0000)]
Move to current:revision:age discipline for library version numbers.
Bumped version for next release.

17 years agoSynced with comedi.
Frank Mori Hess [Mon, 30 Jul 2007 03:50:30 +0000 (03:50 +0000)]
Synced with comedi.

17 years agoAdded mention of comedi_calibrate and comedi-nonfree-firmware tarballs.
Frank Mori Hess [Mon, 30 Jul 2007 03:26:57 +0000 (03:26 +0000)]
Added mention of comedi_calibrate and comedi-nonfree-firmware tarballs.

17 years agosynced with comedi
Ian Abbott [Tue, 24 Jul 2007 13:50:45 +0000 (13:50 +0000)]
synced with comedi

17 years agoAdd calib_lex.h to noinst_HEADERS.
Ian Abbott [Tue, 24 Jul 2007 13:38:14 +0000 (13:38 +0000)]
Add calib_lex.h to noinst_HEADERS.

17 years agoAdd closing tags for <glosssee> and <glossseealso>.
Ian Abbott [Tue, 24 Jul 2007 13:06:40 +0000 (13:06 +0000)]
Add closing tags for <glosssee> and <glossseealso>.

17 years agoSynced with comedi.
Frank Mori Hess [Mon, 16 Jul 2007 15:01:06 +0000 (15:01 +0000)]
Synced with comedi.

17 years agoAdded some sanity checks, and made it use the read subdev by default
Frank Mori Hess [Mon, 16 Jul 2007 15:00:28 +0000 (15:00 +0000)]
Added some sanity checks, and made it use the read subdev by default
if no "-s" command line option is given.

17 years agoCorrected comments describing read_subdevice and write_subdevice members
Frank Mori Hess [Mon, 16 Jul 2007 14:01:40 +0000 (14:01 +0000)]
Corrected comments describing read_subdevice and write_subdevice members
of comedi_devinfo