Gets the sensed weight in kg.
Namespace:
PhidgetsAssembly: Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34
Syntax
| C# |
|---|
public double Weight { get; } |
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property Weight As Double |
| Visual C++ |
|---|
public: property double Weight { double get (); } |
Remarks
This weight is in kg (kilograms), but can easily be converted into other units. The accuracy, sesitivity and range depends on the scale and version.
Exceptions
| Exception | Condition |
|---|---|
| Phidgets..::.PhidgetException | If this Phidget is not opened and attached. |