07-18-2010 12:11 AM
Hi all,
I'm new looking at Wii and Labview. I'm getting some error using Usage.vi.
Currently, I'm using IVT blue soleil to connect the Wiimote, the wimote.ddl and wimotelib are in the same folder that usage.vi. Finally, WiimoteTest.exe is working fine. Usage.vi results in error -1 "Wiimote Set Output Report.vi:16".
What have I done wrong?
Also, not sure to understand the meaning of Index in usage.vi
Thanks for your time,
Olivier
08-03-2010 06:03 PM - edited 08-03-2010 06:04 PM
Thanks JohannS. You're awesome.
08-27-2010 07:32 AM
Hi JohannS!
I'm trying to create a labview VI that allows me to get the values of
> the gyro in the motion plus, using wiimotelib 1.8 developed by Brian Peek. What I did was, i
> used the VI's of the version 1.7, specifically the
> subGetWiiMoteState(AccelButtonsBalance).vi, and erased the
> balanceboard state and de accelerometers state. Also I added a .net
> class with the Wiimote.MotionPlusState, and stracted the values X,Y
> and Z from there with another 2 property nodes, just like it was done
> with the values from the accelerometers. I left the the buttons
> state, and where I'm supposed to be receiving the accelerometers data
> I should be getting de MP data. But I keep getting this error: Error
> 1172 occurred at Error accessing property
> WiimoteLib.Wiimote.WiimoteState of NULL ObjectId,
> (System.ArgumentNullException: Key cannot be null.
> Parameter name: key
> ) in subGetWiiMoteState(AccelButtonsIR).vi
> Can you help me out with this?
Thank you!
08-27-2010 07:32 AM
Hi JohannS!
I'm trying to create a labview VI that allows me to get the values of
> the gyro in the motion plus, using wiimotelib 1.8 developed by Brian Peek. What I did was, i
> used the VI's of the version 1.7, specifically the
> subGetWiiMoteState(AccelButtonsBalance).vi, and erased the
> balanceboard state and de accelerometers state. Also I added a .net
> class with the Wiimote.MotionPlusState, and stracted the values X,Y
> and Z from there with another 2 property nodes, just like it was done
> with the values from the accelerometers. I left the the buttons
> state, and where I'm supposed to be receiving the accelerometers data
> I should be getting de MP data. But I keep getting this error: Error
> 1172 occurred at Error accessing property
> WiimoteLib.Wiimote.WiimoteState of NULL ObjectId,
> (System.ArgumentNullException: Key cannot be null.
> Parameter name: key
> ) in subGetWiiMoteState(AccelButtonsIR).vi
> Can you help me out with this?
Thank you!
09-24-2010 09:43 AM
Hello,
I'm a little bit confused working on my Motion Plus in Labview, using Brian Peeks WiimoteLib 1.8: When I'm running my VI and collecting data from accelerator and gyrometer parallel the gyro is polling data with a frequency of approx. 100 Hz, while accelerator is just polling about 6 Hz and unreasonable data.
But when I just use the accelerator without gyro-process everything is fine. Does anybody know a way how to use both modules simultaneously with a frequency of 100 Hz? Attached you find the VI running gyro and acc. at the same time.
Thanks for you great help in advance,
Frank
11-12-2010 05:30 AM
Hi OD,
I am also new and have the same problem too. I am using Labview 8.2.
I able to pair the wiimote to my laptop and functioning with a software called Wiinremote.exe that manage to get the XYZ data. So i take it as the BT paring is successful between the wiimote and laptop.
However when i tried to run the Usage.vi, i got the same error "-1 Wiimote Set Output Report.vi".
Can anybody please help to advise?
Thank you in advance.
ML
11-12-2010 10:17 AM
Hi,
I solved the problem with a third party software called "Blue Soleil Space" that takes care of some background managements that Wiinremote.exe does. This has allowed me to fully enjoy the DLL Wimote.
http://www.bluesoleil.com/products/SoftwareDetail.aspx?ProductID=S0001201005190001
Olivier
11-13-2010 09:26 PM
HI OD,
i installed Blue Soleil and connected the wiimote to my laptop. However same problem still happens. It seems whenever the Wiimote Set Output Report.vi loaded from the hid.dll:HidD_SetOutputReport, the return value is 0, then in the True case, error code -1 output to the error out.
I tried on a blank VI, with LV protocol "Bluetooth Discover", try to search all locally installed BT devices, but the indicator showed 0 devices. I wonder is it a problem with the hand shake between LV to the BT driver?
thank you for your advise.
ML.
01-16-2011 12:45 PM
I'm having the same issue. Including after installing blue soleil - it made no difference. Using LV 8.6 W7 and getting error 1172. WiimoteTest.exe works for both windows default bluetooth connection as well as bluesoleil.
Anyone???
01-18-2011 02:00 PM
Any chance the problem resides with the USB bluetooth adapter? I'm using a iogear GBU421. What ones are known to work?