Ian Abbott
c530564317
#include <sys/stat.h> needed for fstat().
2011-01-05 15:02:44 +00:00
Ian Abbott
12eedd26b3
comedi_get_default_calibration_path(): Check result of asprintf() for error.
2009-02-18 15:35:09 +00:00
Ian Abbott
4df5ffd451
Added some device and subdevice validity checks.
2008-11-05 12:52:25 +00:00
Ian Abbott
0b21f80783
Avoid mixing declarations and code.
2007-12-10 13:20:19 +00:00
Frank Mori Hess
2b04263bed
Actually, according to current:revision:age practice, the next
...
release should be 0.8.0 since new functions have been added since
0.7.22.
2007-07-31 02:44:29 +00:00
Frank Mori Hess
34b9800e40
Added const qualifiers to some char* return values. Added new
...
experimental comedi_dio_bitfield2() function which works with
> 32 channels. Only works properly with ni_65xx currently.
Will post a request for review by any interested
parties to list before I bother making the rest of the drivers
work with it.
2006-10-17 18:19:29 +00:00
Frank Mori Hess
1421d0919e
Added some primative support for using software calibration in a way
...
that can be integrated with boards that don't use software calibrations.
2006-09-07 19:09:04 +00:00
David Schleef
3602f4abab
localstatedir should be /var, thus we need append a lib/ here
2003-08-30 04:21:50 +00:00
David Schleef
0a70a2f231
calibrations is installed in $localstatedir
2003-08-16 00:18:46 +00:00
Frank Mori Hess
9825b8a1af
be a little more careful about fixing up calibration file path, although
...
it doesn't make any practical difference
2003-05-31 16:58:45 +00:00
Frank Mori Hess
9b78a41963
fix default calibration file path for boards with '/' in name
2003-05-28 21:18:34 +00:00
Frank Mori Hess
6ad2b6c950
trying to fix undefined symbol problems people are having
2003-05-18 00:26:59 +00:00
Frank Mori Hess
4c95630d22
added driver name to default calibration file path
2003-05-09 00:00:51 +00:00
Frank Mori Hess
8a9e9861f1
made default comedi_calibrate behaviour a little smarter, shared more
...
code between comedilib and comedi_calibrate
2003-05-06 23:37:45 +00:00
Frank Mori Hess
0d0bfe17b9
exposed some lower-level calibration functions for more flexibility
2003-05-06 18:26:21 +00:00
Frank Mori Hess
d5ea98f55b
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)
2003-05-06 00:36:18 +00:00
Frank Mori Hess
9799051d65
fixed comedi_apply_calibration so it applies all matching calibrations
...
instead of just the first one
2003-05-05 03:18:19 +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
2e0f10fe44
added some dependency file generation
2003-04-25 01:44:21 +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
b27a2340a2
moved stderr output to use COMEDILIB_DEBUG()
2003-03-06 19:05:16 +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
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
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
e36d2e5b3a
finished implementing comedi_set_calibration() (untested)
2003-02-26 19:19:57 +00:00
Frank Mori Hess
723db82ce5
beginnings of comedi_set_calibration()
2003-02-24 22:30:43 +00:00