serialControlString | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | The serialControlString specifies the settings of a serial port. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux | ||||||
Platforms | desktop | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: modem:, COMn: Command: close file, open driver, open file Function: driverNames Glossary: property, OS X, sign, Windows, port, command, peripheral device | ||||||
Security | disk | ||||||
Description | Use the serialControlString property to set a serial port before use. The possible settings are as follows:
By default, the serialControlString is set to BAUD=9600 PARITY=N DATA=8 STOP=1. 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. | ||||||
Tags | networking |