ph_checktrigger PowerHome formula function
Description
Forces the checking of a trigger. Useful for external applications interfacing with PowerHome via Windows messaging or Socket Server interface.
Syntax
ph_checktrigger ( type, id, number, value, dim, command, data, formula, auxvalue )
Argument Description
type The type of trigger to check.
id The Trigger ID
number The Trigger Number
value The Trigger Value.
dim A double representing the dim value.
command An unsigned long representing the command.
data A long representing the data.
formula A string representing the formula.
auxvalue A string representing the auxillary value.
Return value
Integer. Returns a 1 if no matching triggers are found. Returns a 0 otherwise.
Usage
This function can be used to force a an internal PowerHome trigger check.