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



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

Property Value

Unit of measurement is ms.

The default value of this property is 0.

Remarks

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