Table of Contents

Interface IMultimeter

Namespace
Loehnert.Lisrt.Multimeter
Assembly
Loehnert.Lisrt.Multimeter.dll

Interface for a multimeter.

public interface IMultimeter

Properties

Function

Gets the current function.

IFunction Function { get; }

Property Value

IFunction

Functions

Gets an enumeration of possible functions.

IEnumerable<IFunction> Functions { get; }

Property Value

IEnumerable<IFunction>

LastMeasuredValue

Gets the last measured value.

double LastMeasuredValue { get; }

Property Value

double

Range

Gets the current range.

IRange Range { get; }

Property Value

IRange

Ranges

Gets an enumeration of possible ranges.

IEnumerable<IRange> Ranges { get; }

Property Value

IEnumerable<IRange>

Methods

Measure()

Measures with the current configuration.

double Measure()

Returns

double

The measured value.

SetFunction(string)

Configures measurement measure function.

void SetFunction(string function)

Parameters

function string

A key from Functions.

SetRange(object)

Sets the range.

void SetRange(object range)

Parameters

range object

A range as floating point value (e.g. 10.0 means from -10.0V to +10.0V), or a string representing a range: "AUTO", "MIN" or "MAX.

Remarks

If range is a floating point value, the best range must be selected, e.g. 6.8 selects the 10V range.