Frank Mori Hess [Tue, 10 Jul 2007 14:26:30 +0000 (14:26 +0000)]
Removed unused variable.
Frank Mori Hess [Tue, 10 Jul 2007 14:11:32 +0000 (14:11 +0000)]
Cleaned up mixing of spaces/tabs for indentation probably done by emacs.
Frank Mori Hess [Tue, 10 Jul 2007 14:08:07 +0000 (14:08 +0000)]
Removed some dead code.
Frank Mori Hess [Thu, 28 Jun 2007 01:22:38 +0000 (01:22 +0000)]
Demo program for quadrature encoder counting with NI GPCT, from
Anders Blomdell <anders.blomdell@control.lth.se>
Bernd Porr [Thu, 24 May 2007 10:51:17 +0000 (10:51 +0000)]
Added a line which sets the permissions to 0666 for all /dev/comedi devices.
Frank Mori Hess [Sun, 29 Apr 2007 18:40:28 +0000 (18:40 +0000)]
Removed autogenerated file from cvs.
Bernd Porr [Sat, 28 Apr 2007 00:24:42 +0000 (00:24 +0000)]
Used AC_ARG_WITH for udev as suggested by frank.
Frank Mori Hess [Tue, 24 Apr 2007 20:22:53 +0000 (20:22 +0000)]
Silenced automake 1.10 warning.
Bernd Porr [Mon, 23 Apr 2007 22:20:09 +0000 (22:20 +0000)]
Added udev support.
Frank Mori Hess [Wed, 18 Apr 2007 14:04:39 +0000 (14:04 +0000)]
Fixed compile warning under gcc 4.1.2
Frank Mori Hess [Mon, 26 Feb 2007 17:24:24 +0000 (17:24 +0000)]
synced with comedi.
Frank Mori Hess [Mon, 8 Jan 2007 21:54:15 +0000 (21:54 +0000)]
synced with comedi.
Frank Mori Hess [Mon, 8 Jan 2007 21:53:59 +0000 (21:53 +0000)]
Added new gpct_simple_counting demo (shares some code with
gpct_pulse_generator demo through common.c).
Frank Mori Hess [Mon, 8 Jan 2007 20:56:24 +0000 (20:56 +0000)]
Print large unsigned values correctly (not as negative numbers) for
subdevice with 32 bit values.
Frank Mori Hess [Fri, 5 Jan 2007 21:15:00 +0000 (21:15 +0000)]
Added brief description of choose_routing demo.
Frank Mori Hess [Fri, 5 Jan 2007 21:09:28 +0000 (21:09 +0000)]
Added gpct_pulse_generator demo.
Frank Mori Hess [Fri, 5 Jan 2007 20:39:17 +0000 (20:39 +0000)]
synced with comedi
Frank Mori Hess [Fri, 5 Jan 2007 19:35:14 +0000 (19:35 +0000)]
print max data value as unsigned value instead of signed, so 32 bit
counters show proper max value (instead of -1).
Frank Mori Hess [Wed, 3 Jan 2007 21:14:53 +0000 (21:14 +0000)]
Made parse_options() write options to a struct instead of passing
them through global variables.
Frank Mori Hess [Wed, 3 Jan 2007 15:44:51 +0000 (15:44 +0000)]
Added a sentence to ao_waveform description.
Frank Mori Hess [Wed, 3 Jan 2007 15:43:06 +0000 (15:43 +0000)]
Removed some C99-isms (mixed code and declarations)
Frank Mori Hess [Wed, 3 Jan 2007 15:31:11 +0000 (15:31 +0000)]
Replaced deprecated AM_PROG_CC_STDC with AC_PROG_CC_STDC
Frank Mori Hess [Wed, 25 Oct 2006 19:57:49 +0000 (19:57 +0000)]
Added a table with descriptions of a few configuration instructions.
Frank Mori Hess [Wed, 25 Oct 2006 18:53:42 +0000 (18:53 +0000)]
Updated to docbook 4.2. Fixed broken </link> in tutorial.sgml
Frank Mori Hess [Tue, 24 Oct 2006 20:36:33 +0000 (20:36 +0000)]
Sync'd with comedi
Frank Mori Hess [Tue, 24 Oct 2006 15:07:41 +0000 (15:07 +0000)]
Updated RTSI documentation to reflect my changes.
Frank Mori Hess [Tue, 24 Oct 2006 15:07:08 +0000 (15:07 +0000)]
Sync'ed with comedi.
Frank Mori Hess [Mon, 23 Oct 2006 19:35:24 +0000 (19:35 +0000)]
Added choose_clock and choose_routing demo programs. Synced comedi.h
with comedi. Made dio demo simply configure the line direction based
on the command line argument.
Frank Mori Hess [Tue, 17 Oct 2006 18:19:29 +0000 (18:19 +0000)]
Added const qualifiers to some char* return values. Added new
experimental comedi_dio_bitfield2() function which works with
> 32 channels. Only works properly with ni_65xx currently.
Will post a request for review by any interested
parties to list before I bother making the rest of the drivers
work with it.
Frank Mori Hess [Mon, 11 Sep 2006 13:55:22 +0000 (13:55 +0000)]
Added description of SDF_SOFT_CALIBRATED flag.
Frank Mori Hess [Fri, 8 Sep 2006 19:40:15 +0000 (19:40 +0000)]
Added brief description of enum comedi_conversion_direction
Frank Mori Hess [Fri, 8 Sep 2006 18:38:07 +0000 (18:38 +0000)]
Added entries for comedi_to_physical() and comedi_from_physical().
Frank Mori Hess [Fri, 8 Sep 2006 15:41:05 +0000 (15:41 +0000)]
sync with comedi
Frank Mori Hess [Fri, 8 Sep 2006 14:53:48 +0000 (14:53 +0000)]
Added entries for comedi_get_hardcal_converter() and
comedi_get_softcal_converter(). Clairified comedi_apply_calibration()
a little.
Frank Mori Hess [Thu, 7 Sep 2006 19:09:04 +0000 (19:09 +0000)]
Added some primative support for using software calibration in a way
that can be integrated with boards that don't use software calibrations.
Frank Mori Hess [Thu, 31 Aug 2006 18:09:27 +0000 (18:09 +0000)]
Fill in inverse polynomials for first order soft calibrations.
Frank Mori Hess [Thu, 31 Aug 2006 15:29:44 +0000 (15:29 +0000)]
Added flex and bison generated files to MAINTAINERCLEANFILES
Frank Mori Hess [Mon, 28 Aug 2006 22:59:42 +0000 (22:59 +0000)]
Fix parsing of floating point values in exponential notation, and numbers
with a leading + or - sign (untested).
Frank Mori Hess [Tue, 22 Aug 2006 20:19:19 +0000 (20:19 +0000)]
Fixed problem with keeping track of whether a software calibration
is for the from_phys or to_phys direction.
Frank Mori Hess [Tue, 22 Aug 2006 20:13:44 +0000 (20:13 +0000)]
Parsing of calibration file with soft calibration information works now.
Frank Mori Hess [Tue, 22 Aug 2006 18:14:22 +0000 (18:14 +0000)]
First pass at parsing additional calibration file elements which
support software calibration.
Ian Abbott [Thu, 20 Jul 2006 11:51:54 +0000 (11:51 +0000)]
Applied patch from David MacMahon <davidm -at- astro -dot- berkeley -dot- edu>.
Adds physical units support to comedilib demo programs.
I changed one of the format strings to help line up values better in the
'cmd' example.
Ian Abbott [Thu, 13 Jul 2006 17:06:33 +0000 (17:06 +0000)]
Use comedi_perror to report error if comedi_open fails, and exit with exit
code 1.
Ian Abbott [Thu, 13 Jul 2006 12:45:26 +0000 (12:45 +0000)]
Applied patch from David MacMahon <davidm -at- astro -dot- berkeley -dot- edu>.
Add leading zeroes to subdevice flag values.
Ian Abbott [Thu, 13 Jul 2006 12:43:14 +0000 (12:43 +0000)]
Applied (slightly modified) patch from David MacMahon
<davidm -at- astro -dot- berkeley -dot- edu>.
Reports specific error string (strerror(errno)) if comedi_open fails (I
changed the format slightly from David's).
Displays subdevice flags as a hexadecimal number.
Ian Abbott [Thu, 13 Jul 2006 12:33:58 +0000 (12:33 +0000)]
Added AC_PROG_LIBTOOL, as suggested by the autotools.
Frank Mori Hess [Tue, 2 May 2006 02:09:02 +0000 (02:09 +0000)]
Patch from abbotti@mev.co.uk (Ian Abbott):
Fixes compile error with gcc 2.96.
Frank Mori Hess [Tue, 2 May 2006 01:25:35 +0000 (01:25 +0000)]
synced with comedi
Frank Mori Hess [Tue, 2 May 2006 01:21:46 +0000 (01:21 +0000)]
RTSI documentation from terry1@beam.ltd.uk (Terry Barnaby)
Frank Mori Hess [Fri, 3 Mar 2006 01:00:50 +0000 (01:00 +0000)]
sync with comedi
Frank Mori Hess [Wed, 15 Feb 2006 22:27:00 +0000 (22:27 +0000)]
Removed comedi_calibrate from subdirs, as it has been split into
its own module. Fix is from Ian Abbott <abbotti@mev.co.uk>.
Frank Mori Hess [Sun, 5 Feb 2006 20:56:11 +0000 (20:56 +0000)]
Removed comedi_calibrate from comedilib, it is now in its own
module.
Frank Mori Hess [Fri, 3 Feb 2006 01:06:30 +0000 (01:06 +0000)]
Make sure fine caldacs are reset before attempting to recalibrate
coarse caldacs for unipolar ai.
Frank Mori Hess [Sun, 8 Jan 2006 16:37:59 +0000 (16:37 +0000)]
synced with comedi
Frank Mori Hess [Wed, 4 Jan 2006 02:55:40 +0000 (02:55 +0000)]
Added beginnings of support for m-series calibration. So far, it just
reads various internal calibration sources.
Frank Mori Hess [Wed, 28 Dec 2005 17:11:35 +0000 (17:11 +0000)]
Made cmd demo work with SDF_LSAMPL subdevices.
David Schleef [Fri, 4 Nov 2005 01:21:42 +0000 (01:21 +0000)]
Change Kurt Müller's email address
Frank Mori Hess [Thu, 3 Nov 2005 01:24:38 +0000 (01:24 +0000)]
new results
Frank Mori Hess [Thu, 3 Nov 2005 01:21:38 +0000 (01:21 +0000)]
MC pci-das6014 calibration looks good.
Frank Mori Hess [Wed, 2 Nov 2005 00:18:27 +0000 (00:18 +0000)]
sync comedi.h with comedi
Frank Mori Hess [Wed, 2 Nov 2005 00:12:31 +0000 (00:12 +0000)]
Added entry for MC pci-das6014
Frank Mori Hess [Thu, 6 Oct 2005 22:20:56 +0000 (22:20 +0000)]
Update 6024e status to STATUS_DONE, and update results for same.
Frank Mori Hess [Sat, 10 Sep 2005 22:20:43 +0000 (22:20 +0000)]
Added outline of code for loading pci-6052 caldacs from eeprom
(doesn't work yet).
Frank Mori Hess [Fri, 9 Sep 2005 01:06:25 +0000 (01:06 +0000)]
Set status of at-mio-16xe-50 back to STATUS_DONE, as it seems to be
fine after all.
Frank Mori Hess [Sat, 27 Aug 2005 00:36:44 +0000 (00:36 +0000)]
undo recent changes for AT-MIO-16XE-50, which were unproductive.
Frank Mori Hess [Thu, 25 Aug 2005 23:41:18 +0000 (23:41 +0000)]
update at-mio-16de-10 to STATUS_DONE
Frank Mori Hess [Thu, 25 Aug 2005 23:38:03 +0000 (23:38 +0000)]
new results
Frank Mori Hess [Wed, 24 Aug 2005 22:35:04 +0000 (22:35 +0000)]
fix AT-MIO-16XE-50 calibration to take into account coarse postgain
offset that it seems to have (not sure though).
Frank Mori Hess [Mon, 22 Aug 2005 00:06:05 +0000 (00:06 +0000)]
Added some diagnostics to try and figure out the 6052.
Frank Mori Hess [Sun, 14 Aug 2005 21:34:36 +0000 (21:34 +0000)]
updated results for at-mio-16xe-50
Frank Mori Hess [Sun, 14 Aug 2005 21:31:43 +0000 (21:31 +0000)]
update at-mio-16xe-50 status to STATUS_DONE
Frank Mori Hess [Thu, 28 Jul 2005 01:03:00 +0000 (01:03 +0000)]
first try at at-mio-16de-10 calibration
Bernd Porr [Tue, 7 Jun 2005 23:28:25 +0000 (23:28 +0000)]
Changed the path so that the .conf files are copied in
the doc directory. Otherwise they would have ended up
in /usr/share.
Bernd Porr [Tue, 7 Jun 2005 23:27:00 +0000 (23:27 +0000)]
Creates the proper so-version defined in configure.ac.
Bernd Porr [Tue, 7 Jun 2005 23:24:39 +0000 (23:24 +0000)]
Documentation now goes in usr/share/doc/libcomedi0. This path
is just the same path debian is using for its own files
like README.debian or changlog. Thus, all the docu is then
in the same place.
Bernd Porr [Tue, 7 Jun 2005 23:21:34 +0000 (23:21 +0000)]
Added variable for the documentation
Frank Mori Hess [Thu, 19 May 2005 23:14:50 +0000 (23:14 +0000)]
add mention of defaults for --range, --subdevice, --channel, and
--subdevice options
Frank Mori Hess [Tue, 17 May 2005 01:35:36 +0000 (01:35 +0000)]
add missing whitespace on description of --help option
Frank Mori Hess [Wed, 27 Apr 2005 00:03:03 +0000 (00:03 +0000)]
removed debian files from cvs
Frank Mori Hess [Mon, 25 Apr 2005 21:43:37 +0000 (21:43 +0000)]
return errors properly in comedi_mark_buffer_read() and
comedi_mark_buffer_written()
Frank Mori Hess [Mon, 25 Apr 2005 21:41:48 +0000 (21:41 +0000)]
fix for comedi_get_generic_timed() from Jan Gukelberger <g.u.g.i@gmx.de>
Frank Mori Hess [Mon, 11 Apr 2005 02:13:43 +0000 (02:13 +0000)]
update instructions for integrating new drivers
David Schleef [Thu, 7 Apr 2005 22:36:05 +0000 (22:36 +0000)]
Ugh, fix the soname problem
David Schleef [Thu, 7 Apr 2005 22:33:36 +0000 (22:33 +0000)]
Update from Comedi.
Frank Mori Hess [Tue, 22 Mar 2005 02:05:11 +0000 (02:05 +0000)]
sync with comedi
Frank Mori Hess [Sat, 19 Mar 2005 18:51:13 +0000 (18:51 +0000)]
add description of --init-data options
Frank Mori Hess [Sat, 19 Mar 2005 00:57:00 +0000 (00:57 +0000)]
cleanup file pointers with fclose()
Bernd Porr [Sat, 19 Mar 2005 00:42:05 +0000 (00:42 +0000)]
Fixed a segfault. The fopen command needs a string and not an integer
as flag. Every entry in the filename arrary is initally initialised
with "NULL".
Frank Mori Hess [Thu, 17 Mar 2005 17:28:19 +0000 (17:28 +0000)]
add support for multiple firmware files, and uploading firmware
on 64 bit arches
Frank Mori Hess [Thu, 17 Mar 2005 17:27:12 +0000 (17:27 +0000)]
sync with comedi
Frank Mori Hess [Wed, 16 Mar 2005 22:34:38 +0000 (22:34 +0000)]
added table for subdevice flags to comedi_get_subdevice_flags()
documentation
Frank Mori Hess [Wed, 16 Mar 2005 19:05:34 +0000 (19:05 +0000)]
use SDF_RUNNING flag to test for completion of ao command
Frank Mori Hess [Wed, 16 Mar 2005 19:04:59 +0000 (19:04 +0000)]
updated version of comedi_get_subdevice_flags() which is capable of
returning dynamic flags like SDF_RUNNING or SDF_BUSY
Frank Mori Hess [Sun, 13 Mar 2005 17:04:47 +0000 (17:04 +0000)]
info is board_info now
Frank Mori Hess [Sat, 12 Mar 2005 21:11:01 +0000 (21:11 +0000)]
fix name collision with automake 1.9
Frank Mori Hess [Sun, 6 Mar 2005 17:42:56 +0000 (17:42 +0000)]
added comedi_dio_get_config()
Frank Mori Hess [Sun, 6 Mar 2005 17:35:04 +0000 (17:35 +0000)]
sync with comedi
Frank Mori Hess [Sun, 27 Feb 2005 22:45:14 +0000 (22:45 +0000)]
patch from Ian Abbott <abbotti@mev.co.uk>:
I was running "comedi_test -v" on my new analog output driver and
noticed that it was getting stuck in a loop during the
"cmd_write_fast_1_chan" test.
It turned out that the test had written more data to the buffer than was
required to complete the acquisition (it was using cmd->stop_src =
TRIG_COUNT) and then got stuck in a loop waiting for the buffer to empty.
The attached patch stops the test_cmd_write_fast_1chan function writing
more data than is required to complete the acquisition.
Bernd Porr [Sun, 27 Feb 2005 20:40:38 +0000 (20:40 +0000)]
Conterpart to the change in comedi: have taken out the
bufferoverflow packet. It has messed everything up. Just
restarting the gpif is the best option. Without any additional
packets.
Bernd Porr [Sun, 27 Feb 2005 02:18:23 +0000 (02:18 +0000)]
Set the ring buffer length to 512kB for usbduxfast. This is needed
for graphical software like qtscope. Otherwise we get always buffer
overflows.