« Back to Product

Documentation

SPRT_SendText

Require: IP-Symcon >= 2.0

 boolean SPRT_SendText (int $InstanceID, string $Text) 

Parameters

InstanceID

ID of the serial port to be updated

Text

The string to be sent

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

Sends the string Text on the serial port with the ID InstanceID.

Example

//Sends the text "Any data record" to the serial port with the ID 12345
SPRT_SendText(12345, "Any data record");
Any questions?