Mettler-Toledo Multi protocol change as in v.2.0.195 (Badger), Immediate meas. works, TODO: stable meas.
This commit is contained in:
@@ -25,6 +25,8 @@ namespace TBF.BenchControl.MettlerToledo.Multi
|
||||
int totalReadingsCount;
|
||||
FloatBox result;
|
||||
|
||||
bool started;
|
||||
|
||||
/// <summary>
|
||||
/// Events: BalanceDone, Error
|
||||
/// </summary>
|
||||
@@ -44,11 +46,14 @@ namespace TBF.BenchControl.MettlerToledo.Multi
|
||||
log.Debug(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
/// <summary>Start this operation</summary>
|
||||
public void Start()
|
||||
{
|
||||
started = false;
|
||||
currentReadingsCount = 0;
|
||||
massReadings = new float[totalReadingsCount];
|
||||
started = BalanceDev.GetImmediateMassMeasurement(balanceDev.IdNr, balanceDev.Name);
|
||||
}
|
||||
|
||||
/// <summary>Run this operation</summary>
|
||||
@@ -82,6 +87,7 @@ namespace TBF.BenchControl.MettlerToledo.Multi
|
||||
}
|
||||
}
|
||||
|
||||
BalanceDev.GetImmediateMassMeasurement(balanceDev.IdNr, balanceDev.Name);
|
||||
return Event.None;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user