QuickOPC User's Guide and Reference
SubconditionActiveTimeLocal Property (_AEConditionState)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents.ComTypes Namespace > _AEConditionState Interface : SubconditionActiveTimeLocal Property
Time of the most recent transition into active subcondition. This is the time value which must be specified when acknowledging the condition. In local time.
Syntax
'Declaration
 
Property SubconditionActiveTimeLocal As Date
'Usage
 
Dim instance As _AEConditionState
Dim value As Date
 
instance.SubconditionActiveTimeLocal = value
 
value = instance.SubconditionActiveTimeLocal
DateTime SubconditionActiveTimeLocal {get; set;}
property DateTime SubconditionActiveTimeLocal {
   DateTime get();
   void set (    DateTime value);
}
Remarks

Contains 0 if the condition has never been active.

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 SubconditionActiveTimeLocalDouble 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