Detailed Description
These calls are specific to the Phidget Weight Sensor object. See your device's User Guide for more specific API details, technical information, and revision details. The User Guide, along with other resources, can be found on the product page for your device.
Typedef Documentation
A Phidget WeightSensor handle
Function Documentation
Creates a Phidget WeightSensor handle.
- Parameters:
-
| phid | A pointer to an unallocated Phidget WeightSensor handle. |
Gets the sensed weight.
- Parameters:
-
| phid | An attached phidget weight sensor handle. |
| weight | The weight. |
Set a weight change handler. This is called when the weight changes by more then the change trigger.
- Parameters:
-
| phid | An attached phidget weight sensor handle. |
| fptr | Callback function pointer. |
| userPtr | A pointer for use by the user - this value is passed back into the callback function. |
Gets the weight change trigger.
- Parameters:
-
| phid | An attached phidget weight sensor handle. |
| trigger | The change trigger. |
Sets the weight change trigger.
- Parameters:
-
| phid | An attached phidget weight sensor handle. |
| trigger | The change trigger. |