Answered by:
Inclinometer not getting results or 'readingchanged' event

Question
-
Hi,
Trying to use the inclinometer (in an HTML/JS app), which is recognized (i.e. Windows.Devices.Sensors.Inclinometer.getDefault() doesn't return null). However, that is where the functionality ends. Any help? I'm using a Samsung XE700T running Release Preview...
The few times I've gotten it to output anything, its only given me these static values: pitch: 0, roll: 0, yaw: 360
- Edited by romeboards Friday, August 3, 2012 11:04 PM additional info
Friday, August 3, 2012 10:58 PM
Answers
-
As a test try the various sensor app samples and let me know which ones do and do not work. perhaps at that point we can troubleshoot your issue better.
Best Wishes - Eric
- Marked as answer by Eric Hanson-MSFTModerator Tuesday, August 7, 2012 6:48 AM
Tuesday, August 7, 2012 6:48 AMModerator
All replies
-
Rome Boards,
What happens when you use the SDK sample?
http://code.msdn.microsoft.com/windowsapps/Inclinometer-Sensor-Sample-0cd0bf84
Best Wishes - Eric
Friday, August 3, 2012 11:22 PMModerator -
same thing. inclinometer never returns null, but the onDataChanged function never gets called. reportInterval stays set at 16 as well...Friday, August 3, 2012 11:25 PM
-
Rome Boards,
I have been using the following evaluation boards from ST:
eMotion boards:
(ASIA )Arrow Asia: http://components-asiapac.arrow.com/cart/?version=en&partno=STEVAL-MKI119V1
(USA)Digikey: http://search.digikey.com/scripts/DkSearch/dksus.dll?lang=en&site=us&KeyWords=STEVAL-MKI119V1&x=18&y=18
They have worked great for me.
Best Wishes - Eric
- Marked as answer by Eric Hanson-MSFTModerator Monday, August 6, 2012 5:56 PM
- Unmarked as answer by romeboards Monday, August 6, 2012 9:12 PM
Monday, August 6, 2012 5:56 PMModerator -
Hi Eric,
Thanks for the response, however I'm not in a position to get a new board for the tablet I'm working on. Would reinstalling the device driver help or is there something I'm missing programmatically? And if not, is there a built in Win8 tool for testing this?
Monday, August 6, 2012 9:12 PM -
As a test I would start with the compass sample and see if that works.
Best Wishes - Eric
Monday, August 6, 2012 9:18 PMModerator -
As a test try the various sensor app samples and let me know which ones do and do not work. perhaps at that point we can troubleshoot your issue better.
Best Wishes - Eric
- Marked as answer by Eric Hanson-MSFTModerator Tuesday, August 7, 2012 6:48 AM
Tuesday, August 7, 2012 6:48 AMModerator