Bug fix in calculated Q2 error value MakeQ2CorrectedFrom( ), iPerl.CalibTargetQ2 is used now, ver. 2.18.1219

This commit is contained in:
Milan Hanajik
2019-05-10 08:38:46 +02:00
parent 7fa06079c2
commit c1cfc67cce
2 changed files with 4 additions and 4 deletions
@@ -422,8 +422,8 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
}
else
{
/// iPerl with Q2 correction => generate an artificial error equal to -1/10 of the original one (relative to target error)
double targetError = iPerl.CalibTarget;
/// iPerl with Q2 correction => generate an artificial error equal to -1/10 of the original one (relative to Q2 target error)
double targetError = iPerl.CalibTargetQ2;
meterRslt.VolumeStart = 0;
meterRslt.VolumeEnd = 0;
meterRslt.Error = targetError - 0.1 * (oriMeterRslt.Error - targetError);