VDS Renaissance のインターフェースは複数の言語に対応しています。公式ドキュメントは、単一で一貫した常に最新のリファレンスを保証するため、英語で管理されています。
COMM
Syntax
COMM OPEN,<port>,<speed>,<databits>,<parity>,<stopbits>
COMM CLOSE
COMM SEND,<text>
COMM SENDLINE,<text>
Requires
Description
The COMM command allows a DialogScript program to communicate with an external device using a serial port. The allowed options are:
COMM OPEN,... |
Opens the serial port for communication. Note that only a single serial port may be opened at a time. The parameters are:
|
||||||||||
COMM CLOSE |
Closes the serial port |
||||||||||
COMM SEND,... |
Sends a string of text to the serial port |
||||||||||
COMM SENDLINE,... |
Sends a string of text to the serial port, followed by a line feed. |
When a serial port is open and data is received, a COMMEVENT event is generated. The script can respond to this event by using the @COMM function to obtain the data that was sent.
OK
Set to false if an error occurs.
See also
See an advanced example...