SerialPort.DiscardOutBuffer is a method in C# that allows the user to clear the output buffer of a serial port. This method discards any data that is currently queued in the output buffer, ensuring that no pending data will be sent through the serial port. It is typically used when the user wants to cancel any pending data transmission and ensure a clean start for sending new data.
C# (CSharp) System.IO.Ports SerialPort.DiscardOutBuffer - 57 examples found. These are the top rated real world C# (CSharp) examples of System.IO.Ports.SerialPort.DiscardOutBuffer extracted from open source projects. You can rate examples to help us improve the quality of examples.