Scale.ReadWeight(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads a weight from the scale.
public abstract decimal ReadWeight (int timeout);
abstract member ReadWeight : int -> decimal
Public MustOverride Function ReadWeight (timeout As Integer) As Decimal
Parameters
- timeout
- Int32
The number of milliseconds to wait for a settled weight before ReadWeight fails. If zero, ReadWeight attempts to read the scale weight, then returns the status immediately. If WaitForever, ReadWeight waits as long as needed until a weight is successfully read or an error occurs.