David Schleef [Tue, 27 May 2003 19:05:56 +0000 (19:05 +0000)]
update.
Frank Mori Hess [Sun, 25 May 2003 21:20:41 +0000 (21:20 +0000)]
added support for new cb_pcidas64 board types
Frank Mori Hess [Sun, 25 May 2003 21:11:20 +0000 (21:11 +0000)]
made sv order adjustable
Frank Mori Hess [Sun, 25 May 2003 16:20:42 +0000 (16:20 +0000)]
fix statistics of new_sv_measure, and reduce number of steps in
check_gain_chan_x
Frank Mori Hess [Sat, 24 May 2003 21:15:06 +0000 (21:15 +0000)]
use CR_EDGE and CR_INVERT constants instead of magic numbers
Frank Mori Hess [Thu, 22 May 2003 21:40:50 +0000 (21:40 +0000)]
new results
Frank Mori Hess [Thu, 22 May 2003 20:49:53 +0000 (20:49 +0000)]
make verbosity options work again
Frank Mori Hess [Thu, 22 May 2003 20:42:34 +0000 (20:42 +0000)]
trivial tweak
Frank Mori Hess [Thu, 22 May 2003 20:30:41 +0000 (20:30 +0000)]
increased sv->order for 611x
Frank Mori Hess [Thu, 22 May 2003 16:13:12 +0000 (16:13 +0000)]
still trying to get 611x ai to calibrate well, trying to increase
settling time now.
Frank Mori Hess [Thu, 22 May 2003 16:12:07 +0000 (16:12 +0000)]
cleanup some redundant initialization of sv stuff
Frank Mori Hess [Wed, 21 May 2003 18:44:28 +0000 (18:44 +0000)]
fix analog out ch 1 calibration, and calulation of variable ai
reference source for 611x
Frank Mori Hess [Wed, 21 May 2003 17:52:41 +0000 (17:52 +0000)]
added some warning messages when binary calibrations set caldacs to
max/min values
Frank Mori Hess [Wed, 21 May 2003 17:16:09 +0000 (17:16 +0000)]
increase N_OBSERVABLES even more for 611x
Frank Mori Hess [Tue, 20 May 2003 15:09:01 +0000 (15:09 +0000)]
fix assignments that should have been equality tests
Frank Mori Hess [Mon, 19 May 2003 23:31:47 +0000 (23:31 +0000)]
made comedi_config install into sbin instead of bin subdirectory
Frank Mori Hess [Sun, 18 May 2003 00:26:59 +0000 (00:26 +0000)]
trying to fix undefined symbol problems people are having
Frank Mori Hess [Fri, 16 May 2003 21:15:17 +0000 (21:15 +0000)]
added -D_REENTRANT to library cflags
Frank Mori Hess [Fri, 16 May 2003 19:41:13 +0000 (19:41 +0000)]
updated for autoconf stuff
Frank Mori Hess [Fri, 9 May 2003 00:04:12 +0000 (00:04 +0000)]
added some DPRINT's to ni_labpc calibration so there is some indication
it is doing something
Frank Mori Hess [Fri, 9 May 2003 00:00:51 +0000 (00:00 +0000)]
added driver name to default calibration file path
Frank Mori Hess [Thu, 8 May 2003 23:57:03 +0000 (23:57 +0000)]
added ni_labpc support
Frank Mori Hess [Thu, 8 May 2003 00:35:19 +0000 (00:35 +0000)]
added entries for additional calibration functions
Frank Mori Hess [Thu, 8 May 2003 00:34:29 +0000 (00:34 +0000)]
fix broken dependencies, and man page generation
Frank Mori Hess [Wed, 7 May 2003 18:12:28 +0000 (18:12 +0000)]
added examples, and more/updated option descriptions
Frank Mori Hess [Wed, 7 May 2003 00:13:00 +0000 (00:13 +0000)]
fixed some bad behaviour when using default calibration file path
Frank Mori Hess [Tue, 6 May 2003 23:37:45 +0000 (23:37 +0000)]
made default comedi_calibrate behaviour a little smarter, shared more
code between comedilib and comedi_calibrate
Frank Mori Hess [Tue, 6 May 2003 18:26:21 +0000 (18:26 +0000)]
exposed some lower-level calibration functions for more flexibility
Frank Mori Hess [Tue, 6 May 2003 05:50:04 +0000 (05:50 +0000)]
cleanup old 1602/16 stuff
Frank Mori Hess [Tue, 6 May 2003 01:24:50 +0000 (01:24 +0000)]
added options for specifying which subdev, channel, range, aref you
want comedi_calibrate to apply calibration for before exiting
Frank Mori Hess [Tue, 6 May 2003 00:36:18 +0000 (00:36 +0000)]
changed convention for default calibration file naming to something
more transparent and robust (since I figured out how to get minor number
from code for ls)
Frank Mori Hess [Mon, 5 May 2003 14:37:39 +0000 (14:37 +0000)]
took out some debug messages i accidentaly left in
Frank Mori Hess [Mon, 5 May 2003 03:38:26 +0000 (03:38 +0000)]
made polarity determination in binary calibrations more robust, to fix
problems I saw when caldac pushed input out-of-range
Frank Mori Hess [Mon, 5 May 2003 03:18:19 +0000 (03:18 +0000)]
fixed comedi_apply_calibration so it applies all matching calibrations
instead of just the first one
Frank Mori Hess [Mon, 5 May 2003 00:11:50 +0000 (00:11 +0000)]
increased max number of observables for 611x boards, added postgain
offset to generic calibration routines, used generic cal for mc pci-das1602/16
calibration.
Frank Mori Hess [Mon, 5 May 2003 00:09:12 +0000 (00:09 +0000)]
pruned some dead code
Frank Mori Hess [Sun, 4 May 2003 02:16:31 +0000 (02:16 +0000)]
converted all remaining boards (except mc pci-das1602/16) to use
generic calibration support
Frank Mori Hess [Sat, 3 May 2003 22:25:05 +0000 (22:25 +0000)]
rearranged prep of adc for dac calibration to be more flexible
Frank Mori Hess [Sat, 3 May 2003 22:08:24 +0000 (22:08 +0000)]
converted calibration of measurement computing 60xx boards over to
generic code
Frank Mori Hess [Sat, 3 May 2003 14:59:26 +0000 (14:59 +0000)]
moved COMEDI_VERSION_CODE() macro to comedilib.h, added some version
checks to comedi_calibrate so it complains if it's using a driver
with known bugs. Converted 6071 calibration to ad8804 addressing.
Frank Mori Hess [Sat, 3 May 2003 14:57:15 +0000 (14:57 +0000)]
i shouldn't have made comedi_internal_data_read() inline, it's too long,
and it causes gcc 2.9 to produce a bogus warning
Frank Mori Hess [Sat, 3 May 2003 01:11:01 +0000 (01:11 +0000)]
fixed 6035 dac1 offset caldac, added inactive 6071e calibration guess
for an ad8804 style caldac
Frank Mori Hess [Sat, 3 May 2003 00:28:20 +0000 (00:28 +0000)]
new results
Frank Mori Hess [Sat, 3 May 2003 00:17:47 +0000 (00:17 +0000)]
updated dump, with driver caldac corrected to ad8804
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