[prev in list] [next in list] [prev in thread] [next in thread] 

List:       comedi
Subject:    Re: ni 6220 m and comedi_soft_calibrate
From:       Frank Mori Hess <fmhess () speakeasy ! net>
Date:       2006-10-02 2:50:34
Message-ID: 200610012250.35003.fmhess () speakeasy ! net
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]


On Thursday 28 September 2006 12:53 pm, Jon Weisz wrote:
> I finally got comedi_soft_config to compile after some problems with
> libstdc++ versions being different, but now Comedi_soft_calibrate fails
> with this output:
>         estimate of mean = 65535
>         estimate of standard deviation = 0
>         estimate of standard deviation of mean = 0
> comedi_soft_calibrate: ni_m_series_calibrator.cpp:592: unsigned int
> NIMSeries::References::getMinSamplePeriodNanosec() const: Assertion
> `retval == 0 || retval >=3' failed.

That looks odd, since it seems it is aborting in 
NIMSeries::Calibrator::characterizePWM() in the 
getMinSamplePeriodNanosec() call.  But it looks like it makes it though 
the loop once, so getMinSamplePeriodNanosec() must succeed at least once 
before failing.  Maybe some memory is getting corrupted in the first pass 
through the loop?  Valgrind gives a lot of warnings when I run 
comedi_soft_calibrate through it (most of which are probably bogus) but it 
wouldn't hurt to make comedilib valgrind-clean.

The other secondary problem is the reading of 65535 is saturated, which 
might indicate that the input range is not getting set correctly.  You 
might try doing some simple readings with comedilib/demo/inp to see if you 
get anything reasonable.

For reference, I've attached the output of a successful run with a 6289.

>
> dmesg shows this:
>  m_series_stc_readw: bug! unhandled register=0x7 in switch.
>
> also of note in dmesg:
>
> [17194230.332000]  ( irq = 209 )m_series_stc_writew: FIXME: register 0xb
> does not map cleanly on to m-series boards.[17194230.332000]
> m_series_stc_writew: bug! unhandled register=0x3a in switch.
> [17194230.332000] m_series_stc_writew: bug! unhandled register=0x4f in
> switch.
> [17194230.336000] m_series_stc_writew: bug! unhandled register=0x50 in
> switch.
> [17194230.336000]
>
> If noone has time to fix the driver  but can advise me as to what needs
> looking in to, I'd be glad to give it a try.

The warnings about the registers are to be expected, they shouldn't cause a 
problem for calibration.  They happen for me too with the 6289.  

If you want to look into the problem you are seeing yourself, the idea is 
that getMinSamplePeriodNanosec() is calling comedi_command_test() to find 
out what the fastest sampling rate of your board is.  
comedi_command_test() eventually calls ni_ai_cmdtest() in 
comedi/drivers/ni_mio_common.c which is supposed to fix up the 
scan_begin_arg of the command in "step 4" and return 4.
 
-- 
Frank


["mycalstdout" (text/plain)]

i = 1
	estimate of mean = 243742
	estimate of standard deviation = 59.2276
	estimate of standard deviation of mean = 0.483543
i = 2
	estimate of mean = 231240
	estimate of standard deviation = 116.798
	estimate of standard deviation of mean = 0.95356
i = 3
	estimate of mean = 218739
	estimate of standard deviation = 170.266
	estimate of standard deviation of mean = 1.39008
i = 4
	estimate of mean = 206237
	estimate of standard deviation = 218.42
	estimate of standard deviation of mean = 1.78322
i = 5
	estimate of mean = 193734
	estimate of standard deviation = 260.553
	estimate of standard deviation of mean = 2.1272
i = 6
	estimate of mean = 181232
	estimate of standard deviation = 295.892
	estimate of standard deviation of mean = 2.41571
i = 7
	estimate of mean = 168730
	estimate of standard deviation = 324.036
	estimate of standard deviation of mean = 2.64548
i = 8
	estimate of mean = 156228
	estimate of standard deviation = 344.41
	estimate of standard deviation of mean = 2.81182
i = 9
	estimate of mean = 143726
	estimate of standard deviation = 356.854
	estimate of standard deviation of mean = 2.91341
i = 10
	estimate of mean = 131224
	estimate of standard deviation = 361.159
	estimate of standard deviation of mean = 2.94856
i = 11
	estimate of mean = 118721
	estimate of standard deviation = 357.252
	estimate of standard deviation of mean = 2.91666
i = 12
	estimate of mean = 106219
	estimate of standard deviation = 345.274
	estimate of standard deviation of mean = 2.81887
i = 13
	estimate of mean = 93717
	estimate of standard deviation = 325.301
	estimate of standard deviation of mean = 2.65581
i = 14
	estimate of mean = 81214.7
	estimate of standard deviation = 297.598
	estimate of standard deviation of mean = 2.42964
i = 15
	estimate of mean = 68712.2
	estimate of standard deviation = 262.634
	estimate of standard deviation of mean = 2.14419
i = 16
	estimate of mean = 56210
	estimate of standard deviation = 220.757
	estimate of standard deviation of mean = 1.80229
i = 17
	estimate of mean = 43707.9
	estimate of standard deviation = 172.836
	estimate of standard deviation of mean = 1.41106
i = 18
	estimate of mean = 31205.7
	estimate of standard deviation = 119.675
	estimate of standard deviation of mean = 0.977048
i = 19
	estimate of mean = 18703.8
	estimate of standard deviation = 62.2694
	estimate of standard deviation of mean = 0.508377
Polynomial:
	order = 3
	expansion origin = 131071
	order 0 coefficient = 131028
	order 1 coefficient = 0.955341
	order 2 coefficient = -5.65855e-11
	order 3 coefficient = -7.26745e-16
calibrating base range 0 ...
referenceVoltage=6.8658
measuredGroundCode=130742 linearizedGroundCode=130713
measuredReferenceCode=216697 linearizedReferenceCode=212829
fullCorrection(measuredGroundCode)=-1.28764e-16
fullCorrection(measuredReferenceCode)=6.8658
Polynomial:
	order = 3
	expansion origin = 131071
	order 0 coefficient = 0.0262945
	order 1 coefficient = 7.98768e-05
	order 2 coefficient = -4.73116e-15
	order 3 coefficient = -6.07637e-20
done.
sanity check:
upTicks=32 code=243742 PWMCal=9.02609 ADRangeCal=9.02596 LSBError=-1.70497
upTicks=64 code=231240 PWMCal=8.02747 ADRangeCal=8.02737 LSBError=-1.15473
upTicks=96 code=218739 PWMCal=7.02884 ADRangeCal=7.02883 LSBError=-0.0515373
upTicks=128 code=206237 PWMCal=6.03021 ADRangeCal=6.03025 LSBError=0.489166
upTicks=160 code=193734 PWMCal=5.03158 ADRangeCal=5.03162 LSBError=0.423767
upTicks=192 code=181232 PWMCal=4.03295 ADRangeCal=4.033 LSBError=0.592286
upTicks=224 code=168730 PWMCal=3.03433 ADRangeCal=3.03439 LSBError=0.838012
upTicks=256 code=156228 PWMCal=2.0357 ADRangeCal=2.03576 LSBError=0.758873
upTicks=288 code=143726 PWMCal=1.03707 ADRangeCal=1.03713 LSBError=0.676263
upTicks=320 code=131224 PWMCal=0.0384434 ADRangeCal=0.0384879 LSBError=0.557309
upTicks=352 code=118721 PWMCal=-0.960184 ADRangeCal=-0.960157 LSBError=0.342276
upTicks=384 code=106219 PWMCal=-1.95881 ADRangeCal=-1.95879 LSBError=0.218254
upTicks=416 code=93717 PWMCal=-2.95744 ADRangeCal=-2.95743 LSBError=0.14177
upTicks=448 code=81214.7 PWMCal=-3.95607 ADRangeCal=-3.95607 LSBError=-0.0554919
upTicks=480 code=68712.2 PWMCal=-4.9547 ADRangeCal=-4.95473 LSBError=-0.433665
upTicks=512 code=56210 PWMCal=-5.95332 ADRangeCal=-5.95337 LSBError=-0.535176
upTicks=544 code=43707.9 PWMCal=-6.95195 ADRangeCal=-6.95199 LSBError=-0.529008
upTicks=576 code=31205.7 PWMCal=-7.95058 ADRangeCal=-7.95061 LSBError=-0.448634
upTicks=608 code=18703.8 PWMCal=-8.94921 ADRangeCal=-8.94922 LSBError=-0.124766
calibrating range 1 ...
referenceVoltage=4.50106
measuredGroundCode=130715 linearizedGroundCode=130688
measuredReferenceCode=243357 linearizedReferenceCode=238297
fullCorrection(measuredGroundCode)=-1.6718e-16
fullCorrection(measuredReferenceCode)=4.50106
Polynomial:
	order = 3
	expansion origin = 131071
	order 0 coefficient = 0.0142119
	order 1 coefficient = 3.99599e-05
	order 2 coefficient = -2.36685e-15
	order 3 coefficient = -3.03982e-20
done.
calibrating range 2 ...
referenceVoltage=1.78604
measuredGroundCode=130759 linearizedGroundCode=130729
measuredReferenceCode=242503 linearizedReferenceCode=237481
fullCorrection(measuredGroundCode)=7.94279e-17
fullCorrection(measuredReferenceCode)=1.78604
Polynomial:
	order = 3
	expansion origin = 131071
	order 0 coefficient = 0.00499371
	order 1 coefficient = 1.59836e-05
	order 2 coefficient = -9.46719e-16
	order 3 coefficient = -1.2159e-20
done.
i = 1
	estimate of mean = 242611
	estimate of standard deviation = 288.276
	estimate of standard deviation of mean = 2.35353
i = 2
	estimate of mean = 230236
	estimate of standard deviation = 542.503
	estimate of standard deviation of mean = 4.42908
i = 3
	estimate of mean = 217862
	estimate of standard deviation = 752.075
	estimate of standard deviation of mean = 6.14005
i = 4
	estimate of mean = 205488
	estimate of standard deviation = 925.681
	estimate of standard deviation of mean = 7.55739
i = 5
	estimate of mean = 193112
	estimate of standard deviation = 1071.26
	estimate of standard deviation of mean = 8.7459
i = 6
	estimate of mean = 180738
	estimate of standard deviation = 1190.07
	estimate of standard deviation of mean = 9.71588
i = 7
	estimate of mean = 168363
	estimate of standard deviation = 1282.87
	estimate of standard deviation of mean = 10.4735
i = 8
	estimate of mean = 155988
	estimate of standard deviation = 1349.31
	estimate of standard deviation of mean = 11.016
i = 9
	estimate of mean = 143613
	estimate of standard deviation = 1389.09
	estimate of standard deviation of mean = 11.3407
i = 10
	estimate of mean = 131238
	estimate of standard deviation = 1402.69
	estimate of standard deviation of mean = 11.4518
i = 11
	estimate of mean = 118863
	estimate of standard deviation = 1390.71
	estimate of standard deviation of mean = 11.354
i = 12
	estimate of mean = 106488
	estimate of standard deviation = 1352.25
	estimate of standard deviation of mean = 11.04
i = 13
	estimate of mean = 94112.6
	estimate of standard deviation = 1287.79
	estimate of standard deviation of mean = 10.5137
i = 14
	estimate of mean = 81737.6
	estimate of standard deviation = 1196.75
	estimate of standard deviation of mean = 9.77045
i = 15
	estimate of mean = 69362.3
	estimate of standard deviation = 1079.61
	estimate of standard deviation of mean = 8.81409
i = 16
	estimate of mean = 56987.4
	estimate of standard deviation = 936.13
	estimate of standard deviation of mean = 7.64271
i = 17
	estimate of mean = 44612.5
	estimate of standard deviation = 765.621
	estimate of standard deviation of mean = 6.25064
i = 18
	estimate of mean = 32237.5
	estimate of standard deviation = 561.41
	estimate of standard deviation of mean = 4.58343
i = 19
	estimate of mean = 19862.8
	estimate of standard deviation = 308.595
	estimate of standard deviation of mean = 2.51942
sanity check:
upTicks=32 code=242611 PWMCal=1.7878 ADRangeCal=1.78778 LSBError=-1.68159
upTicks=64 code=230236 PWMCal=1.59001 ADRangeCal=1.58999 LSBError=-1.14153
upTicks=96 code=217862 PWMCal=1.39221 ADRangeCal=1.39221 LSBError=-0.0830449
upTicks=128 code=205488 PWMCal=1.19442 ADRangeCal=1.19443 LSBError=0.471793
upTicks=160 code=193112 PWMCal=0.996623 ADRangeCal=0.996631 LSBError=0.504497
upTicks=192 code=180738 PWMCal=0.798829 ADRangeCal=0.798839 LSBError=0.680253
upTicks=224 code=168363 PWMCal=0.601034 ADRangeCal=0.601047 LSBError=0.818082
upTicks=256 code=155988 PWMCal=0.403239 ADRangeCal=0.403251 LSBError=0.771462
upTicks=288 code=143613 PWMCal=0.205444 ADRangeCal=0.205454 LSBError=0.620163
upTicks=320 code=131238 PWMCal=0.00764923 ADRangeCal=0.00765832 LSBError=0.5688
upTicks=352 code=118863 PWMCal=-0.190146 ADRangeCal=-0.190142 LSBError=0.235625
upTicks=384 code=106488 PWMCal=-0.38794 ADRangeCal=-0.387938 LSBError=0.16826
upTicks=416 code=94112.6 PWMCal=-0.585735 ADRangeCal=-0.585734 LSBError=0.0609438
upTicks=448 code=81737.6 PWMCal=-0.78353 ADRangeCal=-0.783531 LSBError=-0.0820725
upTicks=480 code=69362.3 PWMCal=-0.981325 ADRangeCal=-0.981333 LSBError=-0.492429
upTicks=512 code=56987.4 PWMCal=-1.17912 ADRangeCal=-1.17913 LSBError=-0.429607
upTicks=544 code=44612.5 PWMCal=-1.37691 ADRangeCal=-1.37692 LSBError=-0.457053
upTicks=576 code=32237.5 PWMCal=-1.57471 ADRangeCal=-1.57472 LSBError=-0.449072
upTicks=608 code=19862.8 PWMCal=-1.7725 ADRangeCal=-1.77251 LSBError=-0.0834745
calibrating range 3 ...
referenceVoltage=0.897726
measuredGroundCode=130706 linearizedGroundCode=130679
measuredReferenceCode=243041 linearizedReferenceCode=237996
fullCorrection(measuredGroundCode)=-1.9094e-16
fullCorrection(measuredReferenceCode)=0.897726
Polynomial:
	order = 3
	expansion origin = 131071
	order 0 coefficient = 0.00291451
	order 1 coefficient = 7.99164e-06
	order 2 coefficient = -4.73351e-16
	order 3 coefficient = -6.07938e-21
done.
calibrating range 4 ...
referenceVoltage=0.452688
measuredGroundCode=130731 linearizedGroundCode=130703
measuredReferenceCode=244052 linearizedReferenceCode=238962
fullCorrection(measuredGroundCode)=8.16865e-17
fullCorrection(measuredReferenceCode)=0.452688
Polynomial:
	order = 3
	expansion origin = 131071
	order 0 coefficient = 0.00135878
	order 1 coefficient = 3.99479e-06
	order 2 coefficient = -2.36614e-16
	order 3 coefficient = -3.0389e-21
done.
i = 1
	estimate of mean = 242644
	estimate of standard deviation = 287.673
	estimate of standard deviation of mean = 2.3486
i = 2
	estimate of mean = 230264
	estimate of standard deviation = 541.316
	estimate of standard deviation of mean = 4.41938
i = 3
	estimate of mean = 217884
	estimate of standard deviation = 750.76
	estimate of standard deviation of mean = 6.12931
i = 4
	estimate of mean = 205504
	estimate of standard deviation = 924.61
	estimate of standard deviation of mean = 7.54865
i = 5
	estimate of mean = 193122
	estimate of standard deviation = 1070.4
	estimate of standard deviation of mean = 8.73889
i = 6
	estimate of mean = 180741
	estimate of standard deviation = 1189.57
	estimate of standard deviation of mean = 9.71182
i = 7
	estimate of mean = 168361
	estimate of standard deviation = 1282.06
	estimate of standard deviation of mean = 10.4669
i = 8
	estimate of mean = 155980
	estimate of standard deviation = 1348.26
	estimate of standard deviation of mean = 11.0074
i = 9
	estimate of mean = 143599
	estimate of standard deviation = 1388.29
	estimate of standard deviation of mean = 11.3342
i = 10
	estimate of mean = 131218
	estimate of standard deviation = 1402.33
	estimate of standard deviation of mean = 11.4488
i = 11
	estimate of mean = 118837
	estimate of standard deviation = 1389.89
	estimate of standard deviation of mean = 11.3473
i = 12
	estimate of mean = 106456
	estimate of standard deviation = 1351.68
	estimate of standard deviation of mean = 11.0353
i = 13
	estimate of mean = 94075.2
	estimate of standard deviation = 1286.98
	estimate of standard deviation of mean = 10.5071
i = 14
	estimate of mean = 81694.4
	estimate of standard deviation = 1196.33
	estimate of standard deviation of mean = 9.76699
i = 15
	estimate of mean = 69313.3
	estimate of standard deviation = 1078.69
	estimate of standard deviation of mean = 8.80655
i = 16
	estimate of mean = 56932.4
	estimate of standard deviation = 934.828
	estimate of standard deviation of mean = 7.63207
i = 17
	estimate of mean = 44551.7
	estimate of standard deviation = 764.312
	estimate of standard deviation of mean = 6.23996
i = 18
	estimate of mean = 32170.6
	estimate of standard deviation = 559.251
	estimate of standard deviation of mean = 4.56581
i = 19
	estimate of mean = 19790.1
	estimate of standard deviation = 307.461
	estimate of standard deviation of mean = 2.51016
sanity check:
upTicks=32 code=242644 PWMCal=0.447071 ADRangeCal=0.447064 LSBError=-1.87502
upTicks=64 code=230264 PWMCal=0.397613 ADRangeCal=0.397609 LSBError=-0.947133
upTicks=96 code=217884 PWMCal=0.348154 ADRangeCal=0.348154 LSBError=-0.0234797
upTicks=128 code=205504 PWMCal=0.298696 ADRangeCal=0.298698 LSBError=0.689043
upTicks=160 code=193122 PWMCal=0.249237 ADRangeCal=0.249239 LSBError=0.398381
upTicks=192 code=180741 PWMCal=0.199778 ADRangeCal=0.19978 LSBError=0.501255
upTicks=224 code=168361 PWMCal=0.15032 ADRangeCal=0.150323 LSBError=0.774511
upTicks=256 code=155980 PWMCal=0.100861 ADRangeCal=0.100864 LSBError=0.632853
upTicks=288 code=143599 PWMCal=0.0514027 ADRangeCal=0.0514055 LSBError=0.688566
upTicks=320 code=131218 PWMCal=0.00194416 ADRangeCal=0.00194696 LSBError=0.702092
upTicks=352 code=118837 PWMCal=-0.0475144 ADRangeCal=-0.0475131 LSBError=0.319755
upTicks=384 code=106456 PWMCal=-0.096973 ADRangeCal=-0.0969727 LSBError=0.069127
upTicks=416 code=94075.2 PWMCal=-0.146432 ADRangeCal=-0.146432 LSBError=-0.0176665
upTicks=448 code=81694.4 PWMCal=-0.19589 ADRangeCal=-0.19589 LSBError=-0.0922686
upTicks=480 code=69313.3 PWMCal=-0.245349 ADRangeCal=-0.24535 LSBError=-0.373643
upTicks=512 code=56932.4 PWMCal=-0.294807 ADRangeCal=-0.294809 LSBError=-0.46013
upTicks=544 code=44551.7 PWMCal=-0.344266 ADRangeCal=-0.344267 LSBError=-0.344002
upTicks=576 code=32170.6 PWMCal=-0.393724 ADRangeCal=-0.393727 LSBError=-0.57356
upTicks=608 code=19790.1 PWMCal=-0.443183 ADRangeCal=-0.443183 LSBError=-0.068676
calibrating range 5 ...
referenceVoltage=0.179686
measuredGroundCode=130687 linearizedGroundCode=130661
measuredReferenceCode=243081 linearizedReferenceCode=238034
fullCorrection(measuredGroundCode)=-2.59368e-18
fullCorrection(measuredReferenceCode)=0.179686
Polynomial:
	order = 3
	expansion origin = 131071
	order 0 coefficient = 0.000614403
	order 1 coefficient = 1.59873e-06
	order 2 coefficient = -9.4694e-17
	order 3 coefficient = -1.21618e-21
done.
calibrating range 6 ...
referenceVoltage=0.0900422
measuredGroundCode=130759 linearizedGroundCode=130730
measuredReferenceCode=243414 linearizedReferenceCode=238352
fullCorrection(measuredGroundCode)=-3.75026e-18
fullCorrection(measuredReferenceCode)=0.0900422
Polynomial:
	order = 3
	expansion origin = 131071
	order 0 coefficient = 0.000249343
	order 1 coefficient = 7.99284e-07
	order 2 coefficient = -4.73422e-17
	order 3 coefficient = -6.08029e-22
done.
AO calibration for channel 0, range 0 .
set ao to 6554, measured -8.10114 .
set ao to 58982, measured 8.08363 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 32796.4
	order 1 coefficient = 3239.34
AO calibration for channel 0, range 1 .
set ao to 6554, measured -4.06744 .
set ao to 58982, measured 4.05806 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 32798.3
	order 1 coefficient = 6452.28
AO calibration for channel 0, range 2 .
set ao to 6554, measured -1.61755 .
set ao to 58982, measured 1.61397 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 32797
	order 1 coefficient = 16223.9
AO calibration for channel 0, range 3 .
set ao to 6554, measured -0.812411 .
set ao to 58982, measured 0.809973 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 32807.4
	order 1 coefficient = 32315.4
AO calibration for channel 0, range 4 .
set ao to 6554, measured -3.09699 .
set ao to 45874, measured 9.04119 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 16586.3
	order 1 coefficient = 3239.36
AO calibration for channel 0, range 5 .
set ao to 6554, measured 0.936755 .
set ao to 58982, measured 9.06202 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 509.613
	order 1 coefficient = 6452.47
AO calibration for channel 0, range 6 .
set ao to 6554, measured 3.38049 .
set ao to 58982, measured 6.61201 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = -48290.7
	order 1 coefficient = 16223.9
AO calibration for channel 0, range 7 .
set ao to 6554, measured 4.18564 .
set ao to 58982, measured 5.80799 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = -128709
	order 1 coefficient = 32316
AO calibration for channel 1, range 0 .
set ao to 6554, measured -8.09106 .
set ao to 58982, measured 8.0787 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 32788
	order 1 coefficient = 3242.35
AO calibration for channel 1, range 1 .
set ao to 6554, measured -4.06253 .
set ao to 58982, measured 4.05557 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 32790.5
	order 1 coefficient = 6458.16
AO calibration for channel 1, range 2 .
set ao to 6554, measured -1.6187 .
set ao to 58982, measured 1.62179 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 32743
	order 1 coefficient = 16179.1
AO calibration for channel 1, range 3 .
set ao to 6554, measured -0.813113 .
set ao to 58982, measured 0.813791 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 32757.1
	order 1 coefficient = 32225.6
AO calibration for channel 1, range 4 .
set ao to 6554, measured -3.09076 .
set ao to 45874, measured 9.03617 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 16575.4
	order 1 coefficient = 3242.37
AO calibration for channel 1, range 5 .
set ao to 6554, measured 0.93786 .
set ao to 58982, measured 9.05569 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 496.95
	order 1 coefficient = 6458.38
AO calibration for channel 1, range 6 .
set ao to 6554, measured 3.38657 .
set ao to 58982, measured 6.62703 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = -48238.1
	order 1 coefficient = 16179.2
AO calibration for channel 1, range 7 .
set ao to 6554, measured 4.19215 .
set ao to 58982, measured 5.81905 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = -128541
	order 1 coefficient = 32225.8
AO calibration for channel 2, range 0 .
set ao to 6554, measured -8.0834 .
set ao to 58982, measured 8.07905 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 32775.1
	order 1 coefficient = 3243.82
AO calibration for channel 2, range 1 .
set ao to 6554, measured -4.05797 .
set ao to 58982, measured 4.05639 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 32773.1
	order 1 coefficient = 6461.13
AO calibration for channel 2, range 2 .
set ao to 6554, measured -1.61262 .
set ao to 58982, measured 1.61597 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 32740.8
	order 1 coefficient = 16238.6
AO calibration for channel 2, range 3 .
set ao to 6554, measured -0.809319 .
set ao to 58982, measured 0.811608 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 32731
	order 1 coefficient = 32344.5
AO calibration for channel 2, range 4 .
set ao to 6554, measured -3.08506 .
set ao to 45874, measured 9.03637 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 16561.5
	order 1 coefficient = 3243.84
AO calibration for channel 2, range 5 .
set ao to 6554, measured 0.940386 .
set ao to 58982, measured 9.05451 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 477.864
	order 1 coefficient = 6461.32
AO calibration for channel 2, range 6 .
set ao to 6554, measured 3.38374 .
set ao to 58982, measured 6.61237 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = -48392.8
	order 1 coefficient = 16238.5
AO calibration for channel 2, range 7 .
set ao to 6554, measured 4.18708 .
set ao to 58982, measured 5.80797 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = -128878
	order 1 coefficient = 32345.2
AO calibration for channel 3, range 0 .
set ao to 6554, measured -8.0881 .
set ao to 58982, measured 8.09342 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 32759.4
	order 1 coefficient = 3239.99
AO calibration for channel 3, range 1 .
set ao to 6554, measured -4.06036 .
set ao to 58982, measured 4.06368 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 32757.3
	order 1 coefficient = 6453.44
AO calibration for channel 3, range 2 .
set ao to 6554, measured -1.61668 .
set ao to 58982, measured 1.61778 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 32759
	order 1 coefficient = 16209.2
AO calibration for channel 3, range 3 .
set ao to 6554, measured -0.81144 .
set ao to 58982, measured 0.812446 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 32751.8
	order 1 coefficient = 32285.5
AO calibration for channel 3, range 4 .
set ao to 6554, measured -3.08597 .
set ao to 45874, measured 9.04972 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 16552.6
	order 1 coefficient = 3240.03
AO calibration for channel 3, range 5 .
set ao to 6554, measured 0.941836 .
set ao to 58982, measured 9.06564 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = 475.744
	order 1 coefficient = 6453.63
AO calibration for channel 3, range 6 .
set ao to 6554, measured 3.38252 .
set ao to 58982, measured 6.61695 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = -48274.4
	order 1 coefficient = 16209.3
AO calibration for channel 3, range 7 .
set ao to 6554, measured 4.18775 .
set ao to 58982, measured 5.81164 .
Polynomial:
	order = 1
	expansion origin = 0
	order 0 coefficient = -128650
	order 1 coefficient = 32285.6

[Attachment #6 (application/pgp-signature)]
_______________________________________________
comedi mailing list
comedi@comedi.org
https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic