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
Frank Mori Hess
0536b89f42
added return value for comedi_apply_calibration()
2003-03-06 19:04:18 +00:00
Frank Mori Hess
26769e5635
set default n_scan value to 10 for insn demo, added check that it is
...
not set larger than MAX_SAMPLES
2003-03-05 17:01:34 +00:00
Frank Mori Hess
6dcb08e06b
a couple not so important tweaks to calibration file parsing, before
...
I leave it
2003-03-05 16:55:14 +00:00
Frank Mori Hess
fac040f462
got rid of unneccessary yyrestart()
2003-03-05 00:46:36 +00:00
Frank Mori Hess
b950e1c63c
removed libperl dependency by switching to bison/flex to parse calibration
...
file.
2003-03-05 00:30:00 +00:00
Frank Mori Hess
fb2bf948b2
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.
2003-03-04 00:41:10 +00:00
Frank Mori Hess
8a1649bbcd
added descriptions of some options, --save-file in particular
2003-03-01 03:30:59 +00:00
Frank Mori Hess
fc3cc45a16
added documentation for comedi_set_calibration()
2003-03-01 01:52:32 +00:00
Frank Mori Hess
afaad08b77
catch errors from find_calibration()
2003-03-01 01:03:39 +00:00
Frank Mori Hess
0a9abb8446
fixed missing dollar signs, and "subdev" should have been "subdevices"
2003-02-28 22:40:52 +00:00
Frank Mori Hess
c63d33ed23
finished implementing comedi_set_calibration() (for real this time),
...
untested
2003-02-28 20:51:04 +00:00
Frank Mori Hess
518159f129
fixed finding calibration based on subdevice. Ignore previous log
...
message about finishing implementation of comedi_set_calibration(), as
it's only half done.
2003-02-26 19:36:56 +00:00
Frank Mori Hess
84b33a8781
added subdevice to calibration file
2003-02-26 19:31:56 +00:00
Frank Mori Hess
e36d2e5b3a
finished implementing comedi_set_calibration() (untested)
2003-02-26 19:19:57 +00:00
Frank Mori Hess
45c3292e6d
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
2003-02-26 17:58:53 +00:00
Frank Mori Hess
723db82ce5
beginnings of comedi_set_calibration()
2003-02-24 22:30:43 +00:00
Frank Mori Hess
63b0079527
added command line option for specifiying name of file you want to write
...
calibration to
2003-02-24 19:20:12 +00:00
Frank Mori Hess
b7de679b2f
fixed setting of __comedi_errno after ioctl
2003-02-16 16:45:13 +00:00
Frank Mori Hess
60a24ae631
all analog input ranges are now calibrated for meas computing pci-das60xx
2003-02-05 23:04:14 +00:00
Frank Mori Hess
46b3372b1a
added a couple convenience functions
2003-02-05 19:04:53 +00:00
Frank Mori Hess
69971fa3d2
updated reference to old lineo cvs server
2003-02-05 15:05:31 +00:00
Frank Mori Hess
62d3635bc5
want to use ino_t to identify comedi device file instead of dev_t, which
...
always contains major/minor number of hard drive
2003-02-05 04:18:29 +00:00
Frank Mori Hess
28c57d548a
removed some dead code
2003-02-04 19:45:45 +00:00
Frank Mori Hess
def13891a2
writing calibrations to a file should be useable now
2003-02-04 18:21:07 +00:00
Frank Mori Hess
a59ba8a07c
initial support for writing a set of calibrations to a text file
2003-02-02 01:56:05 +00:00
Frank Mori Hess
1974104db9
added linefeed
2003-01-09 17:53:46 +00:00
Frank Mori Hess
32f85d18a9
better error message when reading calibration voltages from eeprom
2003-01-01 23:22:08 +00:00
Frank Mori Hess
9d4aa91837
include string.h for memset()
2003-01-01 23:08:07 +00:00