QuickOPC User's Guide and Reference
UADataChangeFilter Constructor(UADeadbandType,Double,UADataChangeTrigger)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UADataChangeFilter Class > UADataChangeFilter Constructor : UADataChangeFilter Constructor(UADeadbandType,Double,UADataChangeTrigger)
The Deadband type and behaviour.
The numerical value of the deadband.
The conditions under which a data change notification should be reported.
Initializes a new instance of the class.
Syntax
'Declaration
 
Public Function New( _
   ByVal deadbandType As UADeadbandType, _
   ByVal deadbandValue As Double, _
   ByVal dataChangeTrigger As UADataChangeTrigger _
)
'Usage
 
Dim deadbandType As UADeadbandType
Dim deadbandValue As Double
Dim dataChangeTrigger As UADataChangeTrigger
 
Dim instance As New UADataChangeFilter(deadbandType, deadbandValue, dataChangeTrigger)

Parameters

deadbandType
The Deadband type and behaviour.
deadbandValue
The numerical value of the deadband.
dataChangeTrigger
The conditions under which a data change notification should be reported.
Exceptions
ExceptionDescription

An invalid enumeration value was used.

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.

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.

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