Class Probe
- Namespace
- DuetAPI.ObjectModel
- Assembly
- DuetAPI.dll
Information about a configured probe
public class Probe : ModelObject, INotifyPropertyChanging, IStaticModelObject, IModelObject, ICloneable, INotifyPropertyChanged
- Inheritance
-
Probe
- Implements
- Inherited Members
Constructors
Probe()
public Probe()
Properties
CalibA
Linear coefficient for scanning probes
public float? CalibA { get; set; }
Property Value
CalibB
Quadratic coefficient for scanning probes
public float? CalibB { get; set; }
Property Value
CalibrationTemperature
Calibration temperature (in C)
public float CalibrationTemperature { get; set; }
Property Value
DeployedByUser
Indicates if the user has deployed the probe
public bool DeployedByUser { get; set; }
Property Value
DisablesHeaters
Whether probing disables the heater(s)
public bool DisablesHeaters { get; set; }
Property Value
DiveHeight
Dive height of the probe (in mm)
[Obsolete("Use DiveHeights instead")]
public float DiveHeight { get; set; }
Property Value
DiveHeights
Dive heights of the probe. The first element is the regular dive height, the second element may be used by scanning Z-probes
public ObservableCollection<float> DiveHeights { get; }
Property Value
IsCalibrated
Indicates if the scanning probe is calibrated
public bool? IsCalibrated { get; set; }
Property Value
- bool?
LastStopHeight
Height of the probe where it stopped last time (in mm)
public float LastStopHeight { get; set; }
Property Value
MaxProbeCount
Maximum number of times to probe after a bad reading was determined
public int MaxProbeCount { get; set; }
Property Value
MeasuredHeight
Measured height (only applicable for scanning probes, in mm or null)
[Live]
public float? MeasuredHeight { get; set; }
Property Value
Offsets
X+Y offsets (in mm)
public ObservableCollection<float> Offsets { get; }
Property Value
RecoveryTime
Recovery time (in s)
public float RecoveryTime { get; set; }
Property Value
ScanCoefficients
Coefficients for the scanning Z-probe (4 elements, if applicable)
public ObservableCollection<float>? ScanCoefficients { get; set; }
Property Value
Speeds
Fast and slow probing speeds (in mm/s). Scanning probes may have three speeds where the last one is the movement speed while probing heightmaps
public ObservableCollection<float> Speeds { get; }
Property Value
TemperatureCoefficients
List of temperature coefficients
public ObservableCollection<float> TemperatureCoefficients { get; }
Property Value
Threshold
Configured trigger threshold (0..1023)
public int Threshold { get; set; }
Property Value
Tolerance
Allowed tolerance deviation between two measures (in mm)
public float Tolerance { get; set; }
Property Value
TouchMode
Touch mode options (if supported, otherwise null)
public ProbeTouchMode? TouchMode { get; set; }
Property Value
TravelSpeed
Travel speed when probing multiple points (in mm/min)
public float TravelSpeed { get; set; }
Property Value
TriggerHeight
Z height at which the probe is triggered (in mm)
public float TriggerHeight { get; set; }
Property Value
Type
Type of the configured probe
public ProbeType Type { get; set; }
Property Value
- See Also
Value
Current analog values of the probe
[Live]
public ObservableCollection<int> Value { get; }
Property Value
Methods
Assign(IStaticModelObject)
Assign the properties from another instance. This is required to update model properties which do not have a setter
public void Assign(IStaticModelObject from)
Parameters
fromIStaticModelObjectOther instance
Clone()
Clone this instance
public object Clone()
Returns
- object
Cloned instance
Remarks
This method is auto-generated
UpdateFromJson(JsonElement, bool)
Update this instance from a given JSON element
public void UpdateFromJson(JsonElement jsonElement, bool ignoreSbcProperties)
Parameters
jsonElementJsonElementElement to update this intance from
ignoreSbcPropertiesboolWhether SBC properties are ignored
Remarks
This method is auto-generated
Exceptions
- JsonException
Failed to deserialize data
UpdateFromJsonReader(ref Utf8JsonReader, bool)
Update this instance from a given JSON element
public void UpdateFromJsonReader(ref Utf8JsonReader reader, bool ignoreSbcProperties)
Parameters
readerUtf8JsonReaderReader to update this intance from
ignoreSbcPropertiesboolWhether SBC properties are ignored
Remarks
This method is auto-generated
Exceptions
- JsonException
Failed to deserialize data