LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using a wiimote with LabVIEW

Please find it on page 12, message posted by phreezer the 12.03.09 I use this one. Thanks
0 Kudos
Message 181 of 220
(2,699 Views)

Hello CIML,

 

I looked at the sample project that was posted on page 12 and read some interesting information in that post .  It seems that the VI posted does not actually function like you might think:

 

"I was able to get sound to come out of the speaker but it sounds nothing like the source wave.  From what I could find from a bit of searching on the internet it didn't seem like there had been much success using the speaker for anything other than simple tones yet."

 

It appears that the encoding may not be correct for the Wii remote to use.  I would contact the uploader and find what input sound files were being used for his testing and check if he has had any more success.

Anthony F.
Staff Software Engineer
National Instruments
0 Kudos
Message 182 of 220
(2,673 Views)

Hello everybody,

 

In order to drive a robot, I've written a VI which read values from the Wii Motion Plus.

 

I just want to share it with you, so here is the file.

0 Kudos
Message 183 of 220
(2,552 Views)

Here is how it works:

 

Capture.JPG

0 Kudos
Message 184 of 220
(2,550 Views)

Some updates:

 

-auto zero at wii motion plus initialization

-convertion from raw values to deg/s
-compatibility with Labview 8.6 (wiimote_old.zip)

 

Exemple:

Capture.JPG

Download All
Message 185 of 220
(2,540 Views)

I'm trying to use the lib with a Toshiba Bluetooth Stack. The "Wiimote Open" Sub-VI returns an "Ok" error message, but any other Suv-VI returns an "-1" error code. Does anybody knows how to fix it, except using the native windows stack?

 

Thanks

 

Nico

0 Kudos
Message 186 of 220
(2,447 Views)

Hello Balandier,

 

Personally, I gave up using Labview with Toshiba stack and I came back to Windows one. Since I did that, it works without too many problems...

0 Kudos
Message 187 of 220
(2,426 Views)

Thank you for you fast answer. I tried to use the Toshiba satck because I thought it would help me to acquire signals from two wiimotes at the same time. I only succeded once with the Windows stack. I'll post a clean VI as soon as I can.

 

Regards

 

N. Balandier

 

0 Kudos
Message 188 of 220
(2,401 Views)

Hello eveybody

 

Here is the VI I'm working on. When it runs, I can get the states of the buttons of both wiimotes, but one of the two graphs remains flat. Can someone help me?

 

Thanks

 

N. Balandier

0 Kudos
Message 189 of 220
(2,382 Views)

I have modified the C# wiimote library (by Brian Peek), added a better support for motion plus, read its calibration and a EKF - extended kalman filter- to calculate its position - just Pitch and roll - from Accel and Gyro. The actual library version is 1.9 - I  have hear Brain would release a 2.0 soon.

 

The labview sample uses this DLL ans show a 3D wiimote, the position, acell data and gyro.  The labview lib is a mix of the many libs found in this forum.

I have the C# source code if need.

 


 

0 Kudos
Message 190 of 220
(2,298 Views)