comedilib.git
24 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

24 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.

24 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

24 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

24 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()

24 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

24 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

24 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.

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

24 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

24 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()

24 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

24 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

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

24 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

24 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

24 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

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

24 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.

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

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

25 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.

25 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.

25 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

25 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.

25 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

25 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

25 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

25 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

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

25 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

25 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

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

25 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()

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

25 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,)

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

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

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

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

25 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

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

25 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.

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

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

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

25 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.

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

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

25 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()

25 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

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

25 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

25 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)

25 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.

25 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

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

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

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

25 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

25 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

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

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

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

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

25 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()

25 years agoadded poll example
David Schleef [Mon, 28 May 2001 02:33:03 +0000 (02:33 +0000)]
added poll example

25 years agomore results
David Schleef [Mon, 28 May 2001 02:31:40 +0000 (02:31 +0000)]
more results

25 years agoChanged to LGPL, because that's what it was supposed to be.
David Schleef [Mon, 28 May 2001 02:28:55 +0000 (02:28 +0000)]
Changed to LGPL, because that's what it was supposed to be.

25 years agochanged N_CALDACS to 32
David Schleef [Thu, 24 May 2001 18:22:26 +0000 (18:22 +0000)]
changed N_CALDACS to 32

25 years agoremoved outdated lseek stuff
Frank Mori Hess [Mon, 14 May 2001 00:06:37 +0000 (00:06 +0000)]
removed outdated lseek stuff

25 years agoexplicitly initialized value, subdevice, channel, aref and range in main.c
Frank Mori Hess [Mon, 14 May 2001 00:04:08 +0000 (00:04 +0000)]
explicitly initialized value, subdevice, channel, aref and range in main.c

25 years agochanged all GPCTR names to GPCT
Tim Ousley [Fri, 4 May 2001 16:41:49 +0000 (16:41 +0000)]
changed all GPCTR names to GPCT

25 years agoadded checks for malloc failure
Frank Mori Hess [Wed, 2 May 2001 15:16:03 +0000 (15:16 +0000)]
added checks for malloc failure

25 years agoa small step towards standardized comedi error codes
Frank Mori Hess [Wed, 2 May 2001 00:08:28 +0000 (00:08 +0000)]
a small step towards standardized comedi error codes

25 years agoadded copy of GPL
Frank Mori Hess [Tue, 1 May 2001 20:51:09 +0000 (20:51 +0000)]
added copy of GPL

25 years agoFixed test for debian package build
David Schleef [Sat, 28 Apr 2001 16:14:59 +0000 (16:14 +0000)]
Fixed test for debian package build

25 years agoput back comedi_get_max_buffer_size
Frank Mori Hess [Fri, 27 Apr 2001 20:33:36 +0000 (20:33 +0000)]
put back comedi_get_max_buffer_size

25 years agoadded #define for GPCTR_GET_INT_CLK_FRQ
Tim Ousley [Fri, 27 Apr 2001 19:06:22 +0000 (19:06 +0000)]
added #define for GPCTR_GET_INT_CLK_FRQ

25 years agoremoved buffer config functions that I accidentally duplicated, made names of alpha...
Frank Mori Hess [Tue, 24 Apr 2001 16:37:51 +0000 (16:37 +0000)]
removed buffer config functions that I accidentally duplicated, made names of alpha functions follow conventions of older functions

25 years agoadded GPCTR constants.
Tim Ousley [Fri, 20 Apr 2001 19:47:54 +0000 (19:47 +0000)]
added GPCTR constants.

25 years agoadded some comments describing alpha functions
Frank Mori Hess [Sun, 8 Apr 2001 22:28:25 +0000 (22:28 +0000)]
added some comments describing alpha functions

25 years agoadded comedi_buf_offset function that returns buf_user_ptr
Frank Mori Hess [Sun, 8 Apr 2001 18:03:05 +0000 (18:03 +0000)]
added comedi_buf_offset function that returns buf_user_ptr

25 years agoforgot to add buffer.c file containing definitions for new functions
Frank Mori Hess [Sun, 8 Apr 2001 18:02:20 +0000 (18:02 +0000)]
forgot to add buffer.c file containing definitions for new functions

25 years agoadded buffer info ioctl support and some alpha buffer related functions
Frank Mori Hess [Fri, 6 Apr 2001 23:12:42 +0000 (23:12 +0000)]
added buffer info ioctl support and some alpha buffer related functions

25 years agoa script probably only useful to ds
David Schleef [Tue, 13 Mar 2001 09:35:07 +0000 (09:35 +0000)]
a script probably only useful to ds

25 years agomake install now installs man pages to the wrong place, as per
David Schleef [Tue, 13 Mar 2001 09:34:04 +0000 (09:34 +0000)]
make install now installs man pages to the wrong place, as per
user request

25 years ago*** empty log message ***
David Schleef [Tue, 13 Mar 2001 09:32:57 +0000 (09:32 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
David Schleef [Wed, 7 Mar 2001 05:09:19 +0000 (05:09 +0000)]
*** empty log message ***

25 years agochange bufconfig version test from 0.7.56 to 0.7.57 r0_7_15
David Schleef [Fri, 2 Mar 2001 06:52:57 +0000 (06:52 +0000)]
change bufconfig version test from 0.7.56 to 0.7.57

25 years agoadded test to make sure area is unmapped
David Schleef [Fri, 2 Mar 2001 06:52:06 +0000 (06:52 +0000)]
added test to make sure area is unmapped

25 years ago*** empty log message ***
David Schleef [Fri, 2 Mar 2001 06:50:53 +0000 (06:50 +0000)]
*** empty log message ***

25 years agochanged bufconfig to support new bufconfig structure
David Schleef [Thu, 1 Mar 2001 22:01:15 +0000 (22:01 +0000)]
changed bufconfig to support new bufconfig structure

25 years agoadded bufconfig test
David Schleef [Thu, 1 Mar 2001 21:59:01 +0000 (21:59 +0000)]
added bufconfig test

25 years agobufconfig support
David Schleef [Thu, 1 Mar 2001 21:58:37 +0000 (21:58 +0000)]
bufconfig support

25 years agoenabled use of instructions for dio_bits
David Schleef [Thu, 1 Mar 2001 21:58:28 +0000 (21:58 +0000)]
enabled use of instructions for dio_bits

25 years agoadded bufconfig support
David Schleef [Thu, 1 Mar 2001 21:57:33 +0000 (21:57 +0000)]
added bufconfig support

25 years ago5 new demos
David Schleef [Thu, 1 Mar 2001 21:57:00 +0000 (21:57 +0000)]
5 new demos
cmd uses main.c
removal of direct ioctl calls

25 years agoadded dependency on debhelper
David Schleef [Thu, 1 Mar 2001 21:54:37 +0000 (21:54 +0000)]
added dependency on debhelper

25 years agofixes for DAQCard-AI-16XE-50 and new pci-6023e
David Schleef [Thu, 1 Mar 2001 21:54:08 +0000 (21:54 +0000)]
fixes for DAQCard-AI-16XE-50 and new pci-6023e
better dumping support
better statistics