Break Property Example

The following example shows how to send a break signal for a tenth of a second:

' Set the Break condition.
MSComm1.Break = True
' Set duration to 1/10 second.
Duration! = Timer + .1
' Wait for the duration to pass.
Do Until Timer > Duration!
   Dummy = DoEvents()
Loop
' Clear the Break condition.
MSComm1.Break = False