Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User sniiki's Avatar
    Join Date
    Feb 2012
    Posts
    3
    I'd need to do some quick sampling with WP and was wondering whether any Lumia / other WP device is capable to record accelerometer readings in, lets say, 200Hz (5ms interval)? Atleast the emulator only lets me to sample with 20ms intervals.

    Code:
    accelerometer.TimeBetweenUpdates = TimeSpan.FromMilliseconds(1)
    actualSampleRate.Text = accelerometer.TimeBetweenUpdates.TotalMilliseconds & " ms"
    So, if this is the case with real devices too, is there any trick to override it?

    Thanks in advance!

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,673
    You could check: http://msdn.microsoft.com/en-us/libr...=vs.92%29.aspx , and the property TimeBetweenUpdates, documentation does state: "Different devices are capable of different rates of providing sensor data. You can query this property after setting it to see what value is actually being used. The default value is 2 milliseconds." for it, so you should actually try that before assuming what the device is capable of.

  3. #3
    Registered User sniiki's Avatar
    Join Date
    Feb 2012
    Posts
    3
    Thanks. Yeah I noticed that earlier, but can anyone confirm to what rates e.g. Lumia 800 is capable?

  4. #4
    Registered User sniiki's Avatar
    Join Date
    Feb 2012
    Posts
    3
    What are the odds... Nokia's developer forum and nobody has a Lumia...

Similar Threads

  1. Can we set the data rate for accelerometer sensor??
    By chandran.biju007 in forum Mobile Java General
    Replies: 7
    Last Post: 2010-08-19, 14:42
  2. Stroke-rate meter using accelerometer?
    By jwshale in forum Python
    Replies: 0
    Last Post: 2009-12-14, 21:00
  3. maximum baud rate of COM
    By nantonglucat in forum General Development Questions
    Replies: 0
    Last Post: 2009-10-17, 03:55
  4. Changing Data Rate of accelerometer.
    By olhed in forum Symbian User Interface
    Replies: 1
    Last Post: 2009-03-13, 12:42
  5. sample rate of phones
    By hp3 in forum Audio
    Replies: 1
    Last Post: 2003-04-21, 02:16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved