Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Blink - method of the PmgObject object

Description:
Starts/stops blinking of the Pmg object. If it is called repeatedly, then it enables to change blinking parameters or to stop blinking.
Syntax:
Empty Blink(Long nDelay, Long nPeriod)
Parameters:
nDelay(Long) Length of blinking
-1 - infinite long
0 - don't blink = stop blinking
greater than 0 - blink for the assigned time in seconds
nPeriod(Long) Period of blinking. It is set as the multiple of the panel refresh period. For example, 2 means that blinking happens every second period of the panel refresh.
Note:

This method is not functional in Web panels.

This method is not functional for object: PmgRoot.

Example:
It runs blinking for infinite time. The period of blinking is in each panel refresh.
JavaScriptVBScriptSelect and copy to clipboard

var oItem = pMe.Items("/Txt0");
oItem.Blink(-1, 1);
PROMOTIC 9.0.13 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice