comFlow

C Scripting Language
Reference Manual
Version 4.4.0

<< Back  End  Next >>
 
 
INDEX
Introduction
Installation
Using the CSL executive
Language
Directives
System library
String library
Math library
Regular expression lib.
File library
Database library
Async Communication
   comBits
   comBps
   comClose
   comFlow
   comInputChars
   comOpen
   comParity
   comPurgeInput
   comRead
   comReadChar
   comReadTimeout
   comStops
   comWaitForOutput
   comWrite
Registry/Profile handling
Windows control
C API
C++ Class Interface
CSL links
  
comFlow(
  const handle,     // async handle
  [const flow])     // flow control mode: N, H, S, B

Query and/or set the flow control mode. If parameter flow is omitted, the current setting is queried. Valid modes:

Mode Flow Control
N No flow control
H Hardware flow control (sent: CTS, receive: DTR)
S Software flow control XON/XOFF (DC1/DC3)
B Both: hardware and software control

Examples:

var flow = comFlow(hdl);  // query current setting
comFlow(hdl, 'h'); // enable hardware flow control
  Copyright © IBK Landquart Last revision: 27.05.2002 << Back  Top  Next >>