« Back to Product

Documentation

GetTimerInterval

Require: IP-Symcon >= 5.2

 int GetTimerInterval (string $Name) 

Parameters

Name

The name of the timer whose interval is to be queried.

Returns

Currently set interval in milliseconds

Description

Queries the interval of the timer Name.

Warning

As described in RegisterTimer, the timer is stateless and when the IP-Symcon server is restarted, the timer must be set again, otherwise it takes the value of RegisterTimer.

Example

// Queries the interval of the "Update" timer
echo $this->GetTimerInterval("Update");
Any questions?