comedilib.git
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

20 years agoadd pkgconfig file
David Schleef [Fri, 13 Aug 2004 03:57:53 +0000 (03:57 +0000)]
add pkgconfig file

20 years agoAdd pkgconfig file. Add 'make dev' target.
David Schleef [Fri, 13 Aug 2004 03:52:41 +0000 (03:52 +0000)]
Add pkgconfig file.  Add 'make dev' target.

20 years agoupdate debian packaging
David Schleef [Wed, 11 Aug 2004 21:56:06 +0000 (21:56 +0000)]
update debian packaging

20 years agoFix distcheck
David Schleef [Wed, 11 Aug 2004 21:37:46 +0000 (21:37 +0000)]
Fix distcheck

20 years agoremoved an unneeded debug message
Frank Mori Hess [Mon, 2 Aug 2004 01:35:41 +0000 (01:35 +0000)]
removed an unneeded debug message

20 years agoadded some error messages, and update status of pcidas-1000
Frank Mori Hess [Mon, 2 Aug 2004 00:10:47 +0000 (00:10 +0000)]
added some error messages, and update status of pcidas-1000

20 years agofix check for presence of ao subdevice
Frank Mori Hess [Mon, 2 Aug 2004 00:09:51 +0000 (00:09 +0000)]
fix check for presence of ao subdevice

20 years agoupdated usbdux firmware from Bernd Porr:
Frank Mori Hess [Sun, 1 Aug 2004 22:24:01 +0000 (22:24 +0000)]
updated usbdux firmware from Bernd Porr:

Firmware now only measures as many channels as are in the channel list. If
there's only one channel in the list we can manage to measure within one
microframe. This makes it possible to measure with 8kHz max.
Added a counter. The counter is called every 2ms from an FX2 timer inerrupt. Low
priority so that measurements are not disturbed.
The bulk transfers are now two times faster (insn). Reading an A/D value or an
DIO takes now only 2ms or less. The trick is that the in endpoint is already
filled when the request is issued.
Fixed a bug in the FIFO resets.

Second counter did not count properly. That's fixed. Also
found two missing syncdelays.

20 years agoinsert usleep() in loop
Frank Mori Hess [Sun, 25 Jul 2004 00:39:39 +0000 (00:39 +0000)]
insert usleep() in loop

20 years agoupdate status of 6014
Frank Mori Hess [Sat, 24 Jul 2004 21:27:05 +0000 (21:27 +0000)]
update status of 6014

20 years agofix building of drivers.sgml and funcref.sgml when building out of
Frank Mori Hess [Sat, 24 Jul 2004 18:04:59 +0000 (18:04 +0000)]
fix building of drivers.sgml and funcref.sgml when building out of
tree

20 years agopatch for out-of-tree builds from Caleb Tennis
Frank Mori Hess [Sat, 24 Jul 2004 17:03:06 +0000 (17:03 +0000)]
patch for out-of-tree builds from Caleb Tennis

20 years agofix internal trigger when testing write command, and fix test when
Frank Mori Hess [Sat, 24 Jul 2004 16:09:01 +0000 (16:09 +0000)]
fix internal trigger when testing write command, and fix test when
write command uses stop_src==TRIG_NONE instead of TRIG_COUNT

20 years agofix test_segfault() so it works with 2.6 kernel signal handling behaviour
Frank Mori Hess [Sat, 24 Jul 2004 15:47:30 +0000 (15:47 +0000)]
fix test_segfault() so it works with 2.6 kernel signal handling behaviour

20 years agoadd entry for at-mio-64e-3
Frank Mori Hess [Wed, 14 Jul 2004 11:42:05 +0000 (11:42 +0000)]
add entry for at-mio-64e-3

20 years agonew results
Frank Mori Hess [Wed, 30 Jun 2004 00:28:27 +0000 (00:28 +0000)]
new results

20 years agoupdated pci-6034e to STATUS_DONE
Frank Mori Hess [Wed, 30 Jun 2004 00:25:23 +0000 (00:25 +0000)]
updated pci-6034e to STATUS_DONE

20 years agoadd support for pci-6034e
Frank Mori Hess [Tue, 29 Jun 2004 01:21:23 +0000 (01:21 +0000)]
add support for pci-6034e

20 years agouse setup.rb for clean-local and distclean-local
Frank Mori Hess [Sun, 20 Jun 2004 03:36:33 +0000 (03:36 +0000)]
use setup.rb for clean-local and distclean-local

20 years agomake distcheck works now with automake 1.8
Frank Mori Hess [Sun, 20 Jun 2004 02:37:18 +0000 (02:37 +0000)]
make distcheck works now with automake 1.8

20 years agofix strict aliasing warning
Frank Mori Hess [Sun, 20 Jun 2004 01:45:16 +0000 (01:45 +0000)]
fix strict aliasing warning

20 years agofix ruby prefix to work for distcheck
Frank Mori Hess [Sat, 19 Jun 2004 23:12:30 +0000 (23:12 +0000)]
fix ruby prefix to work for distcheck

20 years agofix for compiler warning about strict aliasing rules
Frank Mori Hess [Sat, 19 Jun 2004 19:55:26 +0000 (19:55 +0000)]
fix for compiler warning about strict aliasing rules

20 years agoadded some files to EXTRA_DIST that were left out of tarball
Frank Mori Hess [Sat, 19 Jun 2004 17:55:38 +0000 (17:55 +0000)]
added some files to EXTRA_DIST that were left out of tarball

20 years agofixes for srcdir != biulddir
Frank Mori Hess [Sat, 19 Jun 2004 15:25:30 +0000 (15:25 +0000)]
fixes for srcdir != biulddir

20 years agofix compiler warnings about strict aliasing
Frank Mori Hess [Sat, 19 Jun 2004 15:24:24 +0000 (15:24 +0000)]
fix compiler warnings about strict aliasing

20 years agofix compilation when builddir != srcdir
Frank Mori Hess [Sat, 19 Jun 2004 15:06:00 +0000 (15:06 +0000)]
fix compilation when builddir != srcdir

20 years agodistcheck fixes
David Schleef [Sat, 12 Jun 2004 20:56:06 +0000 (20:56 +0000)]
distcheck fixes

20 years agofix eeprom address for 6713
Frank Mori Hess [Thu, 10 Jun 2004 12:01:59 +0000 (12:01 +0000)]
fix eeprom address for 6713

20 years agoadd warning to 6711 calibration if driver version might be too old
Frank Mori Hess [Wed, 9 Jun 2004 23:08:26 +0000 (23:08 +0000)]
add warning to 6711 calibration if driver version might be too old

20 years ago6713 is completely failing
Frank Mori Hess [Wed, 9 Jun 2004 23:01:35 +0000 (23:01 +0000)]
6713 is completely failing

20 years agoupdated status of 6713
Frank Mori Hess [Tue, 8 Jun 2004 00:20:22 +0000 (00:20 +0000)]
updated status of 6713

20 years agonew results
Frank Mori Hess [Sat, 5 Jun 2004 16:29:38 +0000 (16:29 +0000)]
new results

20 years agoactually, status for 6713 should still be STATUS_GUESS
Frank Mori Hess [Sat, 5 Jun 2004 16:25:17 +0000 (16:25 +0000)]
actually, status for 6713 should still be STATUS_GUESS

20 years agoupdate pci-6713 status and add eeprom address of reference voltage
Frank Mori Hess [Sat, 5 Jun 2004 16:21:59 +0000 (16:21 +0000)]
update pci-6713 status and add eeprom address of reference voltage

20 years ago6014 seems to have ao fine offset caldacs, instead of linearity
Frank Mori Hess [Tue, 1 Jun 2004 01:37:56 +0000 (01:37 +0000)]
6014 seems to have ao fine offset caldacs, instead of linearity

20 years agoupdate daqcard-6036e status to STATUS_DONE
Frank Mori Hess [Tue, 1 Jun 2004 01:26:35 +0000 (01:26 +0000)]
update daqcard-6036e status to STATUS_DONE

20 years agonew results
Frank Mori Hess [Tue, 1 Jun 2004 01:26:09 +0000 (01:26 +0000)]
new results

20 years agopci-6014 support
Frank Mori Hess [Tue, 25 May 2004 00:15:34 +0000 (00:15 +0000)]
pci-6014 support

20 years agoadded stub for pci-6014
Frank Mori Hess [Sat, 22 May 2004 01:08:48 +0000 (01:08 +0000)]
added stub for pci-6014

20 years agofixes for DAQCard-6036E
Frank Mori Hess [Thu, 20 May 2004 21:53:38 +0000 (21:53 +0000)]
fixes for DAQCard-6036E

20 years agonew results
Frank Mori Hess [Thu, 13 May 2004 02:15:48 +0000 (02:15 +0000)]
new results

20 years agoupdate status of at-mio-16e-10
Frank Mori Hess [Thu, 13 May 2004 02:14:05 +0000 (02:14 +0000)]
update status of at-mio-16e-10

20 years agofilling in missing caldacs for at-mio-16e-10
Frank Mori Hess [Wed, 12 May 2004 01:08:49 +0000 (01:08 +0000)]
filling in missing caldacs for at-mio-16e-10

20 years agofixes for at-mio-16e-10
Frank Mori Hess [Sun, 9 May 2004 21:57:56 +0000 (21:57 +0000)]
fixes for at-mio-16e-10

20 years agonew calibration output
Frank Mori Hess [Sun, 11 Apr 2004 17:29:53 +0000 (17:29 +0000)]
new calibration output

20 years agoadd support for ao linearity calibration on at-mio-16e-1 and
Frank Mori Hess [Sun, 4 Apr 2004 02:22:44 +0000 (02:22 +0000)]
add support for ao linearity calibration on at-mio-16e-1 and
at-mio-16e-2

20 years agoscxi convenience library patch from caleb tennis:
Frank Mori Hess [Mon, 29 Mar 2004 02:19:38 +0000 (02:19 +0000)]
scxi convenience library patch from caleb tennis:

This latest patch changes the interface to three functions:

 comedi_scxi_open
 comedi_scxi_close
 comedi_scxi_readwrite

  With these three functions one can properly interface to all SCXI devices.  If
  you like the latest patch (3/23/04 07:14), please apply and close this bug.

   Next up will be adding some generic analog and digital IO functions.

20 years agousbdux update from bernd porr:
Frank Mori Hess [Mon, 29 Mar 2004 01:43:27 +0000 (01:43 +0000)]
usbdux update from bernd porr:
The new hotplug script uses comedi/usbdux.c for firmware upload and not fxload
any more. fxload is too unreliable and seems to be missing or different among
different distros. All users of usbdux boards report problems which are fxload
related. The new hotplug script simply uses comedi_config -i firmware.hex. This
fix also removes problems with the usbdevfs (race in 2.6, sleep, ...). The
usbdevfs is no longer needed.

20 years agoupdate to ruby binding from steven jenkins:
Frank Mori Hess [Mon, 29 Mar 2004 01:39:36 +0000 (01:39 +0000)]
update to ruby binding from steven jenkins:

Better exception handling. More consistent handling of return values. Updated
documentation.

20 years agoadded daqcard 6036e support
Frank Mori Hess [Mon, 29 Mar 2004 01:34:15 +0000 (01:34 +0000)]
added daqcard 6036e support

20 years agonew calibration results
Frank Mori Hess [Wed, 24 Mar 2004 21:26:02 +0000 (21:26 +0000)]
new calibration results

20 years agoni pci-6711 calibration works now
Frank Mori Hess [Thu, 11 Mar 2004 23:29:58 +0000 (23:29 +0000)]
ni pci-6711 calibration works now

20 years agodowngrade status of 67xx boards to STATUS_UNKNOWN, since they don't
Frank Mori Hess [Sun, 7 Mar 2004 22:21:10 +0000 (22:21 +0000)]
downgrade status of 67xx boards to STATUS_UNKNOWN, since they don't
work