Alert.png

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.


Click on the 2phidget22.jpg button in the menu bar to go to the Phidget22 version of this page.

Alert.png

Template:SensorAPI

From Phidgets Legacy Support
Revision as of 15:09, 21 August 2012 by Mparadis (talk | contribs) (Created page with "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 event...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.