ValueSymbolExtensions.PollValuesAnnotated Method (IValueSymbol, IObservable.Unit.)

Polls the values as ValueChangedArgs sequence annotated value on trigger sequence

Namespace:  TwinCAT.Ads.Reactive
Assembly:  TwinCAT.Ads.Reactive (in TwinCAT.Ads.Reactive.dll) Version: 4.3.0.0 (4.3.7.0)

Syntax

C#

public static IObservable<ValueChangedArgs> PollValuesAnnotated(
    this IValueSymbol symbol,
    IObservable<Unit> trigger
)

VB

<ExtensionAttribute>
Public Shared Function PollValuesAnnotated ( 
    symbol As IValueSymbol,
    trigger As IObservable(Of Unit)
) As IObservable(Of ValueChangedArgs)

Parameters

symbol

Type: TwinCAT.TypeSystem.IValueSymbol
The symbol.

trigger

Type: System.IObservable.Unit.
The polling Trigger.

Return Value

Type: IObservable.ValueChangedArgs.
IObservable<ValueChangedArgs>.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IValueSymbol. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Reference

ValueSymbolExtensions Class

PollValuesAnnotated Overload

TwinCAT.Ads.Reactive Namespace