Die Oberfläche von VDS Renaissance ist in mehreren Sprachen verfügbar. Die offizielle Dokumentation wird auf Englisch gepflegt, um eine einheitliche, konsistente und stets aktuelle Referenz zu gewährleisten.
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...