OPC Studio User's Guide and Reference
LastCycleEnterTick Property (AutomatonStateStatistics)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Algorithms Namespace > AutomatonStateStatistics Class : LastCycleEnterTick Property
The tick when the state was entered (transitioned into) the last time (excluding the current active state); -1 if no completed active state.
Syntax
'Declaration
 
<UnitAttribute("ms")>
Public ReadOnly Property LastCycleEnterTick As Long
'Usage
 
Dim instance As AutomatonStateStatistics
Dim value As Long
 
instance.LastCycleEnterTick = value
 
value = instance.LastCycleEnterTick
[Unit("ms")]
public long LastCycleEnterTick {get;}
[Unit("ms")]
public:
property int64 LastCycleEnterTick {
   int64 get();
}

Property Value

Unit of measurement is ms.

The default value of this property is -1.

Remarks

As opposed to LastEnterTick, this property requires the cycle be completed (state be transitioned from).

This member is not compatible with VBScript.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also