Class ConfigureMagneticEncoder
- Namespace
- Harp.OutputExpander
- Assembly
- Harp.OutputExpander.dll
Represents an operator that generates a sequence of Harp messages to configure the magnetic encoder expansion.
public class ConfigureMagneticEncoder : Source<HarpMessage>
- Inheritance
-
ConfigureMagneticEncoder
- Inherited Members
Properties
SampleRate
Gets or sets a value specifying the sampling rate of the magnetic encoder.
public MagneticEncoderSampleRateMode SampleRate { get; set; }
Property Value
Methods
Generate()
Generates an observable sequence of Harp messages to configure the magnetic encoder expansion.
public override IObservable<HarpMessage> Generate()
Returns
- IObservable<HarpMessage>
A sequence of HarpMessage objects representing the commands needed to fully configure the magnetic encoder expansion.
Generate<TSource>(IObservable<TSource>)
Generates an observable sequence of Harp messages to configure the magnetic encoder expansion whenever the source sequence emits a notification.
public IObservable<HarpMessage> Generate<TSource>(IObservable<TSource> source)
Parameters
source
IObservable<TSource>The sequence containing the notifications used to emit new configuration messages.
Returns
- IObservable<HarpMessage>
A sequence of HarpMessage objects representing the commands needed to fully configure the magnetic encoder expansion.
Type Parameters
TSource
The type of the elements in the
source
sequence.