how can I access a specific accelerometer if there are more than one?


  • If there is more than one accelerometer present, how can I obtain a list and then select which one to subscribe to?

    • Edited by Maureen.Helm Wednesday, September 19, 2012 12:26 AM
    Tuesday, September 18, 2012 7:37 PM


All replies

  • Maureen,

    Is this for testing purposes or would the shipping product have two accelerometers?

    Best Wishes - Eric

    Wednesday, September 19, 2012 1:05 AM
  • Hi Eric,

    This is for testing purposes - I have a USB dongle board with many sensors (accel, gyro, compass, etc) that we use to demo our sensor fusion reference design. I want to make sure my Windows app uses data from the dongle board rather than from the sensors internal to the tablet. The only way I know of to access the sensor is:

    _accelerometer = Accelerometer.GetDefault();

    Ideally I would like to obtain a list of available sensors and allow the user to select which one to use.

    I'm curious though why it makes a difference if this is for testing purposes or shipping product?



    Wednesday, September 19, 2012 12:44 PM
  • Maureen,

    You will want to disable the built in accelerometer in device manager.

    Best Wishes - Eric

    Thursday, September 20, 2012 2:56 AM