Commit graph

69 commits

Author SHA1 Message Date
David Schleef
f3ef54ca5c Handles range,maxdata information correctly. Internal triggering works. 2002-06-07 00:16:42 +00:00
Frank Mori Hess
303d9e7ff1 fix INTTRIG insn 2002-05-22 16:44:42 +00:00
David Schleef
d59513479b Use n_scans as the number of samples to measure. 2002-05-11 06:43:30 +00:00
David Schleef
0c0a3440db Get rid of spurious "subdevice does not support commands" warnings. 2002-05-10 19:08:58 +00:00
Frank Mori Hess
2a637ef62c replaced call to comedi_get_front_count() with call to identical comedi_get_buffer_offset()
since that is the function that is actually declared in comedilib.h
2002-04-16 20:51:56 +00:00
Frank Mori Hess
79614184d3 fixed error checking that tested for unsigned variables being negative 2002-04-02 19:55:33 +00:00
David Schleef
e3ab787c66 Added multi-channel support 2002-03-18 22:11:32 +00:00
David Schleef
ede9462423 perl demo 2002-03-18 21:52:13 +00:00
David Schleef
af2f7409a2 Changes to make it a little more robust 2002-03-18 21:50:40 +00:00
David Schleef
049c585b23 Make it work with the parallel port again 2002-01-22 09:34:49 +00:00
David Schleef
575761aed2 Fix to make the demo programs link statically with the local
library.
2002-01-21 00:33:05 +00:00
Frank Mori Hess
52a2615b4c included string.h for declaration of memset. 2002-01-08 20:38:16 +00:00
David Schleef
b1886b0378 Removed comedi_poll(), since it was moved to comedilib 2001-10-24 22:25:51 +00:00
Frank Mori Hess
a6f0492b24 fixed bug that I did that was noted by allan willcox 2001-08-31 23:19:52 +00:00
Frank Mori Hess
ea27e98235 modified to work with TRIG_INT, made it use the -F command line option to
set update frequency
2001-08-24 19:08:55 +00:00
David Schleef
3298f1fcc5 Fix includes 2001-07-30 20:38:54 +00:00
Frank Mori Hess
58b905a8c3 made insn demo take 10 samples again as it originally did 2001-07-25 15:53:57 +00:00
David Schleef
6e9354dc5d Add a few comments about recent changes in demos 2001-07-15 23:52:13 +00:00
David Schleef
f4f16b883d Get CFLAGS from ../Config 2001-07-15 23:14:09 +00:00
David Schleef
7973a0f2ad Change prototype of comedi_get_cmd_generic_timed 2001-07-15 22:39:54 +00:00
David Schleef
db0d0feba8 Needs string.h, not others 2001-07-15 19:58:15 +00:00
David Schleef
98ead7a4f9 Major hacking, just like cmd.c 2001-07-15 19:57:32 +00:00
David Schleef
8139bc3558 Replace <string.h> 2001-07-15 19:57:08 +00:00
David Schleef
a00960e008 Remove commented stuff 2001-07-15 19:56:31 +00:00
David Schleef
b668811b9c Changed main.c to common.c 2001-07-14 00:53:30 +00:00
David Schleef
31b3e7ed7f Changed the name of verbose_flag; Added a few more flags in main.c 2001-07-14 00:50:52 +00:00
David Schleef
68e8bf7b0d Major fixes and added inline documentation. It's actually somewhat
decent now.
2001-07-14 00:50:15 +00:00
David Schleef
8efb15052d Updates from (someone), plus corrections and additions by ds. 2001-07-10 22:58:04 +00:00
David Schleef
49e3830ddb Added comments 2001-07-10 22:55:32 +00:00
David Schleef
a21713730a Remove sched.h, because we don't use it and uclibc doesn't have it 2001-07-10 22:30:27 +00:00
David Schleef
f8cab16c4d Perl demos moved from perl/ directory 2001-07-10 22:28:06 +00:00
David Schleef
50cd1f83e8 Changed from siginfo handler to signal. 2001-07-09 20:12:07 +00:00
David Schleef
291d71d323 Don't need fcntl(,F_SETSIG,) 2001-06-27 22:12:32 +00:00
David Schleef
d9e3023ff0 Fix previous bugus check-ins. 2001-06-27 22:11:59 +00:00
Frank Mori Hess
e252726146 made ao_waveform use same parse_options() as other demos 2001-06-27 19:51:11 +00:00
Frank Mori Hess
172846db87 update from wuttke joachim 2001-06-27 19:42:19 +00:00
David Schleef
d4b04cd828 added poll example 2001-05-28 02:33:03 +00:00
Frank Mori Hess
3e2756029e removed outdated lseek stuff 2001-05-14 00:06:37 +00:00
Frank Mori Hess
7263bf6d2c explicitly initialized value, subdevice, channel, aref and range in main.c 2001-05-14 00:04:08 +00:00
David Schleef
01a017f515 5 new demos
cmd uses main.c
removal of direct ioctl calls
2001-03-01 21:57:00 +00:00
Frank Mori Hess
c7a45f3edf added some comments, including advice on how to make interrupt handler run at hard real time priority 2001-02-15 21:01:13 +00:00
David Schleef
65ccd0d6c0 bugfix 2001-01-23 18:22:24 +00:00
David Schleef
49bfad27af removed testing code 2000-11-30 22:59:39 +00:00
David Schleef
46247c4783 random cleanup 2000-11-30 01:29:10 +00:00
David Schleef
7cde371fd4 mmap demo and testing 2000-11-25 04:19:59 +00:00
David Schleef
5012a6d5c5 *** empty log message *** 2000-11-25 04:19:35 +00:00
David Schleef
1fb67651b6 added dio.c 2000-10-19 06:57:09 +00:00
David Schleef
307527f46b readded tut2 2000-10-19 06:31:29 +00:00
David Schleef
5e6da7c2f5 added header file for example common code 2000-10-19 06:29:14 +00:00
David Schleef
79a511162d Cleanup of example programs 2000-10-19 06:28:27 +00:00