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



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > AEEventData Class : ActiveTimeDouble 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, as double-precision floating-point number that contains an OLE Automation date.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<IgnoreDataMemberAttribute()>
<XmlIgnoreAttribute()>
Public Property ActiveTimeDouble As Double
'Usage
 
Dim instance As AEEventData
Dim value As Double
 
instance.ActiveTimeDouble = value
 
value = instance.ActiveTimeDouble
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[IgnoreDataMember()]
[XmlIgnore()]
public double ActiveTimeDouble {get; set;}
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[IgnoreDataMember()]
[XmlIgnore()]
public:
property double ActiveTimeDouble {
   double get();
   void set (    double value);
}
Exceptions
ExceptionDescription

One of the arguments provided to a method is not valid.

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 VBA in Excel, which removes the sub-seconds parts of VT_DATE values. This alternative property uses VT_R8 variant type instead, and provides a milliseconds resolution.

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