QuickOPC User's Guide and Reference
ActiveTimeTicks Property (_AEEventData)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents.ComTypes Namespace > _AEEventData Interface : ActiveTimeTicks 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 ticks.
Syntax
'Declaration
 
Property ActiveTimeTicks As Long
'Usage
 
Dim instance As _AEEventData
Dim value As Long
 
instance.ActiveTimeTicks = value
 
value = instance.ActiveTimeTicks
long ActiveTimeTicks {get; set;}
property int64 ActiveTimeTicks {
   int64 get();
   void set (    int64 value);
}
Remarks

This property is primarily aimed at Python.NET, which loses the precision below microseconds level, as it represents the .NET System.DateTime as Python 'datetime' object. This alternative property uses 64-bit integer type instead, and provides a resolution of 100 nanoseconds.

For more remarks, see ActiveTime.

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