Commit graph

546 commits

Author SHA1 Message Date
Frank Mori Hess
e745f56716 converted all NI boards to write calibrations to file. Also, it will
calibrate unipolar analog output ranges separately for them.
2003-05-02 00:54:07 +00:00
Frank Mori Hess
5271b6cba6 fix get_bipolar_lowgain() which i broke 2003-05-01 14:43:50 +00:00
Frank Mori Hess
6a5b835a75 added unipolar analog output observables 2003-04-30 22:59:07 +00:00
Frank Mori Hess
464b43a015 added some comments on cal_*binary() functions 2003-04-30 20:36:15 +00:00
Frank Mori Hess
c5a39df702 made all cal_*binary() functions set oor behaviour to COMEDI_OOR_NUMBER 2003-04-30 20:30:04 +00:00
Frank Mori Hess
da11030346 added is_unipolar() and is_bipolar() query functions, added very_low_target()
helper function for generating unipolar targets that are close but not zero.
2003-04-30 20:17:44 +00:00
Frank Mori Hess
2e2e1558ea added support for reading reference from eeprom for most boards 2003-04-30 01:06:17 +00:00
Frank Mori Hess
f0641d2fcf fix cal_linearity_binary() 2003-04-29 16:09:27 +00:00
Frank Mori Hess
78f9e1b83d offset unipolar ground observable targets half a bit above zero 2003-04-29 01:50:46 +00:00
Frank Mori Hess
7041bcca95 added support for calibrating analog output linearity 2003-04-29 01:00:22 +00:00
Frank Mori Hess
137fedb214 daqcard 6062e calibration should be good now (with a little luck) 2003-04-28 16:15:05 +00:00
Frank Mori Hess
39258a5504 added more unipolar observables for ni boards, so unipolar calibrations
can be done.
2003-04-28 01:00:07 +00:00
Frank Mori Hess
3337aa150f tweaked cal_postgain_binary() so it gets the least significant bit right 2003-04-28 00:14:44 +00:00
Frank Mori Hess
1912648a7e okay, _really_ got last bit correct with cal_binary() this time. 2003-04-27 18:13:39 +00:00
Frank Mori Hess
87a4e7ed2b fixed new_sv_init() calls so they are not hard-coded to assume the
adc subdevice is subdevice 0.
2003-04-27 00:08:03 +00:00
Frank Mori Hess
a372e7340d tweaks to cal_binary() so that it gets the last, least significant
bit correct.
2003-04-27 00:03:27 +00:00
Frank Mori Hess
46e32500de hmm, should have left postgain offset caldac as argument to
cal_postgain() for 6062e
2003-04-26 22:24:37 +00:00
Frank Mori Hess
322bb4852b STATUS_NONE is actually STATUS_UNKNOWN 2003-04-26 22:23:49 +00:00
Frank Mori Hess
050f69bd4b removed bogus free() 2003-04-26 21:09:49 +00:00
Frank Mori Hess
2feca1fa14 init saved_calibration_t array for daqcard 6062e 2003-04-26 18:54:53 +00:00
Frank Mori Hess
fbbb3e297e 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().
2003-04-26 16:23:04 +00:00
Frank Mori Hess
125147c067 swapped pre/postgain offsets 2003-04-26 02:03:48 +00:00
Frank Mori Hess
9700eeb713 made error message on failure to open device more informative 2003-04-26 02:02:54 +00:00
Frank Mori Hess
e0b7dadca7 fixed reading of argument for short option 'f' that I broke a while back 2003-04-25 20:43:23 +00:00
Frank Mori Hess
0710248b23 tweaked include directives so gcc -MM generates better dependency files 2003-04-25 01:58:34 +00:00
Frank Mori Hess
426a0a2679 added some dependency generation to makefile 2003-04-25 01:50:49 +00:00
Frank Mori Hess
2e0f10fe44 added some dependency file generation 2003-04-25 01:44:21 +00:00
Frank Mori Hess
e31f607b2e added some white space to fix preprocessor weirdness, ## was causing
__FUNCTION__ to disappear instead of the comma?
2003-04-25 01:43:52 +00:00
Frank Mori Hess
751c68705c initial pass at daqcard-6062e support, and got rid of global do_output
variable.
2003-04-25 01:02:51 +00:00
Frank Mori Hess
bada1b597a added multiple range calibration for measurement computing pci-das1xxx
cards
2003-04-24 04:20:51 +00:00
Frank Mori Hess
3bf61fbe44 added multi-range calibration support for pci-das4020 2003-04-22 21:20:39 +00:00
Frank Mori Hess
bf1b81075e added apply_cal demo 2003-04-22 00:04:14 +00:00
Frank Mori Hess
cb76a1cfb7 added ao calibration and multiple ai range calibration for
measurement computing 64xx boards
2003-04-21 23:57:30 +00:00
Frank Mori Hess
fbd59333a9 added --[no-]calibrate and --[no-]reset options 2003-04-21 01:50:03 +00:00
Frank Mori Hess
580976f1b8 split off cb64.c from cb.c 2003-04-21 01:48:53 +00:00
Frank Mori Hess
2d69943842 made a bunch of functions static 2003-04-21 01:48:02 +00:00
Frank Mori Hess
cdb904f6d0 made do_reset option work with multiple range calibrations for 60xx 2003-04-20 22:50:40 +00:00
Frank Mori Hess
c4c078dfc2 added application of appropriate calibrations before dumps or results 2003-04-20 01:42:27 +00:00
Frank Mori Hess
86d7dfa79d fixed calibration of ai ranges != 0 (doh). Changed a bunch of functions
to static.
2003-04-20 01:41:50 +00:00
Frank Mori Hess
ddba729d0e fix deprecation warning with gcc3.2 2003-04-19 20:32:47 +00:00
Frank Mori Hess
cae8f8d9e1 added analog output calibration for measurement computing 60xx series 2003-04-19 04:56:05 +00:00
Frank Mori Hess
28b69b8a05 fix initialization of line counter, some yytext -> calib_yytext changes 2003-04-19 01:40:32 +00:00
Frank Mori Hess
611a8587fd changed some debugging fprintfs to stderr into DPRINTs 2003-04-01 19:28:11 +00:00
Frank Mori Hess
163c004ada make flex stuff as reentrant as i can 2003-03-19 20:08:26 +00:00
Frank Mori Hess
02062c63ac comedi_apply_calibration() almost reentrant now 2003-03-19 18:56:19 +00:00
Frank Mori Hess
4bae28d80c added -D_REENTRANT to library CFLAGS 2003-03-19 16:26:37 +00:00
Frank Mori Hess
09db44185b added a couple comment lines to top of generated calibration files 2003-03-06 19:18:18 +00:00
Frank Mori Hess
1a67e3d7af made parsing slightly more forgiving with respect to commas, in case user
hand-edits calibration file
2003-03-06 19:07:33 +00:00
Frank Mori Hess
83a410a7b8 stopped comments from getting printed 2003-03-06 19:06:06 +00:00
Frank Mori Hess
b27a2340a2 moved stderr output to use COMEDILIB_DEBUG() 2003-03-06 19:05:16 +00:00