IperlHead : Simultaneous serial port flushing after switching to the test mode.
This commit is contained in:
parent
cfaf8e6a59
commit
5a5f8493f2
@ -444,7 +444,11 @@ namespace TBF.Rig.TestMethods.iPerlCommunication.iPerlHead
|
||||
Q2ErrWOCorrection = 0;
|
||||
Q2CorrRL = 0;
|
||||
Q2CorrLR = 0;
|
||||
|
||||
|
||||
if (optoSerialPort != null && optoSerialPort.IsOpen)
|
||||
{
|
||||
optoSerialPort.DiscardInBuffer();
|
||||
}
|
||||
StartDataStreamProcessing();
|
||||
|
||||
currentFlowDir = InitFlowDir;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user