David Schleef [Fri, 2 May 2003 23:49:12 +0000 (23:49 +0000)]
remove system identifiers
David Schleef [Fri, 2 May 2003 23:47:47 +0000 (23:47 +0000)]
change section to libdevel
David Schleef [Fri, 2 May 2003 23:43:42 +0000 (23:43 +0000)]
Add DAQCard-6024E
David Schleef [Fri, 2 May 2003 23:41:44 +0000 (23:41 +0000)]
new results
Frank Mori Hess [Fri, 2 May 2003 21:58:23 +0000 (21:58 +0000)]
added 'write to file' support for ni 611x boards, and calibration
of all their input ranges.
David Schleef [Fri, 2 May 2003 08:06:17 +0000 (08:06 +0000)]
clean better
David Schleef [Fri, 2 May 2003 08:01:09 +0000 (08:01 +0000)]
remove
David Schleef [Fri, 2 May 2003 07:53:44 +0000 (07:53 +0000)]
autoconfiscate
David Schleef [Fri, 2 May 2003 07:53:02 +0000 (07:53 +0000)]
need headers
David Schleef [Fri, 2 May 2003 07:52:24 +0000 (07:52 +0000)]
demos should be nodist
David Schleef [Fri, 2 May 2003 07:37:03 +0000 (07:37 +0000)]
clean up warning
David Schleef [Fri, 2 May 2003 07:33:20 +0000 (07:33 +0000)]
Fix yacc and lex building
David Schleef [Fri, 2 May 2003 07:19:00 +0000 (07:19 +0000)]
autoconfiscation
Frank Mori Hess [Fri, 2 May 2003 00:54:07 +0000 (00:54 +0000)]
converted all NI boards to write calibrations to file. Also, it will
calibrate unipolar analog output ranges separately for them.
Frank Mori Hess [Thu, 1 May 2003 14:43:50 +0000 (14:43 +0000)]
fix get_bipolar_lowgain() which i broke
Frank Mori Hess [Wed, 30 Apr 2003 22:59:07 +0000 (22:59 +0000)]
added unipolar analog output observables
Frank Mori Hess [Wed, 30 Apr 2003 20:36:15 +0000 (20:36 +0000)]
added some comments on cal_*binary() functions
Frank Mori Hess [Wed, 30 Apr 2003 20:30:04 +0000 (20:30 +0000)]
made all cal_*binary() functions set oor behaviour to COMEDI_OOR_NUMBER
Frank Mori Hess [Wed, 30 Apr 2003 20:17:44 +0000 (20:17 +0000)]
added is_unipolar() and is_bipolar() query functions, added very_low_target()
helper function for generating unipolar targets that are close but not zero.
Frank Mori Hess [Wed, 30 Apr 2003 01:06:17 +0000 (01:06 +0000)]
added support for reading reference from eeprom for most boards
Frank Mori Hess [Tue, 29 Apr 2003 16:09:27 +0000 (16:09 +0000)]
fix cal_linearity_binary()
Frank Mori Hess [Tue, 29 Apr 2003 01:50:46 +0000 (01:50 +0000)]
offset unipolar ground observable targets half a bit above zero
Frank Mori Hess [Tue, 29 Apr 2003 01:00:22 +0000 (01:00 +0000)]
added support for calibrating analog output linearity
Frank Mori Hess [Mon, 28 Apr 2003 16:15:05 +0000 (16:15 +0000)]
daqcard 6062e calibration should be good now (with a little luck)
Frank Mori Hess [Mon, 28 Apr 2003 01:00:07 +0000 (01:00 +0000)]
added more unipolar observables for ni boards, so unipolar calibrations
can be done.
Frank Mori Hess [Mon, 28 Apr 2003 00:14:44 +0000 (00:14 +0000)]
tweaked cal_postgain_binary() so it gets the least significant bit right
Frank Mori Hess [Sun, 27 Apr 2003 18:13:39 +0000 (18:13 +0000)]
okay, _really_ got last bit correct with cal_binary() this time.
Frank Mori Hess [Sun, 27 Apr 2003 00:08:03 +0000 (00:08 +0000)]
fixed new_sv_init() calls so they are not hard-coded to assume the
adc subdevice is subdevice 0.
Frank Mori Hess [Sun, 27 Apr 2003 00:03:27 +0000 (00:03 +0000)]
tweaks to cal_binary() so that it gets the last, least significant
bit correct.
Frank Mori Hess [Sat, 26 Apr 2003 22:24:37 +0000 (22:24 +0000)]
hmm, should have left postgain offset caldac as argument to
cal_postgain() for 6062e
Frank Mori Hess [Sat, 26 Apr 2003 22:23:49 +0000 (22:23 +0000)]
STATUS_NONE is actually STATUS_UNKNOWN
Frank Mori Hess [Sat, 26 Apr 2003 21:09:49 +0000 (21:09 +0000)]
removed bogus free()
Frank Mori Hess [Sat, 26 Apr 2003 18:54:53 +0000 (18:54 +0000)]
init saved_calibration_t array for daqcard 6062e
Frank Mori Hess [Sat, 26 Apr 2003 16:23:04 +0000 (16:23 +0000)]
fixed catching of unknown board name with NI drivers, fixed board name
of daqcard-6062E, added dummy daqcard-6064E, changed some cb boards
to use my favorite cal_binary().
Frank Mori Hess [Sat, 26 Apr 2003 02:03:48 +0000 (02:03 +0000)]
swapped pre/postgain offsets
Frank Mori Hess [Sat, 26 Apr 2003 02:02:54 +0000 (02:02 +0000)]
made error message on failure to open device more informative
Frank Mori Hess [Fri, 25 Apr 2003 20:43:23 +0000 (20:43 +0000)]
fixed reading of argument for short option 'f' that I broke a while back
Frank Mori Hess [Fri, 25 Apr 2003 01:58:34 +0000 (01:58 +0000)]
tweaked include directives so gcc -MM generates better dependency files
Frank Mori Hess [Fri, 25 Apr 2003 01:50:49 +0000 (01:50 +0000)]
added some dependency generation to makefile
Frank Mori Hess [Fri, 25 Apr 2003 01:44:21 +0000 (01:44 +0000)]
added some dependency file generation
Frank Mori Hess [Fri, 25 Apr 2003 01:43:52 +0000 (01:43 +0000)]
added some white space to fix preprocessor weirdness, ## was causing
__FUNCTION__ to disappear instead of the comma?
Frank Mori Hess [Fri, 25 Apr 2003 01:02:51 +0000 (01:02 +0000)]
initial pass at daqcard-6062e support, and got rid of global do_output
variable.
Frank Mori Hess [Thu, 24 Apr 2003 04:20:51 +0000 (04:20 +0000)]
added multiple range calibration for measurement computing pci-das1xxx
cards
Frank Mori Hess [Tue, 22 Apr 2003 21:20:39 +0000 (21:20 +0000)]
added multi-range calibration support for pci-das4020
Frank Mori Hess [Tue, 22 Apr 2003 00:04:14 +0000 (00:04 +0000)]
added apply_cal demo
Frank Mori Hess [Mon, 21 Apr 2003 23:57:30 +0000 (23:57 +0000)]
added ao calibration and multiple ai range calibration for
measurement computing 64xx boards
Frank Mori Hess [Mon, 21 Apr 2003 01:50:03 +0000 (01:50 +0000)]
added --[no-]calibrate and --[no-]reset options
Frank Mori Hess [Mon, 21 Apr 2003 01:48:53 +0000 (01:48 +0000)]
split off cb64.c from cb.c
Frank Mori Hess [Mon, 21 Apr 2003 01:48:02 +0000 (01:48 +0000)]
made a bunch of functions static
Frank Mori Hess [Sun, 20 Apr 2003 22:50:40 +0000 (22:50 +0000)]
made do_reset option work with multiple range calibrations for 60xx
Frank Mori Hess [Sun, 20 Apr 2003 01:42:27 +0000 (01:42 +0000)]
added application of appropriate calibrations before dumps or results
Frank Mori Hess [Sun, 20 Apr 2003 01:41:50 +0000 (01:41 +0000)]
fixed calibration of ai ranges != 0 (doh). Changed a bunch of functions
to static.
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