Send break to device connected to serial port
a break of 10 milliseconds to the device connected to the serial port
sends a break to the device with a duration, in milliseconds, specified
time. Note that the duration of the break might
be inaccurate under some operating systems.
For some devices, the break signal provides a way to clear the hardware buffer.
Before you can send a break to the device, it must be connected
obj with the
A connected serial port object has a
open. An error is returned if you attempt
to send a break while
obj is not connected to the
serialbreak is a synchronous function,
and blocks the command line until execution is complete.
If you issue
serialbreak while data is
being asynchronously written, an error is returned. In this case,
you must call the
stopasync function or wait
for the write operation to complete.