/****************************************************************** * stopStreamingFinal() * Finally stop ******************************************************************/ public void stopStreamingFinal() { int line = 0; line = streamingBuffer.GetSentLineNr(); if (logStartStop) { Logger.Trace(" stopStreamingFinal() gCodeLinesSent {0} gCodeLineNr.Count {1}", streamingBuffer.IndexSent, streamingBuffer.Count); } sendStreamEvent(grblStreaming.stop); // stopStreamingFinal isHeightProbing = false; resetStreaming(true); // stopStreamingFinal() if (logStartStop) { Logger.Trace(" stopStreamingFinal() - lines in buffer {0}", (streamingBuffer.IndexSent - streamingBuffer.IndexConfirmed)); } if (isStreamingCheck) { sendLine("$C"); isStreamingCheck = false; } updateControls(); if (Properties.Settings.Default.grblPollIntervalReduce) { timerSerial.Interval = grbl.pollInterval; countMissingStatusReport = (int)(10000 / timerSerial.Interval); } }