Class ResistanceInput
Represents a resistance measurement channel.
public class ResistanceInput : ChannelLisrtModuleBase, INotifyPropertyChangedEx, ILisrtModule, INotifyPropertyChanged, IHasDeviceLabel, IHasKey, IHasServiceView
- Inheritance
-
PropertyChangedBaseResistanceInput
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Methods
Measure(bool, int)
Measures the resistance.
public double Measure(bool waitUntilSteady = true, int timeoutInMS = 20000)
Parameters
waitUntilSteadyboolIndicates whether to be waited until value is steady. For details see documentation "Steady state tolerance".
timeoutInMSintTimeout in milliseconds.
Returns
- double
The resistance in ohm.
Exceptions
- TimeoutException
Thrown when no data received, or value was not steady while
waitUntilSteadywas true.
SetConnectionMode(ResistanceMeasurementConnectionMode)
Sets the connection mode. The default connection mode is FourWire.
public void SetConnectionMode(ResistanceMeasurementConnectionMode mode)
Parameters
modeResistanceMeasurementConnectionModeConnection mode.
SetRange(ResistanceMeasurementRange)
Disables auto range and sets a range.
public void SetRange(ResistanceMeasurementRange range)
Parameters
rangeResistanceMeasurementRangeMeasurement range.
ShowServiceView()
Shows the service window.
public void ShowServiceView()