IperlHead : Simultaneous serial port flushing after switching to the test mode.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user