comBps

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
  
comBps(
  const handle,   // async handle
  [const bps])    // bits per second

Query and/or set the speed of the communication line. If parameter bps is omitted, the current setting is queried. Valid settings are 300, 600, 1200, 2400 and so on.

Examples:

var bps = comBps(hdl);  // query current setting
comBps(hdl, 38400); // set speed
  Copyright © IBK Landquart Last revision: 27.05.2002 << Back  Top  Next >>