Commit graph

500 commits

Author SHA1 Message Date
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
Frank Mori Hess
ea64ba8daa fixing includes for exit(), memset() for gcc 2.96 compiler warnings 2003-01-01 23:07:02 +00:00
Frank Mori Hess
884ac97d58 ignoring error so make install works when docs not built 2003-01-01 23:05:48 +00:00
Frank Mori Hess
68b2748c32 analog output calibration for cb_pcidas boards, plus reading of calibration
voltages from eeprom.
2003-01-01 22:47:07 +00:00
Frank Mori Hess
50ea72bc51 inactive support for reading calibration voltage from eeprom on 611x
(not sure if ni_get_reference() is correct)
2003-01-01 22:46:35 +00:00
Frank Mori Hess
5160eeba97 update status of pci-das1200 2002-12-31 02:15:31 +00:00
Frank Mori Hess
55e46d503d fix compiler warning 2002-12-31 01:13:13 +00:00
Frank Mori Hess
fa70781423 added cb_pcidas driver 2002-12-31 01:09:03 +00:00
Frank Mori Hess
340c849fcc new dev_info names for pcm-das08 and daqcard-1200 so pcmcia script runs
comedi_config correctly
2002-12-11 02:38:01 +00:00
Frank Mori Hess
48b8faab17 added some comments about how internal voltage reference appears when
using +-50V or +-20V input ranges
2002-11-29 22:02:35 +00:00
Frank Mori Hess
a1b5be053f added ability to adjust settling time used by new_sv_measure(), since 611x
needs more than standard 99usec settle.
2002-11-29 21:54:01 +00:00
Frank Mori Hess
6d37fae4c9 611x calibration works now 2002-11-29 21:29:04 +00:00
Frank Mori Hess
9e713197bb fixed comedi_nanosleep(), which did nothing before 2002-11-29 21:27:40 +00:00
Frank Mori Hess
28cbcb99d8 added error check for mmap() call 2002-11-26 20:06:22 +00:00
Frank Mori Hess
7f188a8354 rearranged order of 611x observables to deal with only having 2 ai channels on 6111 2002-11-25 21:05:13 +00:00
Frank Mori Hess
328365c267 I think we finally have 611x calibration right 2002-11-25 20:56:34 +00:00
Frank Mori Hess
0b0afb5fa0 correcting ao caldac channels after fixing caldac type in driver 2002-11-24 15:41:11 +00:00
Frank Mori Hess
c4bef70db0 611x documentation was wrong, calibration sources do not correspond
to those from other boards.  Guessing at index for 5V positive 0V negative
calibration source.
2002-11-24 15:16:49 +00:00
Frank Mori Hess
33ec9a58fa 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
2002-11-24 15:15:05 +00:00