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
ddba729d0e
fix deprecation warning with gcc3.2
2003-04-19 20:32:47 +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
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
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
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
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
Frank Mori Hess
b7de679b2f
fixed setting of __comedi_errno after ioctl
2003-02-16 16:45:13 +00:00
Frank Mori Hess
9d4aa91837
include string.h for memset()
2003-01-01 23:08:07 +00:00
David Schleef
365b5ed395
Fix up some versioning mistakes
2002-06-13 00:00:03 +00:00
David Schleef
2851280824
Add symbol versioning. Versions need to be checked with 0.7.18
...
release.
2002-06-12 02:02:05 +00:00
David Schleef
b4fd07f2cf
Add comedi_get_read/write_subdevice()
2002-05-18 22:48:19 +00:00
David Schleef
a915ab1206
Fix up data_read_* code
2002-05-17 02:19:52 +00:00
David Schleef
f6fed64225
Make comedi_ioctl less verbose
2002-05-16 06:31:47 +00:00
David Schleef
85233be248
Added new ioctl() wrapper.
2002-05-16 06:30:54 +00:00
David Schleef
22ae504197
Change cmd tester to check for Comedi version, and then use
...
SDF_CMD flag.
2002-05-15 19:53:34 +00:00
David Schleef
619f6afc47
Remove all the ioctl_ wrappers, because they were dumb.
2002-05-11 07:35:31 +00:00
Frank Mori Hess
75e3c0fcef
some more additions so flags don't cause invalid channel error
2002-04-30 23:07:00 +00:00
Frank Mori Hess
21d7877c2d
Horrible hack to allow passing of CR flags through channel arguments. Made
...
comedi_calibrate use comedi_data_read_n() from main library. Should be able
to add computer boards support to comedi_calibrate soon now.
2002-04-30 22:56:30 +00:00
Frank Mori Hess
e73c24b951
added comedi_data_read_n()
2002-04-29 21:13:13 +00:00
Frank Mori Hess
bf5d20bb9f
added comedi_data_read_hint() and fixed comedi_data_read_n()
2002-04-29 19:50:32 +00:00
Frank Mori Hess
cedfceb9ab
fixed initialization of insn array in comedi_data_read_delayed(), added unnecessary
...
init of ilist
2002-04-29 18:26:46 +00:00
Frank Mori Hess
4a9dd8e9d3
added comedi_data_read_delayed()
2002-04-29 18:22:41 +00:00
David Schleef
99b587482b
Fix BUG in do_test_for_insn_bits() while testing irrelevant subdevices
...
that are busy.
2002-03-08 23:44:25 +00:00
David Schleef
6069b4d60d
Fixed warning by adding header
2001-10-24 22:24:28 +00:00
David Schleef
e380ccedf8
Added SONAME_SUFFIX
2001-10-24 22:23:59 +00:00
David Schleef
67f2ed4254
Change all the file headers to LGPL
2001-10-04 23:44:08 +00:00
David Schleef
2e5c484b24
added function to convert multiple samples to/from phys units
2001-10-04 23:33:14 +00:00
David Schleef
3ed20f03dd
Fix to fast_1chan, so it supports TRIG_INT for analog output.
2001-08-28 23:50:37 +00:00
David Schleef
baa125de2c
Oops. libintl.h needs to be #ifdef'd
2001-08-19 01:30:06 +00:00
David Schleef
c5acd7cc43
gettextization of error messages
2001-08-19 01:27:33 +00:00
David Schleef
6996d2db6e
Random message change
2001-08-19 01:27:16 +00:00
David Schleef
6b3977b508
Separated soname into separate definition
2001-08-19 01:25:04 +00:00
David Schleef
f4f16b883d
Get CFLAGS from ../Config
2001-07-15 23:14:09 +00:00
David Schleef
beb18635c4
Fix comedi_get_cmd_* so that commands are only generated once.
...
More error messages.
2001-07-15 22:46:02 +00:00
David Schleef
494d76f823
Added a bit of __comedi_errno initialization
2001-07-14 00:42:51 +00:00
Frank Mori Hess
f090f06b0a
added a burst-mode-like command to comedi_get_cmd_generic_timed()
2001-07-12 20:34:05 +00:00
Frank Mori Hess
5d2fa2394d
fix for compile warning with range.c
2001-07-10 23:12:16 +00:00