Promotic

Blinker - property of the Pm object

Description:
Change true and false value with the period specified in the "Panels timer period" configurator of the PmaRoot object.
This method is obsolete (but functional) because it can be replaced by setting the object variable - see Example.
Syntax:
Boolean Blinker
Note:
Property access for read only.
 
This property is not functional in Web panels
 
Common using is like a data binding to the selected Pmg object and his "Visible" configurator in the graphics editor. Then the object with such binding is blinking.
Example:
The Pm.Blinker property can be replaced by setting the user variable of the Pmg object (this is functional also for Web panels). Procedure:
In the Pmg object that you want to blink, it is possible to create variable of the Boolean type, e.g. named "Blinker". This variable can then be set in the onRefresh event:
JavaScriptVBScriptSelect and copy to clipboard

var oB = pMe.Vars("Blinker");
oB.Value = ! oB.Value;
Then e.g. in the "Visible" configurator the "GP - Data binding to the property of the Pmg object" data binding can be created and set:
- Pmg object: the . character (period) as a path to the object itself
- Property: Vars("Blinker").Value
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
Navigation:
 
- Pm
 
- Abs
- Blinker
 
 
- Cos
- E
- Exp
- LN2
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r.o.