OPC Studio User's Guide and Reference
InactiveTimeLocal Property (AEConditionState)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > AEConditionState Class : InactiveTimeLocal Property
Time of the most recent transition out of this condition. In local time
Syntax
'Declaration
 
<IgnoreDataMemberAttribute()>
<XmlIgnoreAttribute()>
Public Property InactiveTimeLocal As Date
'Usage
 
Dim instance As AEConditionState
Dim value As Date
 
instance.InactiveTimeLocal = value
 
value = instance.InactiveTimeLocal
[IgnoreDataMember()]
[XmlIgnore()]
public DateTime InactiveTimeLocal {get; set;}
[IgnoreDataMember()]
[XmlIgnore()]
public:
property DateTime InactiveTimeLocal {
   DateTime get();
   void set (    DateTime value);
}
Remarks

Contains 0 if the condition has never been active, or if it is currently active for the first time and has never been exited.

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 InactiveTimeLocalDouble property instead.

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