« Back to Product

Documentation

VIO_SendText

Require: IP-Symcon >= 3.3

 boolean VIO_SendText (int $InstanceID, string $Text) 

Parameters

InstanceID

ID of the virtual I/O to be updated

Text

The string to be sent

Returns

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

Description

Sends a data packet of the type Simple to the virtual I/O with the ID InstanceID itself. This includes: Buffer = Text.

Example

// Sends the text "Hello world" to the virtual I/O instance with ID 12345
VIO_SendText(12345, "Hello World");
Any questions?