Table of Contents

Class ResistanceInput

Namespace
Loehnert.Lisrt.IO.Beckhoff.Channels
Assembly
Loehnert.Lisrt.IO.Beckhoff.dll

Represents a resistance measurement channel.

public class ResistanceInput : ChannelLisrtModuleBase, INotifyPropertyChangedEx, ILisrtModule, INotifyPropertyChanged, IHasDeviceLabel, IHasKey, IHasServiceView
Inheritance
PropertyChangedBase
ResistanceInput
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Methods

Measure(bool, int)

Measures the resistance.

public double Measure(bool waitUntilSteady = true, int timeoutInMS = 20000)

Parameters

waitUntilSteady bool

Indicates whether to be waited until value is steady. For details see documentation "Steady state tolerance".

timeoutInMS int

Timeout in milliseconds.

Returns

double

The resistance in ohm.

Exceptions

TimeoutException

Thrown when no data received, or value was not steady while waitUntilSteady was true.

SetConnectionMode(ResistanceMeasurementConnectionMode)

Sets the connection mode. The default connection mode is FourWire.

public void SetConnectionMode(ResistanceMeasurementConnectionMode mode)

Parameters

mode ResistanceMeasurementConnectionMode

Connection mode.

SetRange(ResistanceMeasurementRange)

Disables auto range and sets a range.

public void SetRange(ResistanceMeasurementRange range)

Parameters

range ResistanceMeasurementRange

Measurement range.

ShowServiceView()

Shows the service window.

public void ShowServiceView()