Notice: This page contains information for the legacy Phidget21 Library. Phidget21 is out of support. Bugfixes may be considered on a case by case basis. Phidget21 does not support VINT Phidgets, or new USB Phidgets released after 2020. We maintain a selection of legacy devices for sale that are supported in Phidget21. We recommend that new projects be developed against the Phidget22 Library.
|
Template:SensorAPI
Phidget analog sensors do not have their own API- they simply output a voltage that is converted to a digital value and accessed through the "SensorValue" properties and events on the PhidgetInterfaceKit API. It is not possible to programmatically identify which sensor is attached to the Analog Input. To an InterfaceKit, every sensor looks the same. Your application will need to apply formulas from this manual to the SensorValue (which ranges from 0 to 1000) to convert it into the units of the quantity being measured.
See the PhidgetInterfaceKit User Guide for an overview of its API and a description of our architecture.