Values of the analog inputs.

Comments & issues
Gracejo
Phidgetly
Posts: 19
Joined: Tue Dec 20, 2011 7:14 pm
Contact:

Values of the analog inputs.

Postby Gracejo » Thu Jan 19, 2012 1:39 am

Hi,

May i know for the units for the analog inputs of the sensors in ur code sample.

thanks.

User avatar
burley
Human-Cyborg Relations
Posts: 439
Joined: Tue Sep 27, 2011 2:37 pm
Location: Calgary
Contact:

Re: Values of the analog inputs.

Postby burley » Thu Jan 19, 2012 8:14 am

It depends on which value you are talking about. The raw value comes in in volts. Once converted to SensorValue it is a dimensionless number between 0-1000. In the advanced sensor form code, the number gets converted into a proper value with units appropriate to the sensor type as selected by the user.
Brian Burley
403-282-7335 ext. 6003
support@phidgets.com

Gracejo
Phidgetly
Posts: 19
Joined: Tue Dec 20, 2011 7:14 pm
Contact:

Re: Values of the analog inputs.

Postby Gracejo » Thu Jan 19, 2012 6:45 pm

i see. thanks. Is the advanced sensor form code available for download?

erik
King of the Lab
Posts: 477
Joined: Fri Mar 06, 2009 12:42 pm
Location: Calgary, Canada
Contact:

Re: Values of the analog inputs.

Postby erik » Fri Jan 20, 2012 8:53 am

It is part of the InterfaceKit-full example

frodegill
Phidget Mastermind
Posts: 114
Joined: Thu Mar 04, 2010 2:51 am
Contact:

Re: Values of the analog inputs.

Postby frodegill » Wed Jan 25, 2012 4:47 am

The formulas are included in the Product Manuals (see link at each sensor page). I collected quite a few of them a while ago. You can see them in my Munin plugin.


Return to “General”

Who is online

Users browsing this forum: No registered users and 1 guest