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



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > AEEventData Class : ActiveTime Property
Time that the condition became active (for single-state conditions), or the time of the transition into the current sub-condition (for multi-state conditions). In UTC.
Syntax
'Declaration
 
Public Property ActiveTime As Date
'Usage
 
Dim instance As AEEventData
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

This property is used only for Condition-Related Events (see EventType).

This time is used by the client when acknowledging the condition.

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

AEEventData Class
AEEventData Members