ph_setothercounter PowerHome formula (Deprecated)
function
Description
This function will set a specific value
to a counter object within a controller
Syntax
ph_setothercounter ( ctlr, counter,
value )
Argument |
Description |
ctlr |
String. The ID of the controller whose
counter you want to set. |
counter |
Integer. The number of the counter within the specified
controller that you wish to set. |
value |
Long. The actual value you'd like to
set the counter to. |
Return value
Integer. Returns the result of the
counter set operation. A 0 would indicate success. Any other value would be a
failure.
Usage
This function is currently only supported
by the Elk M1 Gold controller. Counter numbers can be from 1 to 64.
This function will cause the controller to set the specified counter to the
specified value.
Examples
The following examples demonstrate typical
syntax/usage for this function.
ph_setothercounter("ELK",5,0)