Class MeasuringBridgeInput
Represents an analog measure bridge input.
public class MeasuringBridgeInput : ChannelLisrtModuleBase, INotifyPropertyChangedEx, ILisrtModule, INotifyPropertyChanged, IHasDeviceLabel, IHasKey, IHasServiceView
- Inheritance
-
PropertyChangedBaseMeasuringBridgeInput
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Properties
HasError
Gets a value indicating whether the terminal has an error.
public bool HasError { get; }
Property Value
IsSteady
Gets a value indicating whether the value is steady.
public bool IsSteady { get; }
Property Value
Remarks
Configure the filter (CoE object 8000:11), steady state window (CoE object 8000:29) and the steady state tolerance (CoE object 8000:2A) for an optimal result.
Unit
Gets or sets the unit.
public string Unit { get; set; }
Property Value
Value
Gets the latest value.
public double Value { get; }
Property Value
Remarks
Use GetValue() to wait for a new measured value.
Methods
GetValue()
Gets the value by awaiting new data.
public double GetValue()
Returns
- double
The latest scaled value.
Remarks
Awaiting new data (TxPDO Toggle) can take 10 to 250ms + cycle time.
Exceptions
- InvalidOperationException
Thrown when over range is detected, or data are invalid, or range is invalid or the terminal has an error.
- TimeoutException
Thrown when the TxPDO Toggle bit does not signal a new measurement in the expected time range.
ShowServiceView()
Shows the service window.
public void ShowServiceView()
Tare()
Tares the value temporary. The tare value will be lost on brownout.
public void Tare()
Remarks
Sets the bit "Tara" in the control word to true, awaits new data available ("TxPDO Toggle" in status word) and resets the bit "Tara".
Exceptions
- TimeoutException
Thrown when the TxPDO Toggle bit does not signal a new measurement in the expected time range.