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
Frank Mori Hess [Fri, 29 Nov 2002 21:54:01 +0000 (21:54 +0000)]
added ability to adjust settling time used by new_sv_measure(), since 611x
needs more than standard 99usec settle.
Frank Mori Hess [Fri, 29 Nov 2002 21:29:04 +0000 (21:29 +0000)]
611x calibration works now
Frank Mori Hess [Fri, 29 Nov 2002 21:27:40 +0000 (21:27 +0000)]
fixed comedi_nanosleep(), which did nothing before
Frank Mori Hess [Tue, 26 Nov 2002 20:06:22 +0000 (20:06 +0000)]
added error check for mmap() call
Frank Mori Hess [Mon, 25 Nov 2002 21:05:13 +0000 (21:05 +0000)]
rearranged order of 611x observables to deal with only having 2 ai channels on 6111
Frank Mori Hess [Mon, 25 Nov 2002 20:56:34 +0000 (20:56 +0000)]
I think we finally have 611x calibration right
Frank Mori Hess [Sun, 24 Nov 2002 15:41:11 +0000 (15:41 +0000)]
correcting ao caldac channels after fixing caldac type in driver
Frank Mori Hess [Sun, 24 Nov 2002 15:16:49 +0000 (15:16 +0000)]
611x documentation was wrong, calibration sources do not correspond
to those from other boards. Guessing at index for 5V positive 0V negative
calibration source.
Frank Mori Hess [Sun, 24 Nov 2002 15:15:05 +0000 (15:15 +0000)]
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
Frank Mori Hess [Sat, 23 Nov 2002 21:34:40 +0000 (21:34 +0000)]
611x calibration doesn't like 5v-0v reference for gain calibration, wants 5v-5v reference
Frank Mori Hess [Sat, 23 Nov 2002 21:09:27 +0000 (21:09 +0000)]
fix calibration channels for 611x analog output
Frank Mori Hess [Sat, 23 Nov 2002 18:15:45 +0000 (18:15 +0000)]
fixed 611x names to match ni_pcimio driver
Frank Mori Hess [Sat, 23 Nov 2002 18:13:17 +0000 (18:13 +0000)]
added CR_ALT_SOURCE and CR_ALT_FILTER to observe_insn.chanspec's, needed
by 611x, and should be harmless to other boards
Frank Mori Hess [Fri, 22 Nov 2002 21:45:05 +0000 (21:45 +0000)]
increased BUF_LEN, so demo works better with ni boards
David Schleef [Fri, 22 Nov 2002 07:17:15 +0000 (07:17 +0000)]
update from comedi
David Schleef [Fri, 22 Nov 2002 07:15:09 +0000 (07:15 +0000)]
Fix for cases where the command doesn't allow source choices
David Schleef [Fri, 22 Nov 2002 06:48:39 +0000 (06:48 +0000)]
fix mmap testing
Frank Mori Hess [Wed, 20 Nov 2002 00:43:19 +0000 (00:43 +0000)]
changed & to %, before it seemed to assume the buffer size was a power of
2
Frank Mori Hess [Mon, 18 Nov 2002 23:49:57 +0000 (23:49 +0000)]
added documentation for comedi_data_read_delayed() and comedi_data_read_hint()
because I'm sick of anwering questions about why comedi_data_read() returns
inaccurate values.
Frank Mori Hess [Mon, 18 Nov 2002 17:05:14 +0000 (17:05 +0000)]
611x calibration support. More conversion to new CONFIG_ALT_SOURCE usage
(backward compatibility with AREF_OTHER should still work )
Frank Mori Hess [Tue, 12 Nov 2002 18:36:26 +0000 (18:36 +0000)]
updating status of 6023
David Schleef [Tue, 5 Nov 2002 05:21:52 +0000 (05:21 +0000)]
Fixes, add cb_das16_cs
David Schleef [Wed, 25 Sep 2002 01:19:18 +0000 (01:19 +0000)]
install de LC_MESSAGES
David Schleef [Wed, 25 Sep 2002 01:17:17 +0000 (01:17 +0000)]
lksjdf
David Schleef [Wed, 25 Sep 2002 01:16:02 +0000 (01:16 +0000)]
Fix i18n
David Schleef [Wed, 25 Sep 2002 01:12:16 +0000 (01:12 +0000)]
remove some stuff that is in the lib now
David Schleef [Wed, 25 Sep 2002 01:11:47 +0000 (01:11 +0000)]
add some error checking
David Schleef [Wed, 25 Sep 2002 01:08:16 +0000 (01:08 +0000)]
fix typo on comedi_open
David Schleef [Wed, 25 Sep 2002 01:04:41 +0000 (01:04 +0000)]
Last log is bogus. Should be: disable AO0 on 6071e, since it
doesn't work correctly.