layout.adc_ground_observable = ai_ground_observable_1xxx;
layout.dac_high_observable = ao_high_observable_1xxx;
layout.dac_ground_observable = ao_ground_observable_1xxx;
- layout.adc_fractional_tolerance = get_tolerance( setup, setup->ad_subdev, 1 );
- layout.dac_fractional_tolerance = get_tolerance( setup, setup->da_subdev, 1 );
+ layout.adc_fractional_tolerance = get_tolerance( setup, setup->ad_subdev, 1.0 );
+ layout.dac_fractional_tolerance = get_tolerance( setup, setup->da_subdev, 1.0 );
return generic_cal_by_range( setup, &layout );
}
layout.adc_ground_observable = ai_ground_observable_1xxx;
layout.dac_high_observable = ao_high_observable_1xxx;
layout.dac_ground_observable = ao_ground_observable_1xxx;
- layout.adc_fractional_tolerance = get_tolerance( setup, setup->ad_subdev, 1 );
- layout.dac_fractional_tolerance = get_tolerance( setup, setup->da_subdev, 1 );
+ layout.adc_fractional_tolerance = get_tolerance( setup, setup->ad_subdev, 1.0 );
+ layout.dac_fractional_tolerance = get_tolerance( setup, setup->da_subdev, 1.0 );
/* The bipolar postgain calibration should be good for both
* bipolar and unipolar ranges, so disable separate
* unipolar postgain offset calibration (it will fail
layout.adc_ground_observable = ai_ground_observable_index_64xx;
layout.dac_high_observable = ao_high_observable_index_64xx;
layout.dac_ground_observable = ao_ground_observable_index_64xx;
- layout.adc_fractional_tolerance = get_tolerance( setup, setup->ad_subdev, 1 );
- layout.dac_fractional_tolerance = get_tolerance( setup, setup->da_subdev, 1 );
+ layout.adc_fractional_tolerance = get_tolerance( setup, setup->ad_subdev, 1.0 );
+ layout.dac_fractional_tolerance = get_tolerance( setup, setup->da_subdev, 1.0 );
return generic_cal_by_range( setup, &layout );
}
layout.adc_ground_observable = ai_ground_observable_index_60xx;
layout.dac_high_observable = ao_high_observable_index_60xx;
layout.dac_ground_observable = ao_ground_observable_index_60xx;
- layout.adc_fractional_tolerance = get_tolerance( setup, setup->ad_subdev, 1 );
- layout.dac_fractional_tolerance = get_tolerance( setup, setup->da_subdev, 1 );
+ layout.adc_fractional_tolerance = get_tolerance( setup, setup->ad_subdev, 1.0 );
+ layout.dac_fractional_tolerance = get_tolerance( setup, setup->da_subdev, 1.0 );
return generic_cal_by_range( setup, &layout );
}
layout.adc_gain = adc_gain_4020;
layout.adc_high_observable = ai_high_observable_index_4020;
layout.adc_ground_observable = ai_low_observable_index_4020;
- layout.adc_fractional_tolerance = get_tolerance( setup, setup->ad_subdev, 1 );
+ layout.adc_fractional_tolerance = get_tolerance( setup, setup->ad_subdev, 1.0 );
return generic_cal_by_channel_and_range( setup, &layout );
}