« Back to Product

Documentation

RegVar_SendEvent

Require: IP-Symcon >= 4.1

 boolean RegVar_SendEvent (int $InstanceID, int $ReportID, string $Text) 

Parameters

InstanceID

ID of the RegisterVariable-Instance

ReportID

The record type as ReportID

Text

Buffer to send

Returns

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

Description

Sends a string Text through the instance with ID InstanceID as the record type ReportID.

Warning

RegVar_SendEvent can only be used with a HID instance

Example

//Send an event “Hello World” to the parent instance with the ReportID 0
RegVar_SendEvent(12345, 0, "Hello World");
Any questions?