Author Topic: How to preclude the extension data collection?  (Read 3935 times)

Offline mukulsinghee

  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
on: March 13, 2010, 07:49:46 PM

I have just started using your package, the Wiimote Whiteboard v0.3 and am trying to create a motion capture application where the WIImote will capture motion of LEDs installed on a human wrist to determine the wrist angles. However, my intention is to power the LEDs from the extension port itself. However, when the LEDs into the extension, things go wrong with the following error:

An unhandled exception of type 'System.Exception' occurred in WiimoteWhiteboard v0.3.exe

Additional information: Error reading data from Wiimote: Attempt to read from write-only registers.

I must admit that I am very new to both C# coding as well as working on .NET, and have very primitive experience at this kind of stuff. Could someone please help me through this problem? It's taken me a few days just to get the LED position data to come out in an excel file format...

However, I think if I am able to stop the code from accessing the extension part of the data it is reading from the WII mote, it might take care of this problem..

Where in the code could I do this effectively?
Also, is there any other way to sort this problem out?

Any suggestions will be helpful.
Thanks in advance,