ClockStart - method of object Pm

Starting the time clock.
ClockStart([bGlobal As Boolean]) As Double
Pm.ClockStart bGlobal
bGlobal[optional] (Boolean) timing type
true (default) - global timing. Thus it is possible to perform only one timing at the given time
false - local timing. Thus it is possible to perform even more timings at a time.
The method serves to starting the time clock. In case of local timing it is necessary to store the value returned by calling the method and to pass the stored value as a parameter in the subsequent calling of the ClockStop method. The ClockStop method serves to stopping the time clock. By the ClockStart and ClockStop methods it is possible to determine the action time with the precision of microseconds. In case of global timing it dumps the measured time into the Debug_info item of the INFO system.
This method is not functional for Web panels.
See also:
Dim nClock
nClock = Pm.ClockStart(true)
Dim nTime
nTime = Pm.ClockStop(nClock)
Pm.Debug "Time=" & nTime
PROMOTIC 8.3.21 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
- Pm
- Abs
- ClockStart
- Cos
- E
- Exp
- LN2
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice