Frank Mori Hess [Sat, 19 Apr 2003 20:32:47 +0000 (20:32 +0000)]
fix deprecation warning with gcc3.2
Frank Mori Hess [Sat, 19 Apr 2003 04:56:05 +0000 (04:56 +0000)]
added analog output calibration for measurement computing 60xx series
Frank Mori Hess [Sat, 19 Apr 2003 01:40:32 +0000 (01:40 +0000)]
fix initialization of line counter, some yytext -> calib_yytext changes
Frank Mori Hess [Tue, 1 Apr 2003 19:28:11 +0000 (19:28 +0000)]
changed some debugging fprintfs to stderr into DPRINTs
Frank Mori Hess [Wed, 19 Mar 2003 20:08:26 +0000 (20:08 +0000)]
make flex stuff as reentrant as i can
Frank Mori Hess [Wed, 19 Mar 2003 18:56:19 +0000 (18:56 +0000)]
comedi_apply_calibration() almost reentrant now
Frank Mori Hess [Wed, 19 Mar 2003 16:26:37 +0000 (16:26 +0000)]
added -D_REENTRANT to library CFLAGS
Frank Mori Hess [Thu, 6 Mar 2003 19:18:18 +0000 (19:18 +0000)]
added a couple comment lines to top of generated calibration files
Frank Mori Hess [Thu, 6 Mar 2003 19:07:33 +0000 (19:07 +0000)]
made parsing slightly more forgiving with respect to commas, in case user
hand-edits calibration file
Frank Mori Hess [Thu, 6 Mar 2003 19:06:06 +0000 (19:06 +0000)]
stopped comments from getting printed
Frank Mori Hess [Thu, 6 Mar 2003 19:05:16 +0000 (19:05 +0000)]
moved stderr output to use COMEDILIB_DEBUG()
Frank Mori Hess [Thu, 6 Mar 2003 19:04:18 +0000 (19:04 +0000)]
added return value for comedi_apply_calibration()
Frank Mori Hess [Wed, 5 Mar 2003 17:01:34 +0000 (17:01 +0000)]
set default n_scan value to 10 for insn demo, added check that it is
not set larger than MAX_SAMPLES
Frank Mori Hess [Wed, 5 Mar 2003 16:55:14 +0000 (16:55 +0000)]
a couple not so important tweaks to calibration file parsing, before
I leave it
Frank Mori Hess [Wed, 5 Mar 2003 00:46:36 +0000 (00:46 +0000)]
got rid of unneccessary yyrestart()
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.
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.
Frank Mori Hess [Sat, 1 Mar 2003 03:30:59 +0000 (03:30 +0000)]
added descriptions of some options, --save-file in particular
Frank Mori Hess [Sat, 1 Mar 2003 01:52:32 +0000 (01:52 +0000)]
added documentation for comedi_set_calibration()
Frank Mori Hess [Sat, 1 Mar 2003 01:03:39 +0000 (01:03 +0000)]
catch errors from find_calibration()
Frank Mori Hess [Fri, 28 Feb 2003 22:40:52 +0000 (22:40 +0000)]
fixed missing dollar signs, and "subdev" should have been "subdevices"
Frank Mori Hess [Fri, 28 Feb 2003 20:51:04 +0000 (20:51 +0000)]
finished implementing comedi_set_calibration() (for real this time),
untested
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.
Frank Mori Hess [Wed, 26 Feb 2003 19:31:56 +0000 (19:31 +0000)]
added subdevice to calibration file
Frank Mori Hess [Wed, 26 Feb 2003 19:19:57 +0000 (19:19 +0000)]
finished implementing comedi_set_calibration() (untested)
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
Frank Mori Hess [Mon, 24 Feb 2003 22:30:43 +0000 (22:30 +0000)]
beginnings of comedi_set_calibration()
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
Frank Mori Hess [Sun, 16 Feb 2003 16:45:13 +0000 (16:45 +0000)]
fixed setting of __comedi_errno after ioctl
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
Frank Mori Hess [Wed, 5 Feb 2003 19:04:53 +0000 (19:04 +0000)]
added a couple convenience functions
Frank Mori Hess [Wed, 5 Feb 2003 15:05:31 +0000 (15:05 +0000)]
updated reference to old lineo cvs server
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
Frank Mori Hess [Tue, 4 Feb 2003 19:45:45 +0000 (19:45 +0000)]
removed some dead code
Frank Mori Hess [Tue, 4 Feb 2003 18:21:07 +0000 (18:21 +0000)]
writing calibrations to a file should be useable now
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
Frank Mori Hess [Thu, 9 Jan 2003 17:53:46 +0000 (17:53 +0000)]
added linefeed
Frank Mori Hess [Wed, 1 Jan 2003 23:22:08 +0000 (23:22 +0000)]
better error message when reading calibration voltages from eeprom
Frank Mori Hess [Wed, 1 Jan 2003 23:08:07 +0000 (23:08 +0000)]
include string.h for memset()
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
Frank Mori Hess [Wed, 1 Jan 2003 23:05:48 +0000 (23:05 +0000)]
ignoring error so make install works when docs not built
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.
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)
Frank Mori Hess [Tue, 31 Dec 2002 02:15:31 +0000 (02:15 +0000)]
update status of pci-das1200
Frank Mori Hess [Tue, 31 Dec 2002 01:13:13 +0000 (01:13 +0000)]
fix compiler warning
Frank Mori Hess [Tue, 31 Dec 2002 01:09:03 +0000 (01:09 +0000)]
added cb_pcidas driver
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
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
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.
Frank Mori Hess [Fri, 29 Nov 2002 21:29:04 +0000 (21:29 +0000)]
611x calibration works now
Frank Mori Hess [Fri, 29 Nov 2002 21:27:40 +0000 (21:27 +0000)]
fixed comedi_nanosleep(), which did nothing before
Frank Mori Hess [Tue, 26 Nov 2002 20:06:22 +0000 (20:06 +0000)]
added error check for mmap() call
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
Frank Mori Hess [Mon, 25 Nov 2002 20:56:34 +0000 (20:56 +0000)]
I think we finally have 611x calibration right
Frank Mori Hess [Sun, 24 Nov 2002 15:41:11 +0000 (15:41 +0000)]
correcting ao caldac channels after fixing caldac type in driver
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.
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
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
Frank Mori Hess [Sat, 23 Nov 2002 21:09:27 +0000 (21:09 +0000)]
fix calibration channels for 611x analog output
Frank Mori Hess [Sat, 23 Nov 2002 18:15:45 +0000 (18:15 +0000)]
fixed 611x names to match ni_pcimio driver
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
Frank Mori Hess [Fri, 22 Nov 2002 21:45:05 +0000 (21:45 +0000)]
increased BUF_LEN, so demo works better with ni boards
David Schleef [Fri, 22 Nov 2002 07:17:15 +0000 (07:17 +0000)]
update from comedi
David Schleef [Fri, 22 Nov 2002 07:15:09 +0000 (07:15 +0000)]
Fix for cases where the command doesn't allow source choices
David Schleef [Fri, 22 Nov 2002 06:48:39 +0000 (06:48 +0000)]
fix mmap testing
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
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.
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 )
Frank Mori Hess [Tue, 12 Nov 2002 18:36:26 +0000 (18:36 +0000)]
updating status of 6023
David Schleef [Tue, 5 Nov 2002 05:21:52 +0000 (05:21 +0000)]
Fixes, add cb_das16_cs
David Schleef [Wed, 25 Sep 2002 01:19:18 +0000 (01:19 +0000)]
install de LC_MESSAGES
David Schleef [Wed, 25 Sep 2002 01:17:17 +0000 (01:17 +0000)]
lksjdf
David Schleef [Wed, 25 Sep 2002 01:16:02 +0000 (01:16 +0000)]
Fix i18n
David Schleef [Wed, 25 Sep 2002 01:12:16 +0000 (01:12 +0000)]
remove some stuff that is in the lib now
David Schleef [Wed, 25 Sep 2002 01:11:47 +0000 (01:11 +0000)]
add some error checking
David Schleef [Wed, 25 Sep 2002 01:08:16 +0000 (01:08 +0000)]
fix typo on comedi_open
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.
David Schleef [Wed, 25 Sep 2002 01:02:57 +0000 (01:02 +0000)]
Added help() and --help flag
David Schleef [Wed, 25 Sep 2002 01:02:08 +0000 (01:02 +0000)]
Add help() and --help flag
David Schleef [Mon, 9 Sep 2002 22:16:10 +0000 (22:16 +0000)]
results
David Schleef [Mon, 9 Sep 2002 22:15:56 +0000 (22:15 +0000)]
DAQCard-16e-4 is done
David Schleef [Thu, 29 Aug 2002 23:35:37 +0000 (23:35 +0000)]
Fixes for 6023.
David Schleef [Wed, 28 Aug 2002 20:07:27 +0000 (20:07 +0000)]
DAQCard-AI-16e-4, pci-6023e improvments
David Schleef [Tue, 20 Aug 2002 00:09:00 +0000 (00:09 +0000)]
change 6032e to DONE
David Schleef [Mon, 19 Aug 2002 23:11:33 +0000 (23:11 +0000)]
Added 6032e
David Schleef [Tue, 6 Aug 2002 19:39:31 +0000 (19:39 +0000)]
Fix mistake getting buffer head position
David Schleef [Wed, 24 Jul 2002 01:52:43 +0000 (01:52 +0000)]
version bump
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.
David Schleef [Thu, 4 Jul 2002 03:30:39 +0000 (03:30 +0000)]
copy from Comedi
David Schleef [Thu, 4 Jul 2002 03:29:41 +0000 (03:29 +0000)]
rearrangement
Frank Mori Hess [Mon, 1 Jul 2002 04:01:53 +0000 (04:01 +0000)]
sync with comedi
Frank Mori Hess [Sun, 23 Jun 2002 23:31:08 +0000 (23:31 +0000)]
added support for cb_pcidas.c boards
Frank Mori Hess [Thu, 20 Jun 2002 23:54:12 +0000 (23:54 +0000)]
added computer boards pci-das6023
Frank Mori Hess [Sat, 15 Jun 2002 21:25:52 +0000 (21:25 +0000)]
new test results
David Schleef [Thu, 13 Jun 2002 00:00:03 +0000 (00:00 +0000)]
Fix up some versioning mistakes
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
David Schleef [Wed, 12 Jun 2002 22:44:44 +0000 (22:44 +0000)]
notes about the new calibration functions
David Schleef [Wed, 12 Jun 2002 21:49:22 +0000 (21:49 +0000)]
Add binary search calibration function.
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.
David Schleef [Wed, 12 Jun 2002 02:01:03 +0000 (02:01 +0000)]
remove rm of non-autogenerated files