[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
COM_BREAK()
Creates a break on a transmission line
------------------------------------------------------------------------------
Syntax
COM_BREAK(<nComPort>,<nDuration>) --> lSuccess
Arguments
<nComPort> Designates the serial interface (1 to 4) where a break
is set.
<nDuration> Designates the time in milliseconds that the break
remains active. The default value is 100 milliseconds.
Returns
COM_BREAK() returns .T. when the break has been successfully set.
Description
The output of a break means that the transmission line of an interface
is held at a specific level for a fixed period of time. This time can
be selected as a numeric parameter between 1 and 65535 milliseconds.
As a rule, a break is usually between 100 and 350 milliseconds long.
Example
Output a 200 millisecond on interface COM1:
COM_BREAK(1, 200)
See Also:
COM_KEY()
COM_EVENT()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson