Class FileDevice
Represents an operator which produces an observable sequence of Harp messages from a previously recorded data file.
public class FileDevice : Source<HarpMessage>
- Inheritance
-
FileDevice
- Inherited Members
Properties
FileName
Gets or sets the path to the binary file containing Harp messages to playback.
public string FileName { get; set; }
Property Value
IgnoreErrors
Gets or sets a value indicating whether to ignore any device error messages included in the binary file.
public bool IgnoreErrors { get; set; }
Property Value
PlaybackRate
Gets or sets the optional rate multiplier to either slowdown or speedup the playback. If no rate is specified, playback will be done as fast as possible.
public double? PlaybackRate { get; set; }
Property Value
Methods
Generate()
Opens the specified file name and returns the observable sequence of Harp messages stored in the binary file.
public override IObservable<HarpMessage> Generate()
Returns
- IObservable<HarpMessage>
The observable sequence of Harp messages stored in the binary file.