BRML Drivers


Recorder<'S>

Namespace: SampleRecorder

Data recorder. Records samples of type 'S (must be a record type of ArrayNDHostTs) using the given sensors (must implemented the ISensor and ISensor<_> interfaces).

Constructors

ConstructorDescription
new(sensors)
Signature: (sensors:ISensor list) -> Recorder<'S>

CompiledName: .ctor

Instance members

Instance memberDescription
Clear()
Signature: unit -> unit

Clears all recorded data.

GetSamples(interval)
Signature: (interval:float option) -> seq<'S>

Gets all recorded samples using the specified inter-sample interval using linear interpolation. If None is specified for the interval, then the average sampling interval of the fastest sensor is used.

PrintStatistics()
Signature: unit -> unit

Prints recording statistics for all channels.

Start()
Signature: unit -> unit

Starts recording.

Stop()
Signature: unit -> unit

Stops recording.

Fork me on GitHub