comedilib.git
21 years agogot rid of unneccessary yyrestart()
Frank Mori Hess [Wed, 5 Mar 2003 00:46:36 +0000 (00:46 +0000)]
got rid of unneccessary yyrestart()

21 years agoremoved libperl dependency by switching to bison/flex to parse calibration
Frank Mori Hess [Wed, 5 Mar 2003 00:30:00 +0000 (00:30 +0000)]
removed libperl dependency by switching to bison/flex to parse calibration
file.

21 years agoChanged comedi_set_calibration() to comedi_apply_calibration(), and
Frank Mori Hess [Tue, 4 Mar 2003 00:41:10 +0000 (00:41 +0000)]
Changed comedi_set_calibration() to comedi_apply_calibration(), and
made it much faster, it takes <100msec to run instead of >1sec.
It requires linking to libperl now (hope that's
okay).  Renamed DEBUG() and _() in libinternal.h to COMEDILIB_DEBUG()
and GETTEXT() in order to avoid conflicts with perl headers.

21 years agoadded descriptions of some options, --save-file in particular
Frank Mori Hess [Sat, 1 Mar 2003 03:30:59 +0000 (03:30 +0000)]
added descriptions of some options, --save-file in particular

21 years agoadded documentation for comedi_set_calibration()
Frank Mori Hess [Sat, 1 Mar 2003 01:52:32 +0000 (01:52 +0000)]
added documentation for comedi_set_calibration()

21 years agocatch errors from find_calibration()
Frank Mori Hess [Sat, 1 Mar 2003 01:03:39 +0000 (01:03 +0000)]
catch errors from find_calibration()

21 years agofixed missing dollar signs, and "subdev" should have been "subdevices"
Frank Mori Hess [Fri, 28 Feb 2003 22:40:52 +0000 (22:40 +0000)]
fixed missing dollar signs, and "subdev" should have been "subdevices"

21 years agofinished implementing comedi_set_calibration() (for real this time),
Frank Mori Hess [Fri, 28 Feb 2003 20:51:04 +0000 (20:51 +0000)]
finished implementing comedi_set_calibration() (for real this time),
untested

21 years agofixed finding calibration based on subdevice. Ignore previous log
Frank Mori Hess [Wed, 26 Feb 2003 19:36:56 +0000 (19:36 +0000)]
fixed finding calibration based on subdevice.  Ignore previous log
message about finishing implementation of comedi_set_calibration(), as
it's only half done.

21 years agoadded subdevice to calibration file
Frank Mori Hess [Wed, 26 Feb 2003 19:31:56 +0000 (19:31 +0000)]
added subdevice to calibration file

21 years agofinished implementing comedi_set_calibration() (untested)
Frank Mori Hess [Wed, 26 Feb 2003 19:19:57 +0000 (19:19 +0000)]
finished implementing comedi_set_calibration() (untested)

21 years agofixed use of short option 's', got rid of semicolon at end of file,
Frank Mori Hess [Wed, 26 Feb 2003 17:58:53 +0000 (17:58 +0000)]
fixed use of short option 's', got rid of semicolon at end of file,
only mess with /etc/comedi/calibrations directory if we are using
default save file location

21 years agobeginnings of comedi_set_calibration()
Frank Mori Hess [Mon, 24 Feb 2003 22:30:43 +0000 (22:30 +0000)]
beginnings of comedi_set_calibration()

21 years agoadded command line option for specifiying name of file you want to write
Frank Mori Hess [Mon, 24 Feb 2003 19:20:12 +0000 (19:20 +0000)]
added command line option for specifiying name of file you want to write
calibration to

21 years agofixed setting of __comedi_errno after ioctl
Frank Mori Hess [Sun, 16 Feb 2003 16:45:13 +0000 (16:45 +0000)]
fixed setting of __comedi_errno after ioctl

21 years agoall analog input ranges are now calibrated for meas computing pci-das60xx
Frank Mori Hess [Wed, 5 Feb 2003 23:04:14 +0000 (23:04 +0000)]
all analog input ranges are now calibrated for meas computing pci-das60xx

21 years agoadded a couple convenience functions
Frank Mori Hess [Wed, 5 Feb 2003 19:04:53 +0000 (19:04 +0000)]
added a couple convenience functions

21 years agoupdated reference to old lineo cvs server
Frank Mori Hess [Wed, 5 Feb 2003 15:05:31 +0000 (15:05 +0000)]
updated reference to old lineo cvs server

21 years agowant to use ino_t to identify comedi device file instead of dev_t, which
Frank Mori Hess [Wed, 5 Feb 2003 04:18:29 +0000 (04:18 +0000)]
want to use ino_t to identify comedi device file instead of dev_t, which
always contains major/minor number of hard drive

21 years agoremoved some dead code
Frank Mori Hess [Tue, 4 Feb 2003 19:45:45 +0000 (19:45 +0000)]
removed some dead code

21 years agowriting calibrations to a file should be useable now
Frank Mori Hess [Tue, 4 Feb 2003 18:21:07 +0000 (18:21 +0000)]
writing calibrations to a file should be useable now

21 years agoinitial support for writing a set of calibrations to a text file
Frank Mori Hess [Sun, 2 Feb 2003 01:56:05 +0000 (01:56 +0000)]
initial support for writing a set of calibrations to a text file

21 years agoadded linefeed
Frank Mori Hess [Thu, 9 Jan 2003 17:53:46 +0000 (17:53 +0000)]
added linefeed

21 years agobetter error message when reading calibration voltages from eeprom
Frank Mori Hess [Wed, 1 Jan 2003 23:22:08 +0000 (23:22 +0000)]
better error message when reading calibration voltages from eeprom

21 years agoinclude string.h for memset()
Frank Mori Hess [Wed, 1 Jan 2003 23:08:07 +0000 (23:08 +0000)]
include string.h for memset()

21 years agofixing includes for exit(), memset() for gcc 2.96 compiler warnings
Frank Mori Hess [Wed, 1 Jan 2003 23:07:02 +0000 (23:07 +0000)]
fixing includes for exit(), memset() for gcc 2.96 compiler warnings

21 years agoignoring error so make install works when docs not built
Frank Mori Hess [Wed, 1 Jan 2003 23:05:48 +0000 (23:05 +0000)]
ignoring error so make install works when docs not built

21 years agoanalog output calibration for cb_pcidas boards, plus reading of calibration
Frank Mori Hess [Wed, 1 Jan 2003 22:47:07 +0000 (22:47 +0000)]
analog output calibration for cb_pcidas boards, plus reading of calibration
voltages from eeprom.

21 years agoinactive support for reading calibration voltage from eeprom on 611x
Frank Mori Hess [Wed, 1 Jan 2003 22:46:35 +0000 (22:46 +0000)]
inactive support for reading calibration voltage from eeprom on 611x
(not sure if ni_get_reference() is correct)

21 years agoupdate status of pci-das1200
Frank Mori Hess [Tue, 31 Dec 2002 02:15:31 +0000 (02:15 +0000)]
update status of pci-das1200

21 years agofix compiler warning
Frank Mori Hess [Tue, 31 Dec 2002 01:13:13 +0000 (01:13 +0000)]
fix compiler warning

21 years agoadded cb_pcidas driver
Frank Mori Hess [Tue, 31 Dec 2002 01:09:03 +0000 (01:09 +0000)]
added cb_pcidas driver

22 years agonew dev_info names for pcm-das08 and daqcard-1200 so pcmcia script runs
Frank Mori Hess [Wed, 11 Dec 2002 02:38:01 +0000 (02:38 +0000)]
new dev_info names for pcm-das08 and daqcard-1200 so pcmcia script runs
comedi_config correctly

22 years agoadded some comments about how internal voltage reference appears when
Frank Mori Hess [Fri, 29 Nov 2002 22:02:35 +0000 (22:02 +0000)]
added some comments about how internal voltage reference appears when
using +-50V or +-20V input ranges

22 years agoadded ability to adjust settling time used by new_sv_measure(), since 611x
Frank Mori Hess [Fri, 29 Nov 2002 21:54:01 +0000 (21:54 +0000)]
added ability to adjust settling time used by new_sv_measure(), since 611x
needs more than standard 99usec settle.

22 years ago611x calibration works now
Frank Mori Hess [Fri, 29 Nov 2002 21:29:04 +0000 (21:29 +0000)]
611x calibration works now

22 years agofixed comedi_nanosleep(), which did nothing before
Frank Mori Hess [Fri, 29 Nov 2002 21:27:40 +0000 (21:27 +0000)]
fixed comedi_nanosleep(), which did nothing before

22 years agoadded error check for mmap() call
Frank Mori Hess [Tue, 26 Nov 2002 20:06:22 +0000 (20:06 +0000)]
added error check for mmap() call

22 years agorearranged order of 611x observables to deal with only having 2 ai channels on 6111
Frank Mori Hess [Mon, 25 Nov 2002 21:05:13 +0000 (21:05 +0000)]
rearranged order of 611x observables to deal with only having 2 ai channels on 6111

22 years agoI think we finally have 611x calibration right
Frank Mori Hess [Mon, 25 Nov 2002 20:56:34 +0000 (20:56 +0000)]
I think we finally have 611x calibration right

22 years agocorrecting ao caldac channels after fixing caldac type in driver
Frank Mori Hess [Sun, 24 Nov 2002 15:41:11 +0000 (15:41 +0000)]
correcting ao caldac channels after fixing caldac type in driver

22 years ago611x documentation was wrong, calibration sources do not correspond
Frank Mori Hess [Sun, 24 Nov 2002 15:16:49 +0000 (15:16 +0000)]
611x documentation was wrong, calibration sources do not correspond
to those from other boards.  Guessing at index for 5V positive 0V negative
calibration source.

22 years agochanged printing of "offset , target" to "reading , target" since
Frank Mori Hess [Sun, 24 Nov 2002 15:15:05 +0000 (15:15 +0000)]
changed printing of "offset , target" to "reading , target" since
the value it was printing was the actual voltage reading and not an
offset from the target value

22 years ago611x calibration doesn't like 5v-0v reference for gain calibration, wants 5v-5v reference
Frank Mori Hess [Sat, 23 Nov 2002 21:34:40 +0000 (21:34 +0000)]
611x calibration doesn't like 5v-0v reference for gain calibration, wants 5v-5v reference

22 years agofix calibration channels for 611x analog output
Frank Mori Hess [Sat, 23 Nov 2002 21:09:27 +0000 (21:09 +0000)]
fix calibration channels for 611x analog output

22 years agofixed 611x names to match ni_pcimio driver
Frank Mori Hess [Sat, 23 Nov 2002 18:15:45 +0000 (18:15 +0000)]
fixed 611x names to match ni_pcimio driver

22 years agoadded CR_ALT_SOURCE and CR_ALT_FILTER to observe_insn.chanspec's, needed
Frank Mori Hess [Sat, 23 Nov 2002 18:13:17 +0000 (18:13 +0000)]
added CR_ALT_SOURCE and CR_ALT_FILTER to observe_insn.chanspec's, needed
by 611x, and should be harmless to other boards

22 years agoincreased BUF_LEN, so demo works better with ni boards
Frank Mori Hess [Fri, 22 Nov 2002 21:45:05 +0000 (21:45 +0000)]
increased BUF_LEN, so demo works better with ni boards

22 years agoupdate from comedi
David Schleef [Fri, 22 Nov 2002 07:17:15 +0000 (07:17 +0000)]
update from comedi

22 years agoFix for cases where the command doesn't allow source choices
David Schleef [Fri, 22 Nov 2002 07:15:09 +0000 (07:15 +0000)]
Fix for cases where the command doesn't allow source choices

22 years agofix mmap testing
David Schleef [Fri, 22 Nov 2002 06:48:39 +0000 (06:48 +0000)]
fix mmap testing

22 years agochanged & to %, before it seemed to assume the buffer size was a power of
Frank Mori Hess [Wed, 20 Nov 2002 00:43:19 +0000 (00:43 +0000)]
changed & to %, before it seemed to assume the buffer size was a power of
2

22 years agoadded documentation for comedi_data_read_delayed() and comedi_data_read_hint()
Frank Mori Hess [Mon, 18 Nov 2002 23:49:57 +0000 (23:49 +0000)]
added documentation for comedi_data_read_delayed() and comedi_data_read_hint()
because I'm sick of anwering questions about why comedi_data_read() returns
inaccurate values.

22 years ago611x calibration support. More conversion to new CONFIG_ALT_SOURCE usage
Frank Mori Hess [Mon, 18 Nov 2002 17:05:14 +0000 (17:05 +0000)]
611x calibration support.  More conversion to new CONFIG_ALT_SOURCE usage
(backward compatibility with AREF_OTHER should still work )

22 years agoupdating status of 6023
Frank Mori Hess [Tue, 12 Nov 2002 18:36:26 +0000 (18:36 +0000)]
updating status of 6023

22 years agoFixes, add cb_das16_cs
David Schleef [Tue, 5 Nov 2002 05:21:52 +0000 (05:21 +0000)]
Fixes, add cb_das16_cs

22 years agoinstall de LC_MESSAGES
David Schleef [Wed, 25 Sep 2002 01:19:18 +0000 (01:19 +0000)]
install de LC_MESSAGES

22 years agolksjdf
David Schleef [Wed, 25 Sep 2002 01:17:17 +0000 (01:17 +0000)]
lksjdf

22 years agoFix i18n
David Schleef [Wed, 25 Sep 2002 01:16:02 +0000 (01:16 +0000)]
Fix i18n

22 years agoremove some stuff that is in the lib now
David Schleef [Wed, 25 Sep 2002 01:12:16 +0000 (01:12 +0000)]
remove some stuff that is in the lib now

22 years agoadd some error checking
David Schleef [Wed, 25 Sep 2002 01:11:47 +0000 (01:11 +0000)]
add some error checking

22 years agofix typo on comedi_open
David Schleef [Wed, 25 Sep 2002 01:08:16 +0000 (01:08 +0000)]
fix typo on comedi_open

22 years agoLast log is bogus. Should be: disable AO0 on 6071e, since it
David Schleef [Wed, 25 Sep 2002 01:04:41 +0000 (01:04 +0000)]
Last log is bogus.  Should be: disable AO0 on 6071e, since it
doesn't work correctly.

22 years agoAdded help() and --help flag
David Schleef [Wed, 25 Sep 2002 01:02:57 +0000 (01:02 +0000)]
Added help() and --help flag

22 years agoAdd help() and --help flag
David Schleef [Wed, 25 Sep 2002 01:02:08 +0000 (01:02 +0000)]
Add help() and --help flag

22 years agoresults
David Schleef [Mon, 9 Sep 2002 22:16:10 +0000 (22:16 +0000)]
results

22 years agoDAQCard-16e-4 is done
David Schleef [Mon, 9 Sep 2002 22:15:56 +0000 (22:15 +0000)]
DAQCard-16e-4 is done

22 years agoFixes for 6023.
David Schleef [Thu, 29 Aug 2002 23:35:37 +0000 (23:35 +0000)]
Fixes for 6023.

22 years agoDAQCard-AI-16e-4, pci-6023e improvments
David Schleef [Wed, 28 Aug 2002 20:07:27 +0000 (20:07 +0000)]
DAQCard-AI-16e-4, pci-6023e improvments

22 years agochange 6032e to DONE
David Schleef [Tue, 20 Aug 2002 00:09:00 +0000 (00:09 +0000)]
change 6032e to DONE

22 years agoAdded 6032e
David Schleef [Mon, 19 Aug 2002 23:11:33 +0000 (23:11 +0000)]
Added 6032e

22 years agoFix mistake getting buffer head position
David Schleef [Tue, 6 Aug 2002 19:39:31 +0000 (19:39 +0000)]
Fix mistake getting buffer head position

22 years agoversion bump
David Schleef [Wed, 24 Jul 2002 01:52:43 +0000 (01:52 +0000)]
version bump

22 years agoadded a couple paragraphs for people who don't know what anti-alias filters
Frank Mori Hess [Mon, 22 Jul 2002 20:45:24 +0000 (20:45 +0000)]
added a couple paragraphs for people who don't know what anti-alias filters
are.

22 years agocopy from Comedi r0_7_19
David Schleef [Thu, 4 Jul 2002 03:30:39 +0000 (03:30 +0000)]
copy from Comedi

22 years agorearrangement
David Schleef [Thu, 4 Jul 2002 03:29:41 +0000 (03:29 +0000)]
rearrangement

22 years agosync with comedi
Frank Mori Hess [Mon, 1 Jul 2002 04:01:53 +0000 (04:01 +0000)]
sync with comedi

22 years agoadded support for cb_pcidas.c boards
Frank Mori Hess [Sun, 23 Jun 2002 23:31:08 +0000 (23:31 +0000)]
added support for cb_pcidas.c boards

22 years agoadded computer boards pci-das6023
Frank Mori Hess [Thu, 20 Jun 2002 23:54:12 +0000 (23:54 +0000)]
added computer boards pci-das6023

22 years agonew test results
Frank Mori Hess [Sat, 15 Jun 2002 21:25:52 +0000 (21:25 +0000)]
new test results

22 years agoFix up some versioning mistakes
David Schleef [Thu, 13 Jun 2002 00:00:03 +0000 (00:00 +0000)]
Fix up some versioning mistakes

22 years agoAdd cal_postgain_binary() and use it for 6052e and pci-mio-16e-4
David Schleef [Wed, 12 Jun 2002 23:19:39 +0000 (23:19 +0000)]
Add cal_postgain_binary() and use it for 6052e and pci-mio-16e-4

22 years agonotes about the new calibration functions
David Schleef [Wed, 12 Jun 2002 22:44:44 +0000 (22:44 +0000)]
notes about the new calibration functions

22 years agoAdd binary search calibration function.
David Schleef [Wed, 12 Jun 2002 21:49:22 +0000 (21:49 +0000)]
Add binary search calibration function.

22 years agoAdd symbol versioning. Versions need to be checked with 0.7.18
David Schleef [Wed, 12 Jun 2002 02:02:05 +0000 (02:02 +0000)]
Add symbol versioning.  Versions need to be checked with 0.7.18
release.

22 years agoremove rm of non-autogenerated files
David Schleef [Wed, 12 Jun 2002 02:01:03 +0000 (02:01 +0000)]
remove rm of non-autogenerated files

22 years agoFix shlibdeps to get the built library
David Schleef [Wed, 12 Jun 2002 02:00:37 +0000 (02:00 +0000)]
Fix shlibdeps to get the built library

22 years ago*** empty log message ***
David Schleef [Fri, 7 Jun 2002 17:55:43 +0000 (17:55 +0000)]
*** empty log message ***

22 years agoUpdate for 6024e
David Schleef [Fri, 7 Jun 2002 17:54:27 +0000 (17:54 +0000)]
Update for 6024e

22 years ago*** empty log message ***
David Schleef [Fri, 7 Jun 2002 00:18:48 +0000 (00:18 +0000)]
*** empty log message ***

22 years agoMore questions
David Schleef [Fri, 7 Jun 2002 00:17:35 +0000 (00:17 +0000)]
More questions

22 years agoHandles range,maxdata information correctly. Internal triggering works.
David Schleef [Fri, 7 Jun 2002 00:16:42 +0000 (00:16 +0000)]
Handles range,maxdata information correctly.  Internal triggering works.

22 years agodisable CR_ALT_SOURCE until there's a check for Comedi support
David Schleef [Thu, 6 Jun 2002 01:21:10 +0000 (01:21 +0000)]
disable CR_ALT_SOURCE until there's a check for Comedi support

22 years agotest reading 0 samples
David Schleef [Thu, 6 Jun 2002 00:38:54 +0000 (00:38 +0000)]
test reading 0 samples

22 years ago*** empty log message ***
David Schleef [Thu, 6 Jun 2002 00:28:52 +0000 (00:28 +0000)]
*** empty log message ***

22 years agofinish 6035e, fix 16e-4 after change to debug caldac
David Schleef [Thu, 6 Jun 2002 00:27:14 +0000 (00:27 +0000)]
finish 6035e, fix 16e-4 after change to debug caldac

22 years agoupdates for 6035e
David Schleef [Wed, 22 May 2002 22:53:01 +0000 (22:53 +0000)]
updates for 6035e

22 years agofix INTTRIG insn
Frank Mori Hess [Wed, 22 May 2002 16:44:42 +0000 (16:44 +0000)]
fix INTTRIG insn

22 years agoadded initial support for calibrating 64xx series cards. Added support
Frank Mori Hess [Mon, 20 May 2002 02:23:38 +0000 (02:23 +0000)]
added initial support for calibrating 64xx series cards.  Added support
for reading calibration source voltages from eeprom.  Got rid of a couple
more global variables just for kicks.

22 years agoMove etc/ to libcomedi0 package
David Schleef [Sat, 18 May 2002 23:00:20 +0000 (23:00 +0000)]
Move etc/ to libcomedi0 package