OPC Studio User's Guide and Reference
LastCycleDuration Property (_AutomatonStateStatistics)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Algorithms.ComTypes Namespace > _AutomatonStateStatistics Interface : LastCycleDuration Property
The duration of the last active state (excluding the current active state); -1 if no completed active state. In milliseconds.
Syntax
'Declaration
 
ReadOnly Property LastCycleDuration As Long
'Usage
 
Dim instance As _AutomatonStateStatistics
Dim value As Long
 
value = instance.LastCycleDuration
long LastCycleDuration {get;}
property int64 LastCycleDuration {
   int64 get();
}

Property Value

Unit of measurement is ms.

The default value of this property is -1.

Remarks

The getter method of this property is pure, i.e. it does not have observable side effects.

This member is not compatible with VBScript.

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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