Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>com_break()</b> http://www.X-Hacker.org [<<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()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson