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

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

19 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.

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

19 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

19 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

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

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

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

19 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

19 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

19 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

19 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).

19 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.

19 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

19 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

19 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

19 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.

19 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.

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

19 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

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

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

19 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.

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

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

19 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

19 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

19 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

19 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.

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

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

19 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

19 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

19 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

19 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

19 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

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

19 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

19 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

19 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

19 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

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

19 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

19 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

19 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

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

19 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

19 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

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

19 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

19 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

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

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

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

19 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

19 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

19 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

19 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

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

19 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

20 years agopatch from Steven Jenkins -------
Frank Mori Hess [Sat, 6 Mar 2004 22:13:37 +0000 (22:13 +0000)]
patch from Steven Jenkins  -------

The attached patch updates files in comedilib/swig/ruby. lib/comedi.rb is
updated to raise Ruby exceptions as indicated by the comedilib API
documentation. README and demo/cmd are updated accordingly.

20 years agofix equality test
Frank Mori Hess [Wed, 3 Mar 2004 03:14:03 +0000 (03:14 +0000)]
fix equality test

20 years agobeginnings of scxi convenience library from Caleb Tennis
Frank Mori Hess [Sun, 29 Feb 2004 16:52:17 +0000 (16:52 +0000)]
beginnings of scxi convenience library from Caleb Tennis

20 years agoadd serial dio subdevice type
Frank Mori Hess [Sun, 29 Feb 2004 16:49:29 +0000 (16:49 +0000)]
add serial dio subdevice type

20 years agoguess reference eeprom address again
Frank Mori Hess [Tue, 24 Feb 2004 13:09:26 +0000 (13:09 +0000)]
guess reference eeprom address again

20 years agonew results
Frank Mori Hess [Tue, 24 Feb 2004 01:20:06 +0000 (01:20 +0000)]
new results

20 years agofix eeprom address for voltage reference on 6033e
Frank Mori Hess [Tue, 24 Feb 2004 01:16:25 +0000 (01:16 +0000)]
fix eeprom address for voltage reference on 6033e

20 years agomake sure ground isn't out of range during unipolar gain calibration
Frank Mori Hess [Sat, 21 Feb 2004 14:34:08 +0000 (14:34 +0000)]
make sure ground isn't out of range during  unipolar gain calibration
for 6033e

20 years agosync with comedi
Frank Mori Hess [Wed, 18 Feb 2004 00:14:30 +0000 (00:14 +0000)]
sync with comedi

20 years agoenabling support for pci-6033e
Frank Mori Hess [Mon, 16 Feb 2004 14:30:45 +0000 (14:30 +0000)]
enabling support for pci-6033e

20 years agoUpdate from Bernd Porr. Sleeps only if the file is not there.
Frank Mori Hess [Mon, 16 Feb 2004 14:02:19 +0000 (14:02 +0000)]
Update from Bernd Porr. Sleeps only if the file is not there.

20 years agoadd support for 67xx boards. Doesn't work yet, due to unknown reference
Frank Mori Hess [Sun, 15 Feb 2004 22:24:57 +0000 (22:24 +0000)]
add support for 67xx boards.  Doesn't work yet, due to unknown reference
of internal calibration adc.  On my board, it's input seems to be about
2% off from +-10V.

20 years agousbdux firmware update from Bernd Porr:
Frank Mori Hess [Sat, 7 Feb 2004 22:20:16 +0000 (22:20 +0000)]
usbdux firmware update from Bernd Porr:
Bugfix version of the firmware. When running ./cmd and ./ao_waveform at the same
time I got CRC errors on the USB. Reason: some registers in the FX2 need a
syncdelay. After a write to a register no other write is allowed to any other
register for a certain time. This is called "Syncdelay". Introduced syncdelays
for all EP registers. Now the CRC errors are gone.
Another bugfix: the byte for the CPUCS register was wrong (shifted one bit to
the left). This resulted in undefined processor speed. The speed was chosen just
by chance at power up (12Mhz,24Mhz,48Mhz).

20 years agopatch form Bernd Porr:
Frank Mori Hess [Sat, 7 Feb 2004 21:42:49 +0000 (21:42 +0000)]
patch form Bernd Porr:
added a "sleep 1" just before fxload to eliminate race condition betwwen hotplug and usbdevfs in the preemptive 2.6 kernel

20 years agosync with comedi
Frank Mori Hess [Sat, 31 Jan 2004 22:19:47 +0000 (22:19 +0000)]
sync with comedi

20 years agoupdate for usbdux driver form Bernd Porr who says:
Frank Mori Hess [Sat, 31 Jan 2004 21:57:02 +0000 (21:57 +0000)]
update for usbdux driver form Bernd Porr who says:

Had to change the USB 2.0 transfer protocol from IRQ transfer to ISO transfer.
Reason: IRQ transfer is still not stable (2.4/2.6). However, ISO transfer has
been rewritten in the kernel and works (just now in 2.6 but will be backported
sooner or later)!
I supply new firmware and a new version of the driver which now uses ISO
transfer throughout (1.1 / 2.0).

20 years agoadded description of comedi_command_test() return values
Frank Mori Hess [Sun, 18 Jan 2004 21:35:50 +0000 (21:35 +0000)]
added description of comedi_command_test() return values

20 years agofixed typo
Frank Mori Hess [Sun, 18 Jan 2004 21:35:19 +0000 (21:35 +0000)]
fixed typo

20 years agodon't make comedi_command arg INOUT
Frank Mori Hess [Sun, 18 Jan 2004 20:26:47 +0000 (20:26 +0000)]
don't make comedi_command arg INOUT

20 years agofix check for ruby.h
Frank Mori Hess [Sat, 17 Jan 2004 20:23:07 +0000 (20:23 +0000)]
fix check for ruby.h

20 years agoadd check for ruby header
Frank Mori Hess [Sat, 17 Jan 2004 20:12:17 +0000 (20:12 +0000)]
add check for ruby header

20 years agoadded configure options for disabling python and ruby bindings
Frank Mori Hess [Sat, 17 Jan 2004 19:39:54 +0000 (19:39 +0000)]
added configure options for disabling python and ruby bindings

20 years agoclean up object files
Frank Mori Hess [Sat, 17 Jan 2004 19:18:08 +0000 (19:18 +0000)]
clean up object files

20 years agoupdate README to reflect automake support for compilation/installation
Frank Mori Hess [Sat, 17 Jan 2004 19:17:42 +0000 (19:17 +0000)]
update README to reflect automake support for compilation/installation