Error getting tags :
error 404Error getting tags :
error 404 serialControlString | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
serialControlString
Basics
Expander triangle
Type
Property
Syntax

set the serialControlString to settingsList

Introduced
1.0
Changed
2.0
Environment
Desktop,Web
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
Disk
Summary
The serialControlString specifies the settings of a serial port.
Examples

set the serialControlString to storedSerial

Additional Comments
Expander triangle

Use the serialControlString property to set a serial port before use.

Value:

The serialControlString consists of one or more settings, separated by spaces. Each setting consists of the setting name, an equals sign (=), and the value.

The possible settings are as follows:

* BAUD=number: the port's baud rate

* PARITY=N, O, or E: no parity, odd parity, or even parity

* DATA=numberOfDataBits

* STOP=numberOfStopBits

* to=on or off: use timeouts

* xon=on or off: software handshaking

* odsr=on or off: (output) data set ready

* octs=on or off: (output) clear to send

* dtr=on or off: data terminal ready

* rts=on or off: ready to sent

* isdr=on or off: (input) data set ready

By default, the serialControlString is set to BAUD=9600 PARITY=N DATA=8 STOP=1.

Comments:

To set a serial port's settings, first set the serialControlString to the desired settings. Then open the serial port using the open file command or the open driver command.

On Mac OS systems, the serialControlString property can be used to set the printer or modem ports. On Windows systems, the serialControlString can be used to set the COM ports. On OS X systems, the serialControlString can be used to set a serial device returned by the driverNames function.

The format of the serialControlString is compatible with the extended MS-DOS "mode" command.

Changes to Revolution:

Support for OS X and Unix serial devices was added in version 2.0.

User Comments
Expander triangle