« Back to Product

Documentation

IPS_GetProperty

Require: IP-Symcon >= 2.7

 variant IPS_GetProperty (int $InstanceID, string $Property) 

Parameters

InstanceID

ID of the instance

Property

Name of the property

Returns

Current value of the property

Description

The command reads the current value of the Property for InstanceID. An exact list of all possible properties for every instance is shown at the description of the command IPS_SetProperty.
It is possible to set a new planned value via IPS_SetProperty and apply it via IPS_ApplyChanges.

Example

echo IPS_GetProperty($id, "Open"); // Is the I/O instance active?
Any questions?