comedilib.git
18 years agoFixed problem with keeping track of whether a software calibration
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.

18 years agoParsing of calibration file with soft calibration information works now.
Frank Mori Hess [Tue, 22 Aug 2006 20:13:44 +0000 (20:13 +0000)]
Parsing of calibration file with soft calibration information works now.

18 years agoFirst pass at parsing additional calibration file elements which
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.

18 years agoApplied patch from David MacMahon <davidm -at- astro -dot- berkeley -dot- edu>.
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.

18 years agoUse comedi_perror to report error if comedi_open fails, and exit with exit
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.

18 years agoApplied patch from David MacMahon <davidm -at- astro -dot- berkeley -dot- edu>.
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.

18 years agoApplied (slightly modified) patch from David MacMahon
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.

18 years agoAdded AC_PROG_LIBTOOL, as suggested by the autotools.
Ian Abbott [Thu, 13 Jul 2006 12:33:58 +0000 (12:33 +0000)]
Added AC_PROG_LIBTOOL, as suggested by the autotools.

18 years agoPatch from abbotti@mev.co.uk (Ian Abbott):
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.

18 years agosynced with comedi
Frank Mori Hess [Tue, 2 May 2006 01:25:35 +0000 (01:25 +0000)]
synced with comedi

18 years agoRTSI documentation from terry1@beam.ltd.uk (Terry Barnaby)
Frank Mori Hess [Tue, 2 May 2006 01:21:46 +0000 (01:21 +0000)]
RTSI documentation from terry1@beam.ltd.uk (Terry Barnaby)

18 years agosync with comedi
Frank Mori Hess [Fri, 3 Mar 2006 01:00:50 +0000 (01:00 +0000)]
sync with comedi

18 years agoRemoved comedi_calibrate from subdirs, as it has been split into
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>.

18 years agoRemoved comedi_calibrate from comedilib, it is now in its own
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.

18 years agoMake sure fine caldacs are reset before attempting to recalibrate
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.

18 years agosynced with comedi
Frank Mori Hess [Sun, 8 Jan 2006 16:37:59 +0000 (16:37 +0000)]
synced with comedi

18 years agoAdded beginnings of support for m-series calibration. So far, it just
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.

18 years agoMade cmd demo work with SDF_LSAMPL subdevices.
Frank Mori Hess [Wed, 28 Dec 2005 17:11:35 +0000 (17:11 +0000)]
Made cmd demo work with SDF_LSAMPL subdevices.

19 years agoChange Kurt Müller's email address
David Schleef [Fri, 4 Nov 2005 01:21:42 +0000 (01:21 +0000)]
Change Kurt Müller's email address

19 years agonew results
Frank Mori Hess [Thu, 3 Nov 2005 01:24:38 +0000 (01:24 +0000)]
new results

19 years agoMC pci-das6014 calibration looks good.
Frank Mori Hess [Thu, 3 Nov 2005 01:21:38 +0000 (01:21 +0000)]
MC pci-das6014 calibration looks good.

19 years agosync comedi.h with comedi
Frank Mori Hess [Wed, 2 Nov 2005 00:18:27 +0000 (00:18 +0000)]
sync comedi.h with comedi

19 years agoAdded entry for MC pci-das6014
Frank Mori Hess [Wed, 2 Nov 2005 00:12:31 +0000 (00:12 +0000)]
Added entry for MC pci-das6014

19 years agoUpdate 6024e status to STATUS_DONE, and update results for same.
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.

19 years agoAdded outline of code for loading pci-6052 caldacs from eeprom
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).

19 years agoSet status of at-mio-16xe-50 back to STATUS_DONE, as it seems to be
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.

19 years agoundo recent changes for AT-MIO-16XE-50, which were unproductive.
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.

19 years agoupdate at-mio-16de-10 to STATUS_DONE
Frank Mori Hess [Thu, 25 Aug 2005 23:41:18 +0000 (23:41 +0000)]
update at-mio-16de-10 to STATUS_DONE

19 years agonew results
Frank Mori Hess [Thu, 25 Aug 2005 23:38:03 +0000 (23:38 +0000)]
new results

19 years agofix AT-MIO-16XE-50 calibration to take into account coarse postgain
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).

19 years agoAdded some diagnostics to try and figure out the 6052.
Frank Mori Hess [Mon, 22 Aug 2005 00:06:05 +0000 (00:06 +0000)]
Added some diagnostics to try and figure out the 6052.

19 years agoupdated results for at-mio-16xe-50
Frank Mori Hess [Sun, 14 Aug 2005 21:34:36 +0000 (21:34 +0000)]
updated results for at-mio-16xe-50

19 years agoupdate at-mio-16xe-50 status to STATUS_DONE
Frank Mori Hess [Sun, 14 Aug 2005 21:31:43 +0000 (21:31 +0000)]
update at-mio-16xe-50 status to STATUS_DONE

19 years agofirst try at at-mio-16de-10 calibration
Frank Mori Hess [Thu, 28 Jul 2005 01:03:00 +0000 (01:03 +0000)]
first try at at-mio-16de-10 calibration

19 years agoChanged the path so that the .conf files are copied in
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.

19 years agoCreates the proper so-version defined in configure.ac.
Bernd Porr [Tue, 7 Jun 2005 23:27:00 +0000 (23:27 +0000)]
Creates the proper so-version defined in configure.ac.

19 years agoDocumentation now goes in usr/share/doc/libcomedi0. This path
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.

19 years agoAdded variable for the documentation
Bernd Porr [Tue, 7 Jun 2005 23:21:34 +0000 (23:21 +0000)]
Added variable for the documentation

19 years agoadd mention of defaults for --range, --subdevice, --channel, and
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

19 years agoadd missing whitespace on description of --help option
Frank Mori Hess [Tue, 17 May 2005 01:35:36 +0000 (01:35 +0000)]
add missing whitespace on description of --help option

19 years agoremoved debian files from cvs
Frank Mori Hess [Wed, 27 Apr 2005 00:03:03 +0000 (00:03 +0000)]
removed debian files from cvs

19 years agoreturn errors properly in comedi_mark_buffer_read() and
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()

19 years agofix for comedi_get_generic_timed() from Jan Gukelberger <g.u.g.i@gmx.de>
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>

19 years agoupdate instructions for integrating new drivers
Frank Mori Hess [Mon, 11 Apr 2005 02:13:43 +0000 (02:13 +0000)]
update instructions for integrating new drivers

19 years agoUgh, fix the soname problem
David Schleef [Thu, 7 Apr 2005 22:36:05 +0000 (22:36 +0000)]
Ugh, fix the soname problem

19 years agoUpdate from Comedi.
David Schleef [Thu, 7 Apr 2005 22:33:36 +0000 (22:33 +0000)]
Update from Comedi.

19 years agosync with comedi
Frank Mori Hess [Tue, 22 Mar 2005 02:05:11 +0000 (02:05 +0000)]
sync with comedi

19 years agoadd description of --init-data options
Frank Mori Hess [Sat, 19 Mar 2005 18:51:13 +0000 (18:51 +0000)]
add description of --init-data options

19 years agocleanup file pointers with fclose()
Frank Mori Hess [Sat, 19 Mar 2005 00:57:00 +0000 (00:57 +0000)]
cleanup file pointers with fclose()

19 years agoFixed a segfault. The fopen command needs a string and not an integer
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".

19 years agoadd support for multiple firmware files, and uploading firmware
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

19 years agosync with comedi
Frank Mori Hess [Thu, 17 Mar 2005 17:27:12 +0000 (17:27 +0000)]
sync with comedi

19 years agoadded table for subdevice flags to comedi_get_subdevice_flags()
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

19 years agouse SDF_RUNNING flag to test for completion of ao command
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

19 years agoupdated version of comedi_get_subdevice_flags() which is capable of
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

19 years agoinfo is board_info now
Frank Mori Hess [Sun, 13 Mar 2005 17:04:47 +0000 (17:04 +0000)]
info is board_info now

19 years agofix name collision with automake 1.9
Frank Mori Hess [Sat, 12 Mar 2005 21:11:01 +0000 (21:11 +0000)]
fix name collision with automake 1.9

19 years agoadded comedi_dio_get_config()
Frank Mori Hess [Sun, 6 Mar 2005 17:42:56 +0000 (17:42 +0000)]
added comedi_dio_get_config()

19 years agosync with comedi
Frank Mori Hess [Sun, 6 Mar 2005 17:35:04 +0000 (17:35 +0000)]
sync with comedi

19 years agopatch from Ian Abbott <abbotti@mev.co.uk>:
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.

19 years agoConterpart to the change in comedi: have taken out the
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.

19 years agoSet the ring buffer length to 512kB for usbduxfast. This is needed
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.

19 years agoadded some error checks
Frank Mori Hess [Thu, 24 Feb 2005 20:46:56 +0000 (20:46 +0000)]
added some error checks

19 years agonew results
Frank Mori Hess [Tue, 22 Feb 2005 23:00:36 +0000 (23:00 +0000)]
new results

19 years agomc pci-das6024 calibration is good now.
Frank Mori Hess [Tue, 22 Feb 2005 23:00:13 +0000 (23:00 +0000)]
mc pci-das6024 calibration is good now.

19 years agocrank up delay for mc pci-das6034 still more.
Frank Mori Hess [Tue, 22 Feb 2005 13:00:07 +0000 (13:00 +0000)]
crank up delay for mc pci-das6034 still more.

19 years agotrying to fix calibration for meas. computing pci-das6034
Frank Mori Hess [Sun, 20 Feb 2005 22:06:00 +0000 (22:06 +0000)]
trying to fix calibration for meas. computing pci-das6034

19 years agonew results
Frank Mori Hess [Wed, 9 Feb 2005 23:20:51 +0000 (23:20 +0000)]
new results

19 years agocalibration for pci-das1000 works now
Frank Mori Hess [Wed, 9 Feb 2005 23:19:10 +0000 (23:19 +0000)]
calibration for pci-das1000 works now

19 years agoadd license header to scxi.c, and caleb as author
Frank Mori Hess [Sun, 6 Feb 2005 16:25:16 +0000 (16:25 +0000)]
add license header to scxi.c, and caleb as author

19 years agofix license headers, and prevent multiple includes of comedilib_scxi.h
Frank Mori Hess [Sun, 6 Feb 2005 16:22:41 +0000 (16:22 +0000)]
fix license headers, and prevent multiple includes of comedilib_scxi.h

19 years agopatch from beat.zahnd@phim.unibe.ch (Beat ZAHND), he says:
Frank Mori Hess [Sun, 6 Feb 2005 16:17:51 +0000 (16:17 +0000)]
patch from beat.zahnd@phim.unibe.ch (Beat ZAHND), he says:

I extendended the SCXI support for the 1122 module and moved the
scxi_boards structure to scxi.c

19 years agofix entries for pcm-das08
Frank Mori Hess [Thu, 3 Feb 2005 02:45:40 +0000 (02:45 +0000)]
fix entries for pcm-das08

19 years agommap works for output waveforms now.
Frank Mori Hess [Sun, 23 Jan 2005 03:11:30 +0000 (03:11 +0000)]
mmap works for output waveforms now.

19 years agomark initial buffer contents as written, remove some unused variables,
Frank Mori Hess [Sat, 22 Jan 2005 14:31:20 +0000 (14:31 +0000)]
mark initial buffer contents as written, remove some unused variables,
fixed buffer overrun

19 years agoadded memory mapped ao waveform demo (untested)
Frank Mori Hess [Mon, 17 Jan 2005 20:20:26 +0000 (20:20 +0000)]
added memory mapped ao waveform demo (untested)

19 years agoadded comedi_mark_buffer_written() (untested)
Frank Mori Hess [Mon, 10 Jan 2005 00:46:28 +0000 (00:46 +0000)]
added comedi_mark_buffer_written() (untested)

19 years agoTransfer mode for data is now bulk. If a buffer overflow occurrs
Bernd Porr [Tue, 4 Jan 2005 17:27:23 +0000 (17:27 +0000)]
Transfer mode for data is now bulk. If a buffer overflow occurrs
the next packet has two 0xff at the begining.

20 years agopatch from steven.jenkins@ieee.org (Steven Jenkins):
Frank Mori Hess [Sat, 4 Dec 2004 18:12:35 +0000 (18:12 +0000)]
patch from steven.jenkins@ieee.org (Steven Jenkins):

'setup.rb config' calls 'extconf.rb' in the ext directory to build the extension
Makefile. 'extconf.rb' looks for C source files in the directory when it runs,
so SWIG needs to run before 'setup.rb config'. The attached patch makes the
output of SWIG a prerequisite for ext/Makefile.

20 years agochange URL for RTLinux
David Schleef [Thu, 2 Dec 2004 07:59:00 +0000 (07:59 +0000)]
change URL for RTLinux

20 years agopatch from Steven Jenkins <steven.jenkins@ieee.org>:
Frank Mori Hess [Tue, 23 Nov 2004 01:18:14 +0000 (01:18 +0000)]
patch from Steven Jenkins <steven.jenkins@ieee.org>:

If configure attempts to build the Ruby extension on a system without a previous
installation of comedilib, compilation fails because gcc can't find comedilib.h.

The attached patch adds the distribution include directory to the gcc search
path when compiling the extension.

20 years agosync with comedi
Frank Mori Hess [Sat, 20 Nov 2004 16:56:09 +0000 (16:56 +0000)]
sync with comedi

20 years agoAdded path to the usbduxfast makefile
Bernd Porr [Tue, 2 Nov 2004 00:21:21 +0000 (00:21 +0000)]
Added path to the usbduxfast makefile

20 years agoAdded usbduxfast to the makefile.am
Bernd Porr [Tue, 2 Nov 2004 00:19:36 +0000 (00:19 +0000)]
Added usbduxfast to the makefile.am

20 years agousbduxfast hotplug scripts and firmware.
Bernd Porr [Tue, 2 Nov 2004 00:17:58 +0000 (00:17 +0000)]
usbduxfast hotplug scripts and firmware.

20 years agoFor usbduxfast. Initial commit.
Bernd Porr [Tue, 2 Nov 2004 00:15:47 +0000 (00:15 +0000)]
For usbduxfast. Initial commit.

20 years agochanged a parameter name
Frank Mori Hess [Sun, 17 Oct 2004 15:25:04 +0000 (15:25 +0000)]
changed a parameter name

20 years agodocbook is not a binding
Frank Mori Hess [Sun, 17 Oct 2004 15:24:24 +0000 (15:24 +0000)]
docbook is not a binding

20 years agonew scxi README from Caleb Tennis
Frank Mori Hess [Sun, 17 Oct 2004 15:22:06 +0000 (15:22 +0000)]
new scxi README from Caleb Tennis

20 years agomoved Changelog to ChangeLog and added entry for 0.7.22
Frank Mori Hess [Sun, 10 Oct 2004 17:03:58 +0000 (17:03 +0000)]
moved Changelog to ChangeLog and added entry for 0.7.22

20 years agofix handling of swig so it is run at compile time instead of when r0_7_22
Frank Mori Hess [Mon, 27 Sep 2004 03:27:43 +0000 (03:27 +0000)]
fix handling of swig so it is run at compile time instead of when
building tarball (due to possible dependence on swig library).

20 years agoAdded docbook disable.
Bernd Porr [Wed, 22 Sep 2004 22:54:04 +0000 (22:54 +0000)]
Added docbook disable.
If the binding is now disabled configure doesn't look for the program and is not complaining that the program is not there.

20 years agoadd eeprom address for reference voltage on at-mio-64e-3
Frank Mori Hess [Thu, 9 Sep 2004 21:43:16 +0000 (21:43 +0000)]
add eeprom address for reference voltage on at-mio-64e-3

20 years agoadd support for at-mio-64e-3
Frank Mori Hess [Tue, 31 Aug 2004 00:09:27 +0000 (00:09 +0000)]
add support for at-mio-64e-3

20 years agoChanged e-mail adress to berndporr@f2s.com
Bernd Porr [Wed, 18 Aug 2004 22:22:31 +0000 (22:22 +0000)]
Changed e-mail adress to berndporr@f2s.com

20 years agoNew constants for the new firmware. Access to revision control of the FX2.
Bernd Porr [Wed, 18 Aug 2004 22:21:42 +0000 (22:21 +0000)]
New constants for the new firmware. Access to revision control of the FX2.

20 years agoRemoved usbdux_firmware.lst because it's just the listing of the assembler which...
Bernd Porr [Wed, 18 Aug 2004 22:16:14 +0000 (22:16 +0000)]
Removed usbdux_firmware.lst because it's just the listing of the assembler which is not needed in the distro.

20 years agoMinor bug fixes.
Bernd Porr [Wed, 18 Aug 2004 22:12:38 +0000 (22:12 +0000)]
Minor bug fixes.

20 years agoadd "serial" to subdevice_types
Frank Mori Hess [Sat, 14 Aug 2004 20:33:46 +0000 (20:33 +0000)]
add "serial" to subdevice_types

20 years agobump version
David Schleef [Fri, 13 Aug 2004 03:58:06 +0000 (03:58 +0000)]
bump version