« Back to Product

Documentation

VIO_PushTextHEX

Require: IP-Symcon >= 3.3

 boolean VIO_PushTextHEX (int $InstanceID, string $Text) 

Parameters

InstanceID

ID of the virtual I/O to be updated

Text

The string to be sent in HEX

Returns

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

Description

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

Warning

The Text parameter is case-insensitive and spaces are ignored. Furthermore, only the characters 0..9, Aa..Ff are allowed.

Example

// Sends the hex string "1a2fee" to the virtual I/O instance with ID 12345
VIO_PushTextHEX(12345, "1A 2F EE");
Any questions?