Products for USB Sensing and Control
It is currently Mon Sep 22, 2014 10:19 pm

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu Jan 19, 2012 1:39 am 
Offline
Phidgetly

Joined: Tue Dec 20, 2011 7:14 pm
Posts: 19
Hi,

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

thanks.


Top
 Profile Send private message  
 
PostPosted: Thu Jan 19, 2012 8:14 am 
Offline
Human-Cyborg Relations
User avatar

Joined: Tue Sep 27, 2011 2:37 pm
Posts: 406
Location: Calgary
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


Top
 Profile Send private message  
 
PostPosted: Thu Jan 19, 2012 6:45 pm 
Offline
Phidgetly

Joined: Tue Dec 20, 2011 7:14 pm
Posts: 19
i see. thanks. Is the advanced sensor form code available for download?


Top
 Profile Send private message  
 
PostPosted: Fri Jan 20, 2012 8:53 am 
Offline
King of the Lab

Joined: Fri Mar 06, 2009 12:42 pm
Posts: 475
Location: Calgary, Canada
It is part of the InterfaceKit-full example


Top
 Profile Send private message  
 
PostPosted: Wed Jan 25, 2012 4:47 am 
Offline
Phidgeteer!

Joined: Thu Mar 04, 2010 2:51 am
Posts: 79
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.


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group