OPC Studio User's Guide and Reference
ActiveTimeTicks Property (AEEventData)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > AEEventData Class : 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
 
<BrowsableAttribute(False)>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<IgnoreDataMemberAttribute()>
<XmlIgnoreAttribute()>
Public Property ActiveTimeTicks As Long
'Usage
 
Dim instance As AEEventData
Dim value As Long
 
instance.ActiveTimeTicks = value
 
value = instance.ActiveTimeTicks
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[IgnoreDataMember()]
[XmlIgnore()]
public long ActiveTimeTicks {get; set;}
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[IgnoreDataMember()]
[XmlIgnore()]
public:
property int64 ActiveTimeTicks {
   int64 get();
   void set (    int64 value);
}
Exceptions
ExceptionDescription

The value of an argument is outside the allowable range of values as defined by the invoked method.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

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.

This member is not compatible with Visual Basic 6.0 (VB6).

This member is not compatible with VBScript.

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