comedilib.git
23 years agoAdded long getopts and added help(), 'cuz I always forget how to use it
David Schleef [Mon, 30 Jul 2001 20:40:26 +0000 (20:40 +0000)]
Added long getopts and added help(), 'cuz I always forget how to use it

23 years agoAdded lots about configuration instructions
David Schleef [Mon, 30 Jul 2001 20:39:46 +0000 (20:39 +0000)]
Added lots about configuration instructions

23 years agoMake it quieter
David Schleef [Mon, 30 Jul 2001 20:39:19 +0000 (20:39 +0000)]
Make it quieter

23 years agoFix includes
David Schleef [Mon, 30 Jul 2001 20:38:54 +0000 (20:38 +0000)]
Fix includes

23 years agoChange email address, add Comedi version and device name
David Schleef [Mon, 30 Jul 2001 20:38:17 +0000 (20:38 +0000)]
Change email address, add Comedi version and device name

23 years agoFix typo
David Schleef [Mon, 30 Jul 2001 20:37:42 +0000 (20:37 +0000)]
Fix typo

23 years agomade insn demo take 10 samples again as it originally did
Frank Mori Hess [Wed, 25 Jul 2001 15:53:57 +0000 (15:53 +0000)]
made insn demo take 10 samples again as it originally did

23 years agoGenerate $Id$
David Schleef [Tue, 17 Jul 2001 20:10:42 +0000 (20:10 +0000)]
Generate $Id$

23 years agoadded changelog.
David Schleef [Mon, 16 Jul 2001 02:02:56 +0000 (02:02 +0000)]
added changelog.

23 years agoIt doesn't make sense to keep regenerating these in CVS. They are
David Schleef [Mon, 16 Jul 2001 00:05:36 +0000 (00:05 +0000)]
It doesn't make sense to keep regenerating these in CVS.  They are
generated in the release script now.

23 years agorelease script r0_7_16
David Schleef [Mon, 16 Jul 2001 00:04:06 +0000 (00:04 +0000)]
release script

23 years agoSimple makefile, 'cause I can never remember the correct commands
David Schleef [Sun, 15 Jul 2001 23:58:49 +0000 (23:58 +0000)]
Simple makefile, 'cause I can never remember the correct commands

23 years agoRegenerated docs
David Schleef [Sun, 15 Jul 2001 23:58:14 +0000 (23:58 +0000)]
Regenerated docs

23 years agoAdd a few comments about recent changes in demos
David Schleef [Sun, 15 Jul 2001 23:52:13 +0000 (23:52 +0000)]
Add a few comments about recent changes in demos

23 years agoDon't use debhelper
David Schleef [Sun, 15 Jul 2001 23:25:04 +0000 (23:25 +0000)]
Don't use debhelper

23 years agoUse ../Config
David Schleef [Sun, 15 Jul 2001 23:24:18 +0000 (23:24 +0000)]
Use ../Config

23 years agoUse ../Config. Fix 'make test'.
David Schleef [Sun, 15 Jul 2001 23:24:00 +0000 (23:24 +0000)]
Use ../Config.  Fix 'make test'.

23 years agoRandom todo checkin
David Schleef [Sun, 15 Jul 2001 23:15:55 +0000 (23:15 +0000)]
Random todo checkin

23 years agoAdded user-editable Config file. Add support for $(PREFIX).
David Schleef [Sun, 15 Jul 2001 23:15:29 +0000 (23:15 +0000)]
Added user-editable Config file.  Add support for $(PREFIX).

23 years agoGet CFLAGS from ../Config
David Schleef [Sun, 15 Jul 2001 23:14:09 +0000 (23:14 +0000)]
Get CFLAGS from ../Config

23 years agoremove suidregister
David Schleef [Sun, 15 Jul 2001 23:13:29 +0000 (23:13 +0000)]
remove suidregister

23 years agonew version
David Schleef [Sun, 15 Jul 2001 23:13:09 +0000 (23:13 +0000)]
new version

23 years agoGetting ready to release a new version
David Schleef [Sun, 15 Jul 2001 23:12:40 +0000 (23:12 +0000)]
Getting ready to release a new version

23 years agoRandom change
David Schleef [Sun, 15 Jul 2001 23:11:36 +0000 (23:11 +0000)]
Random change

23 years agoMake stdout unbuffered, so that if stderr==stdout, lines match up.
David Schleef [Sun, 15 Jul 2001 22:47:58 +0000 (22:47 +0000)]
Make stdout unbuffered, so that if stderr==stdout, lines match up.

23 years agoChanged prototype of comedi_get_cmd_generic_timed
David Schleef [Sun, 15 Jul 2001 22:47:14 +0000 (22:47 +0000)]
Changed prototype of comedi_get_cmd_generic_timed

23 years agoDoesn't need to be static. Added test target
David Schleef [Sun, 15 Jul 2001 22:46:37 +0000 (22:46 +0000)]
Doesn't need to be static.  Added test target

23 years agoFix comedi_get_cmd_* so that commands are only generated once.
David Schleef [Sun, 15 Jul 2001 22:46:02 +0000 (22:46 +0000)]
Fix comedi_get_cmd_* so that commands are only generated once.
More error messages.

23 years agoChange prototype of comedi_get_cmd_generic_timed
David Schleef [Sun, 15 Jul 2001 22:39:54 +0000 (22:39 +0000)]
Change prototype of comedi_get_cmd_generic_timed

23 years agoNeeds string.h, not others
David Schleef [Sun, 15 Jul 2001 19:58:15 +0000 (19:58 +0000)]
Needs string.h, not others

23 years agoMajor hacking, just like cmd.c
David Schleef [Sun, 15 Jul 2001 19:57:32 +0000 (19:57 +0000)]
Major hacking, just like cmd.c

23 years agoReplace <string.h>
David Schleef [Sun, 15 Jul 2001 19:57:08 +0000 (19:57 +0000)]
Replace <string.h>

23 years agoRemove commented stuff
David Schleef [Sun, 15 Jul 2001 19:56:31 +0000 (19:56 +0000)]
Remove commented stuff

23 years agoChanged main.c to common.c
David Schleef [Sat, 14 Jul 2001 00:53:30 +0000 (00:53 +0000)]
Changed main.c to common.c

23 years agoChanged the name of verbose_flag; Added a few more flags in main.c
David Schleef [Sat, 14 Jul 2001 00:50:52 +0000 (00:50 +0000)]
Changed the name of verbose_flag; Added a few more flags in main.c

23 years agoMajor fixes and added inline documentation. It's actually somewhat
David Schleef [Sat, 14 Jul 2001 00:50:15 +0000 (00:50 +0000)]
Major fixes and added inline documentation.  It's actually somewhat
decent now.

23 years agoAdded a bit of __comedi_errno initialization
David Schleef [Sat, 14 Jul 2001 00:42:51 +0000 (00:42 +0000)]
Added a bit of __comedi_errno initialization

23 years agoremoved bit about chanlist error in cmdtest, since all bad chanlist errors should
Frank Mori Hess [Thu, 12 Jul 2001 21:41:21 +0000 (21:41 +0000)]
removed bit about chanlist error in cmdtest, since all bad chanlist errors should
return same value, so I should change my drivers

23 years agoadded a burst-mode-like command to comedi_get_cmd_generic_timed()
Frank Mori Hess [Thu, 12 Jul 2001 20:34:05 +0000 (20:34 +0000)]
added a burst-mode-like command to comedi_get_cmd_generic_timed()

23 years agomore comedi_cmd related documentation
Frank Mori Hess [Thu, 12 Jul 2001 20:28:43 +0000 (20:28 +0000)]
more comedi_cmd related documentation

23 years agofix for compile warning with range.c
Frank Mori Hess [Tue, 10 Jul 2001 23:12:16 +0000 (23:12 +0000)]
fix for compile warning with range.c

23 years agoUpdates from (someone), plus corrections and additions by ds.
David Schleef [Tue, 10 Jul 2001 22:58:04 +0000 (22:58 +0000)]
Updates from (someone), plus corrections and additions by ds.

23 years agoAdded comments
David Schleef [Tue, 10 Jul 2001 22:55:32 +0000 (22:55 +0000)]
Added comments

23 years agoclean python and perl, even if not built
David Schleef [Tue, 10 Jul 2001 22:33:05 +0000 (22:33 +0000)]
clean python and perl, even if not built

23 years agoAdded debug_ptr(). Fixed do_test_for_cmd()
David Schleef [Tue, 10 Jul 2001 22:31:16 +0000 (22:31 +0000)]
Added debug_ptr().  Fixed do_test_for_cmd()

23 years agoRemove sched.h, because we don't use it and uclibc doesn't have it
David Schleef [Tue, 10 Jul 2001 22:30:27 +0000 (22:30 +0000)]
Remove sched.h, because we don't use it and uclibc doesn't have it

23 years agoPerl demos moved from perl/ directory
David Schleef [Tue, 10 Jul 2001 22:28:06 +0000 (22:28 +0000)]
Perl demos moved from perl/ directory

23 years ago*** empty log message ***
David Schleef [Tue, 10 Jul 2001 22:26:36 +0000 (22:26 +0000)]
*** empty log message ***

23 years agoCopied the etc/ directory from Comedi
David Schleef [Tue, 10 Jul 2001 22:26:15 +0000 (22:26 +0000)]
Copied the etc/ directory from Comedi

23 years agoA text version, for all the crazies
David Schleef [Tue, 10 Jul 2001 22:25:26 +0000 (22:25 +0000)]
A text version, for all the crazies

23 years agoRemove comedilib_reference, rebuild comedilib*html
David Schleef [Tue, 10 Jul 2001 22:23:29 +0000 (22:23 +0000)]
Remove comedilib_reference, rebuild comedilib*html

23 years agoFix getopt segfaulting
David Schleef [Tue, 10 Jul 2001 22:21:12 +0000 (22:21 +0000)]
Fix getopt segfaulting

23 years agoChanged from siginfo handler to signal.
David Schleef [Mon, 9 Jul 2001 20:12:07 +0000 (20:12 +0000)]
Changed from siginfo handler to signal.

23 years agoMoved chatter behind if(verbose)
David Schleef [Mon, 9 Jul 2001 02:41:18 +0000 (02:41 +0000)]
Moved chatter behind if(verbose)

23 years agoadded CR_PACK description
Frank Mori Hess [Fri, 6 Jul 2001 18:11:48 +0000 (18:11 +0000)]
added CR_PACK description

23 years agoFixed getuid()/geteuid() problem causing modprobe post-install
David Schleef [Thu, 5 Jul 2001 05:21:44 +0000 (05:21 +0000)]
Fixed getuid()/geteuid() problem causing modprobe post-install
scripts to fail.  Updated usage information.

23 years agoAdded a little bit more to command section.
Frank Mori Hess [Mon, 2 Jul 2001 16:42:25 +0000 (16:42 +0000)]
Added a little bit more to command section.

23 years agoMore work on cmd trig sources
David Schleef [Sun, 1 Jul 2001 11:59:06 +0000 (11:59 +0000)]
More work on cmd trig sources

23 years agoadded a bit to the command section, merged comedilib_reference into this file.
Frank Mori Hess [Sun, 1 Jul 2001 01:02:36 +0000 (01:02 +0000)]
added a bit to the command section, merged comedilib_reference into this file.
Still have to document comedi_cmd struct and related functions.

23 years agoAdded install targets for perl, python, debian
David Schleef [Wed, 27 Jun 2001 22:21:45 +0000 (22:21 +0000)]
Added install targets for perl, python, debian

23 years agoChanged install target to install_debian
David Schleef [Wed, 27 Jun 2001 22:19:56 +0000 (22:19 +0000)]
Changed install target to install_debian

23 years agoUses deprecated functions, so added _COMEDILIB_DEPRECATED
David Schleef [Wed, 27 Jun 2001 22:18:47 +0000 (22:18 +0000)]
Uses deprecated functions, so added _COMEDILIB_DEPRECATED

23 years agoChanged from siginfo handler to simple signal handler
David Schleef [Wed, 27 Jun 2001 22:18:16 +0000 (22:18 +0000)]
Changed from siginfo handler to simple signal handler

23 years agoAdded #! line
David Schleef [Wed, 27 Jun 2001 22:17:38 +0000 (22:17 +0000)]
Added #! line

23 years agoAdded _COMEDILIB_DEPRECATED, 'cuz we still support it internally
David Schleef [Wed, 27 Jun 2001 22:17:17 +0000 (22:17 +0000)]
Added _COMEDILIB_DEPRECATED, 'cuz we still support it internally

23 years agoChange return value of comedi_close to int
David Schleef [Wed, 27 Jun 2001 22:16:42 +0000 (22:16 +0000)]
Change return value of comedi_close to int

23 years agoCleanup and rearrangement
David Schleef [Wed, 27 Jun 2001 22:16:08 +0000 (22:16 +0000)]
Cleanup and rearrangement

23 years agoFix bug about the return value of comedi_get_range()
David Schleef [Wed, 27 Jun 2001 22:15:31 +0000 (22:15 +0000)]
Fix bug about the return value of comedi_get_range()

23 years agore-autogenerated
David Schleef [Wed, 27 Jun 2001 22:14:20 +0000 (22:14 +0000)]
re-autogenerated

23 years agoDon't need fcntl(,F_SETSIG,)
David Schleef [Wed, 27 Jun 2001 22:12:32 +0000 (22:12 +0000)]
Don't need fcntl(,F_SETSIG,)

23 years agoFix previous bugus check-ins.
David Schleef [Wed, 27 Jun 2001 22:11:59 +0000 (22:11 +0000)]
Fix previous bugus check-ins.

23 years agoAdded device nodes
David Schleef [Wed, 27 Jun 2001 22:11:02 +0000 (22:11 +0000)]
Added device nodes

23 years agochange INFINITY to HUGE_VAL
David Schleef [Wed, 27 Jun 2001 22:10:33 +0000 (22:10 +0000)]
change INFINITY to HUGE_VAL

23 years ago*** empty log message ***
David Schleef [Wed, 27 Jun 2001 22:09:56 +0000 (22:09 +0000)]
*** empty log message ***

23 years agomade ao_waveform use same parse_options() as other demos
Frank Mori Hess [Wed, 27 Jun 2001 19:51:11 +0000 (19:51 +0000)]
made ao_waveform use same parse_options() as other demos

23 years agoupdate from wuttke joachim
Frank Mori Hess [Wed, 27 Jun 2001 19:42:19 +0000 (19:42 +0000)]
update from wuttke joachim

23 years agomade it refuse to resize buffer if we are removing device. Mostly change is
Frank Mori Hess [Thu, 21 Jun 2001 22:26:28 +0000 (22:26 +0000)]
made it refuse to resize buffer if we are removing device.  Mostly change is
whitespace, just added an if block.

23 years agonoted a Makefile problem
Frank Mori Hess [Wed, 20 Jun 2001 20:09:53 +0000 (20:09 +0000)]
noted a Makefile problem

23 years agoSome work on docs
David Schleef [Thu, 14 Jun 2001 09:13:08 +0000 (09:13 +0000)]
Some work on docs

23 years agorewrote
David Schleef [Wed, 13 Jun 2001 10:22:38 +0000 (10:22 +0000)]
rewrote

23 years agoAdded realtime command line option. Fixed tests to use realtime
David Schleef [Tue, 12 Jun 2001 10:41:09 +0000 (10:41 +0000)]
Added realtime command line option.  Fixed tests to use realtime
flag.  Added internal trigger test.

23 years agoFix realtime flag.
David Schleef [Tue, 12 Jun 2001 10:40:18 +0000 (10:40 +0000)]
Fix realtime flag.

23 years agoTest for internal triggering.
David Schleef [Tue, 12 Jun 2001 10:39:27 +0000 (10:39 +0000)]
Test for internal triggering.

23 years agoAdded insn ioctl support.
David Schleef [Tue, 12 Jun 2001 10:38:50 +0000 (10:38 +0000)]
Added insn ioctl support.
Added insn ioctl probing.
Renamed previously misnamed insnlist probing.
Rewrote comedi_data_read_n()

23 years agogeneral hacking, convert comedi_trigger to comedi_data_read_n
David Schleef [Tue, 12 Jun 2001 10:37:08 +0000 (10:37 +0000)]
general hacking, convert comedi_trigger to comedi_data_read_n

23 years agofixes for cross-compilation
David Schleef [Tue, 12 Jun 2001 10:36:25 +0000 (10:36 +0000)]
fixes for cross-compilation

23 years agoupdated reference to default buffer size from 128k -> 16k
Frank Mori Hess [Mon, 4 Jun 2001 00:37:21 +0000 (00:37 +0000)]
updated reference to default buffer size from 128k -> 16k

23 years agoAdd targets for python wrapper (disabled by default)
David Schleef [Mon, 28 May 2001 04:05:03 +0000 (04:05 +0000)]
Add targets for python wrapper (disabled by default)

23 years agohmmm... should compile things before I check them in.
David Schleef [Mon, 28 May 2001 04:00:34 +0000 (04:00 +0000)]
hmmm... should compile things before I check them in.

23 years agoFix things so that they actually work
David Schleef [Mon, 28 May 2001 03:57:32 +0000 (03:57 +0000)]
Fix things so that they actually work

23 years agofixed bug
Frank Mori Hess [Mon, 28 May 2001 03:35:34 +0000 (03:35 +0000)]
fixed bug

23 years agoa python wrapper
David Schleef [Mon, 28 May 2001 02:49:11 +0000 (02:49 +0000)]
a python wrapper

23 years agocopied from comedi
David Schleef [Mon, 28 May 2001 02:39:43 +0000 (02:39 +0000)]
copied from comedi

23 years agoadditional tests, fixes, move some functions to ../lib
David Schleef [Mon, 28 May 2001 02:39:00 +0000 (02:39 +0000)]
additional tests, fixes, move some functions to ../lib

23 years agostaging area for moving functions from here to ../lib
David Schleef [Mon, 28 May 2001 02:38:09 +0000 (02:38 +0000)]
staging area for moving functions from here to ../lib

23 years agoadded HAVE_COMEDI_POLL
David Schleef [Mon, 28 May 2001 02:36:41 +0000 (02:36 +0000)]
added HAVE_COMEDI_POLL

23 years agoadded cmd.c
David Schleef [Mon, 28 May 2001 02:36:20 +0000 (02:36 +0000)]
added cmd.c

23 years agoadded cmd related functions
David Schleef [Mon, 28 May 2001 02:36:03 +0000 (02:36 +0000)]
added cmd related functions

23 years agoadded get_subdevice_flags()
David Schleef [Mon, 28 May 2001 02:35:08 +0000 (02:35 +0000)]
added get_subdevice_flags()

23 years agoadded get_cmd_src_mask, get_cmd_generic_timed, comedi_poll()
David Schleef [Mon, 28 May 2001 02:34:32 +0000 (02:34 +0000)]
added get_cmd_src_mask, get_cmd_generic_timed, comedi_poll()