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
waitUntilSteady
boolIndicates whether to be waited until value is steady. For details see documentation "Steady state tolerance".
timeoutInMS
intTimeout 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
ResistanceMeasurementConnectionModeConnection mode.
SetRange(ResistanceMeasurementRange)
Disables auto range and sets a range.
public void SetRange(ResistanceMeasurementRange range)
Parameters
range
ResistanceMeasurementRangeMeasurement range.
ShowServiceView()
Shows the service window.
public void ShowServiceView()