/
xcon.CreateCOM
xcon.CreateCOM
Description
This function can be used to create a serial connection in LUA.
Signature
xcon.CreateCOM (string, string, number, number, number, number, number, number)Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
string | M | Handle that identifies the connection within the LUA script. | |
string | M | The name of the COM port in the system (e.g. COM1). | |
number | M | The baud rate of the serial port. | |
number | M | The amount of data bits of the serial port. | |
number | M | The used parity of the serial port. | |
number | M | The amount of stop bits of the serial port. | |
number | M | The used handshake protocol of the serial port. | |
number | M | The used event char of the serial port. |
Return
None., multiple selections available,
Related content
xcon.Create
xcon.Create
More like this
xcon.CreateTCP
xcon.CreateTCP
More like this
xcon.SendTextTo
xcon.SendTextTo
More like this
xcon.CreateUDP
xcon.CreateUDP
More like this
xcon.SendTo
xcon.SendTo
More like this
xcon.Send
xcon.Send
More like this