QuickOPC User's Guide and Reference
ActiveTime Property (AEConditionState)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > AEConditionState Class : ActiveTime Property
Time of the most recent transition into the condition. There may be transitions among the sub-conditions which are more recent. In UTC.
Syntax
'Declaration
 
Public Property ActiveTime As Date
'Usage
 
Dim instance As AEConditionState
Dim value As Date
 
instance.ActiveTime = value
 
value = instance.ActiveTime
public DateTime ActiveTime {get; set;}
public:
property DateTime ActiveTime {
   DateTime get();
   void set (    DateTime value);
}
Remarks

Contains 0 if the condition has never been active.

If you are using VBA in Excel, beware that it reduces the precision of date/times from OLE Automation to seconds. In order to achieve milliseconds precision from VBA in Excel, use the ActiveTimeDouble property instead.

Requirements

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

See Also

Reference

AEConditionState Class
AEConditionState Members