comedilib.git
21 years agoremove check for python >= 2.2
David Schleef [Wed, 4 Jun 2003 20:27:25 +0000 (20:27 +0000)]
remove check for python >= 2.2

21 years agoUse autoconf-located includes for python
David Schleef [Wed, 4 Jun 2003 20:00:29 +0000 (20:00 +0000)]
Use autoconf-located includes for python

21 years agoFix name of comedi module
David Schleef [Wed, 4 Jun 2003 04:23:57 +0000 (04:23 +0000)]
Fix name of comedi module

21 years agonew snapshot
David Schleef [Wed, 4 Jun 2003 04:23:22 +0000 (04:23 +0000)]
new snapshot

21 years agoChange return value of comedi_data_{read|write}()
David Schleef [Wed, 4 Jun 2003 04:15:02 +0000 (04:15 +0000)]
Change return value of comedi_data_{read|write}()

21 years agomove files to python-comedi
David Schleef [Wed, 4 Jun 2003 03:38:06 +0000 (03:38 +0000)]
move files to python-comedi

21 years agoautogenerate spec file
David Schleef [Wed, 4 Jun 2003 03:36:55 +0000 (03:36 +0000)]
autogenerate spec file

21 years agomake autogenerated
David Schleef [Wed, 4 Jun 2003 03:34:57 +0000 (03:34 +0000)]
make autogenerated

21 years agohacking. Don't know if this works :)
David Schleef [Wed, 4 Jun 2003 03:33:59 +0000 (03:33 +0000)]
hacking.  Don't know if this works :)

21 years agolearn how to write sh correctly
David Schleef [Wed, 4 Jun 2003 03:04:42 +0000 (03:04 +0000)]
learn how to write sh correctly

21 years agostolen from gst-python
David Schleef [Wed, 4 Jun 2003 03:03:17 +0000 (03:03 +0000)]
stolen from gst-python

21 years agotouch some missing files
David Schleef [Wed, 4 Jun 2003 03:02:25 +0000 (03:02 +0000)]
touch some missing files

21 years agoer, don't really want to use acinclude.m4
David Schleef [Wed, 4 Jun 2003 02:59:18 +0000 (02:59 +0000)]
er, don't really want to use acinclude.m4

21 years agoacinclude.m4 stolen from gst-python
David Schleef [Wed, 4 Jun 2003 02:58:00 +0000 (02:58 +0000)]
acinclude.m4 stolen from gst-python

21 years agoneed to dist these files.
David Schleef [Wed, 4 Jun 2003 02:55:50 +0000 (02:55 +0000)]
need to dist these files.

21 years agoadd #! line
David Schleef [Wed, 4 Jun 2003 02:54:41 +0000 (02:54 +0000)]
add #! line

21 years agoAdd python examples from Luc Lefebvre <luc.lefebvre@mcgill.ca>
David Schleef [Wed, 4 Jun 2003 02:53:45 +0000 (02:53 +0000)]
Add python examples from Luc Lefebvre <luc.lefebvre@mcgill.ca>

21 years agoregenerate
David Schleef [Wed, 4 Jun 2003 02:49:23 +0000 (02:49 +0000)]
regenerate

21 years agoupdate
David Schleef [Wed, 4 Jun 2003 02:48:32 +0000 (02:48 +0000)]
update

21 years agonot needed with new debhelper
David Schleef [Wed, 4 Jun 2003 02:48:00 +0000 (02:48 +0000)]
not needed with new debhelper

21 years agoinstall in a more debhelper-friendly way
David Schleef [Wed, 4 Jun 2003 02:47:41 +0000 (02:47 +0000)]
install in a more debhelper-friendly way

21 years agopackaging fixes
David Schleef [Wed, 4 Jun 2003 02:47:15 +0000 (02:47 +0000)]
packaging fixes

21 years agotell people to submit a bug report
David Schleef [Wed, 4 Jun 2003 02:47:00 +0000 (02:47 +0000)]
tell people to submit a bug report

21 years agono longer used
David Schleef [Wed, 4 Jun 2003 02:46:41 +0000 (02:46 +0000)]
no longer used

21 years agomoved to ..
David Schleef [Wed, 4 Jun 2003 02:43:49 +0000 (02:43 +0000)]
moved to ..

21 years agomove out of rpm directory
David Schleef [Wed, 4 Jun 2003 02:43:12 +0000 (02:43 +0000)]
move out of rpm directory

21 years agoFixes to make python and docs build correctly
David Schleef [Wed, 4 Jun 2003 02:42:08 +0000 (02:42 +0000)]
Fixes to make python and docs build correctly

21 years agoRewrite of python wrappers based on swig
David Schleef [Tue, 3 Jun 2003 23:57:32 +0000 (23:57 +0000)]
Rewrite of python wrappers based on swig

21 years agoremoved obsolete advanced.sgml. Got rid of references to hard-coded
Frank Mori Hess [Sun, 1 Jun 2003 18:58:55 +0000 (18:58 +0000)]
removed obsolete advanced.sgml.  Got rid of references to hard-coded
comedi_config paths

21 years agoremoved assumption that comedi_config is in /usr/sbin
Frank Mori Hess [Sun, 1 Jun 2003 18:44:41 +0000 (18:44 +0000)]
removed assumption that comedi_config is in /usr/sbin

21 years agofix script for different common comedi_config paths
Frank Mori Hess [Sun, 1 Jun 2003 18:38:22 +0000 (18:38 +0000)]
fix script for different common comedi_config paths

21 years agomove some warning messages so they will actually get seen
Frank Mori Hess [Sat, 31 May 2003 16:59:29 +0000 (16:59 +0000)]
move some warning messages so they will actually get seen

21 years agobe a little more careful about fixing up calibration file path, although
Frank Mori Hess [Sat, 31 May 2003 16:58:45 +0000 (16:58 +0000)]
be a little more careful about fixing up calibration file path, although
it doesn't make any practical difference

21 years agocatch some errors
Frank Mori Hess [Wed, 28 May 2003 21:22:59 +0000 (21:22 +0000)]
catch some errors

21 years agofix default calibration file path for boards with '/' in name
Frank Mori Hess [Wed, 28 May 2003 21:18:34 +0000 (21:18 +0000)]
fix default calibration file path for boards with '/' in name

21 years agoreplace return with YYABORT
Frank Mori Hess [Wed, 28 May 2003 18:55:36 +0000 (18:55 +0000)]
replace return with YYABORT

21 years agoupdate.
David Schleef [Tue, 27 May 2003 19:05:56 +0000 (19:05 +0000)]
update.

21 years agoadded support for new cb_pcidas64 board types
Frank Mori Hess [Sun, 25 May 2003 21:20:41 +0000 (21:20 +0000)]
added support for new cb_pcidas64 board types

21 years agomade sv order adjustable
Frank Mori Hess [Sun, 25 May 2003 21:11:20 +0000 (21:11 +0000)]
made sv order adjustable

21 years agofix statistics of new_sv_measure, and reduce number of steps in
Frank Mori Hess [Sun, 25 May 2003 16:20:42 +0000 (16:20 +0000)]
fix statistics of new_sv_measure, and reduce number of steps in
check_gain_chan_x

21 years agouse CR_EDGE and CR_INVERT constants instead of magic numbers
Frank Mori Hess [Sat, 24 May 2003 21:15:06 +0000 (21:15 +0000)]
use CR_EDGE and CR_INVERT constants instead of magic numbers

21 years agonew results
Frank Mori Hess [Thu, 22 May 2003 21:40:50 +0000 (21:40 +0000)]
new results

21 years agomake verbosity options work again
Frank Mori Hess [Thu, 22 May 2003 20:49:53 +0000 (20:49 +0000)]
make verbosity options work again

21 years agotrivial tweak
Frank Mori Hess [Thu, 22 May 2003 20:42:34 +0000 (20:42 +0000)]
trivial tweak

21 years agoincreased sv->order for 611x
Frank Mori Hess [Thu, 22 May 2003 20:30:41 +0000 (20:30 +0000)]
increased sv->order for 611x

21 years agostill trying to get 611x ai to calibrate well, trying to increase
Frank Mori Hess [Thu, 22 May 2003 16:13:12 +0000 (16:13 +0000)]
still trying to get 611x ai to calibrate well, trying to increase
settling time now.

21 years agocleanup some redundant initialization of sv stuff
Frank Mori Hess [Thu, 22 May 2003 16:12:07 +0000 (16:12 +0000)]
cleanup some redundant initialization of sv stuff

21 years agofix analog out ch 1 calibration, and calulation of variable ai
Frank Mori Hess [Wed, 21 May 2003 18:44:28 +0000 (18:44 +0000)]
fix analog out ch 1 calibration, and calulation of variable ai
reference source for 611x

21 years agoadded some warning messages when binary calibrations set caldacs to
Frank Mori Hess [Wed, 21 May 2003 17:52:41 +0000 (17:52 +0000)]
added some warning messages when binary calibrations set caldacs to
max/min values

21 years agoincrease N_OBSERVABLES even more for 611x
Frank Mori Hess [Wed, 21 May 2003 17:16:09 +0000 (17:16 +0000)]
increase N_OBSERVABLES even more for 611x

21 years agofix assignments that should have been equality tests
Frank Mori Hess [Tue, 20 May 2003 15:09:01 +0000 (15:09 +0000)]
fix assignments that should have been equality tests

21 years agomade comedi_config install into sbin instead of bin subdirectory
Frank Mori Hess [Mon, 19 May 2003 23:31:47 +0000 (23:31 +0000)]
made comedi_config install into sbin instead of bin subdirectory

21 years agotrying to fix undefined symbol problems people are having
Frank Mori Hess [Sun, 18 May 2003 00:26:59 +0000 (00:26 +0000)]
trying to fix undefined symbol problems people are having

21 years agoadded -D_REENTRANT to library cflags
Frank Mori Hess [Fri, 16 May 2003 21:15:17 +0000 (21:15 +0000)]
added -D_REENTRANT to library cflags

21 years agoupdated for autoconf stuff
Frank Mori Hess [Fri, 16 May 2003 19:41:13 +0000 (19:41 +0000)]
updated for autoconf stuff

21 years agoadded some DPRINT's to ni_labpc calibration so there is some indication
Frank Mori Hess [Fri, 9 May 2003 00:04:12 +0000 (00:04 +0000)]
added some DPRINT's to ni_labpc calibration so there is some indication
it is doing something

21 years agoadded driver name to default calibration file path
Frank Mori Hess [Fri, 9 May 2003 00:00:51 +0000 (00:00 +0000)]
added driver name to default calibration file path

21 years agoadded ni_labpc support
Frank Mori Hess [Thu, 8 May 2003 23:57:03 +0000 (23:57 +0000)]
added ni_labpc support

21 years agoadded entries for additional calibration functions
Frank Mori Hess [Thu, 8 May 2003 00:35:19 +0000 (00:35 +0000)]
added entries for additional calibration functions

21 years agofix broken dependencies, and man page generation
Frank Mori Hess [Thu, 8 May 2003 00:34:29 +0000 (00:34 +0000)]
fix broken dependencies, and man page generation

21 years agoadded examples, and more/updated option descriptions
Frank Mori Hess [Wed, 7 May 2003 18:12:28 +0000 (18:12 +0000)]
added examples, and more/updated option descriptions

21 years agofixed some bad behaviour when using default calibration file path
Frank Mori Hess [Wed, 7 May 2003 00:13:00 +0000 (00:13 +0000)]
fixed some bad behaviour when using default calibration file path

21 years agomade default comedi_calibrate behaviour a little smarter, shared more
Frank Mori Hess [Tue, 6 May 2003 23:37:45 +0000 (23:37 +0000)]
made default comedi_calibrate behaviour a little smarter, shared more
code between comedilib and comedi_calibrate

21 years agoexposed some lower-level calibration functions for more flexibility
Frank Mori Hess [Tue, 6 May 2003 18:26:21 +0000 (18:26 +0000)]
exposed some lower-level calibration functions for more flexibility

21 years agocleanup old 1602/16 stuff
Frank Mori Hess [Tue, 6 May 2003 05:50:04 +0000 (05:50 +0000)]
cleanup old 1602/16 stuff

21 years agoadded options for specifying which subdev, channel, range, aref you
Frank Mori Hess [Tue, 6 May 2003 01:24:50 +0000 (01:24 +0000)]
added options for specifying which subdev, channel, range, aref you
want comedi_calibrate to apply calibration for before exiting

21 years agochanged convention for default calibration file naming to something
Frank Mori Hess [Tue, 6 May 2003 00:36:18 +0000 (00:36 +0000)]
changed convention for default calibration file naming to something
more transparent and robust (since I figured out how to get minor number
from code for ls)

21 years agotook out some debug messages i accidentaly left in
Frank Mori Hess [Mon, 5 May 2003 14:37:39 +0000 (14:37 +0000)]
took out some debug messages i accidentaly left in

21 years agomade polarity determination in binary calibrations more robust, to fix
Frank Mori Hess [Mon, 5 May 2003 03:38:26 +0000 (03:38 +0000)]
made polarity determination in binary calibrations more robust, to fix
problems I saw when caldac pushed input out-of-range

21 years agofixed comedi_apply_calibration so it applies all matching calibrations
Frank Mori Hess [Mon, 5 May 2003 03:18:19 +0000 (03:18 +0000)]
fixed comedi_apply_calibration so it applies all matching calibrations
instead of just the first one

21 years agoincreased max number of observables for 611x boards, added postgain
Frank Mori Hess [Mon, 5 May 2003 00:11:50 +0000 (00:11 +0000)]
increased max number of observables for 611x boards, added postgain
offset to generic calibration routines, used generic cal for mc pci-das1602/16
calibration.

21 years agopruned some dead code
Frank Mori Hess [Mon, 5 May 2003 00:09:12 +0000 (00:09 +0000)]
pruned some dead code

21 years agoconverted all remaining boards (except mc pci-das1602/16) to use
Frank Mori Hess [Sun, 4 May 2003 02:16:31 +0000 (02:16 +0000)]
converted all remaining boards (except mc pci-das1602/16) to use
generic calibration support

21 years agorearranged prep of adc for dac calibration to be more flexible
Frank Mori Hess [Sat, 3 May 2003 22:25:05 +0000 (22:25 +0000)]
rearranged prep of adc for dac calibration to be more flexible

21 years agoconverted calibration of measurement computing 60xx boards over to
Frank Mori Hess [Sat, 3 May 2003 22:08:24 +0000 (22:08 +0000)]
converted calibration of measurement computing 60xx boards over to
generic code

21 years agomoved COMEDI_VERSION_CODE() macro to comedilib.h, added some version
Frank Mori Hess [Sat, 3 May 2003 14:59:26 +0000 (14:59 +0000)]
moved COMEDI_VERSION_CODE() macro to comedilib.h, added some version
checks to comedi_calibrate so it complains if it's using a driver
with known bugs.  Converted 6071 calibration to ad8804 addressing.

21 years agoi shouldn't have made comedi_internal_data_read() inline, it's too long,
Frank Mori Hess [Sat, 3 May 2003 14:57:15 +0000 (14:57 +0000)]
i shouldn't have made comedi_internal_data_read() inline, it's too long,
and it causes gcc 2.9 to produce a bogus warning

21 years agofixed 6035 dac1 offset caldac, added inactive 6071e calibration guess
Frank Mori Hess [Sat, 3 May 2003 01:11:01 +0000 (01:11 +0000)]
fixed 6035 dac1 offset caldac, added inactive 6071e calibration guess
for an ad8804 style caldac

21 years agonew results
Frank Mori Hess [Sat, 3 May 2003 00:28:20 +0000 (00:28 +0000)]
new results

21 years agoupdated dump, with driver caldac corrected to ad8804
Frank Mori Hess [Sat, 3 May 2003 00:17:47 +0000 (00:17 +0000)]
updated dump, with driver caldac corrected to ad8804

21 years agoremove system identifiers
David Schleef [Fri, 2 May 2003 23:49:12 +0000 (23:49 +0000)]
remove system identifiers

21 years agochange section to libdevel
David Schleef [Fri, 2 May 2003 23:47:47 +0000 (23:47 +0000)]
change section to libdevel

21 years agoAdd DAQCard-6024E
David Schleef [Fri, 2 May 2003 23:43:42 +0000 (23:43 +0000)]
Add DAQCard-6024E

21 years agonew results
David Schleef [Fri, 2 May 2003 23:41:44 +0000 (23:41 +0000)]
new results

21 years agoadded 'write to file' support for ni 611x boards, and calibration
Frank Mori Hess [Fri, 2 May 2003 21:58:23 +0000 (21:58 +0000)]
added 'write to file' support for ni 611x boards, and calibration
of all their input ranges.

21 years agoclean better
David Schleef [Fri, 2 May 2003 08:06:17 +0000 (08:06 +0000)]
clean better

21 years agoremove
David Schleef [Fri, 2 May 2003 08:01:09 +0000 (08:01 +0000)]
remove

21 years agoautoconfiscate
David Schleef [Fri, 2 May 2003 07:53:44 +0000 (07:53 +0000)]
autoconfiscate

21 years agoneed headers
David Schleef [Fri, 2 May 2003 07:53:02 +0000 (07:53 +0000)]
need headers

21 years agodemos should be nodist
David Schleef [Fri, 2 May 2003 07:52:24 +0000 (07:52 +0000)]
demos should be nodist

21 years agoclean up warning
David Schleef [Fri, 2 May 2003 07:37:03 +0000 (07:37 +0000)]
clean up warning

21 years agoFix yacc and lex building
David Schleef [Fri, 2 May 2003 07:33:20 +0000 (07:33 +0000)]
Fix yacc and lex building

21 years agoautoconfiscation
David Schleef [Fri, 2 May 2003 07:19:00 +0000 (07:19 +0000)]
autoconfiscation

21 years agoconverted all NI boards to write calibrations to file. Also, it will
Frank Mori Hess [Fri, 2 May 2003 00:54:07 +0000 (00:54 +0000)]
converted all NI boards to write calibrations to file.  Also, it will
calibrate unipolar analog output ranges separately for them.

21 years agofix get_bipolar_lowgain() which i broke
Frank Mori Hess [Thu, 1 May 2003 14:43:50 +0000 (14:43 +0000)]
fix get_bipolar_lowgain() which i broke

21 years agoadded unipolar analog output observables
Frank Mori Hess [Wed, 30 Apr 2003 22:59:07 +0000 (22:59 +0000)]
added unipolar analog output observables

21 years agoadded some comments on cal_*binary() functions
Frank Mori Hess [Wed, 30 Apr 2003 20:36:15 +0000 (20:36 +0000)]
added some comments on cal_*binary() functions

21 years agomade all cal_*binary() functions set oor behaviour to COMEDI_OOR_NUMBER
Frank Mori Hess [Wed, 30 Apr 2003 20:30:04 +0000 (20:30 +0000)]
made all cal_*binary() functions set oor behaviour to COMEDI_OOR_NUMBER

21 years agoadded is_unipolar() and is_bipolar() query functions, added very_low_target()
Frank Mori Hess [Wed, 30 Apr 2003 20:17:44 +0000 (20:17 +0000)]
added is_unipolar() and is_bipolar() query functions, added very_low_target()
helper function for generating unipolar targets that are close but not zero.

21 years agoadded support for reading reference from eeprom for most boards
Frank Mori Hess [Wed, 30 Apr 2003 01:06:17 +0000 (01:06 +0000)]
added support for reading reference from eeprom for most boards