projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9a35aa
)
fix coarse/fine ai pregain offset caldacs for pci-6025e
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 13 Oct 2003 19:22:07 +0000
(19:22 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 13 Oct 2003 19:22:07 +0000
(19:22 +0000)
comedi_calibrate/ni.c
patch
|
blob
|
history
diff --git
a/comedi_calibrate/ni.c
b/comedi_calibrate/ni.c
index 4d1c77510f75667eebc9712f13852082d7675ec0..496894ff9c685aa4d3c67fd9bfb8302234f92fe3 100644
(file)
--- a/
comedi_calibrate/ni.c
+++ b/
comedi_calibrate/ni.c
@@
-922,9
+922,9
@@
static int cal_ni_pci_6025e(calibration_setup_t *setup)
ni_caldac_layout_t layout;
init_ni_caldac_layout( &layout );
- layout.adc_pregain_offset =
8
;
+ layout.adc_pregain_offset =
0
;
layout.adc_postgain_offset = 4;
- layout.adc_pregain_offset_fine =
0
;
+ layout.adc_pregain_offset_fine =
8
;
layout.adc_gain = 2;
layout.dac_offset[ 0 ] = 6;
layout.dac_gain[ 0 ] = 11;