Ian Abbott
0038ed1467
Handle COMEDI_SUBD_PWM and check for future unknown subdevice types.
2008-11-05 11:40:42 +00:00
Frank Mori Hess
c1082cee65
Fixed comedi_get_cmd_generic_timed() by adding a chanlist_len
...
parameter. Old version is still available in library, thanks to the
magic of the version_script.
2007-08-02 19:46:44 +00:00
Frank Mori Hess
c1995338a1
print max data value as unsigned value instead of signed, so 32 bit
...
counters show proper max value (instead of -1).
2007-01-05 19:35:14 +00:00
Frank Mori Hess
fbdf65b4f5
Made parse_options() write options to a struct instead of passing
...
them through global variables.
2007-01-03 21:14:53 +00:00
Ian Abbott
d349d2e12b
Use comedi_perror to report error if comedi_open fails, and exit with exit
...
code 1.
2006-07-13 17:06:33 +00:00
Ian Abbott
761ffc3e90
Applied (slightly modified) patch from David MacMahon
...
<davidm -at- astro -dot- berkeley -dot- edu>.
Reports specific error string (strerror(errno)) if comedi_open fails (I
changed the format slightly from David's).
Displays subdevice flags as a hexadecimal number.
2006-07-13 12:43:14 +00:00
Frank Mori Hess
8be0408187
add serial dio subdevice type
2004-02-29 16:49:29 +00:00
Frank Mori Hess
ea64ba8daa
fixing includes for exit(), memset() for gcc 2.96 compiler warnings
2003-01-01 23:07:02 +00:00
David Schleef
a220597b4b
remove some stuff that is in the lib now
2002-09-25 01:12:16 +00:00
David Schleef
0c0a3440db
Get rid of spurious "subdevice does not support commands" warnings.
2002-05-10 19:08:58 +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
David Schleef
79a511162d
Cleanup of example programs
2000-10-19 06:28:27 +00:00
David Schleef
5e8a77d52b
added lots of more information
2000-09-03 02:15:44 +00:00
David Schleef
748980971d
many random changes
2000-05-27 00:56:45 +00:00
David Schleef
b4bba38d0f
Initial revision
2000-02-02 05:14:23 +00:00