LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use Wii Balance Board in LabVIEW

Sorry, but i haven't tried. I suppose that if you can connect two Balance Board via bluetooth, and open two connections in Labview (Wiimote Open) with diferent index, maybe it will work.
It works with two wiimotes, but i don't know with two Boards because on Wii console, the Board is the fourth device directly.

Good luck

0 Kudos
Message 31 of 77
(2,533 Views)

Hi craya, could you tell me a little more about the index? what do you mean by changing the index? do I need to add an extra index in the code? And it would be great if you could tell me how the balance board codes are programmed. Really thanks for your help!

0 Kudos
Message 32 of 77
(2,496 Views)

The index is a handle in windows for identify different bluetooth devices connected. Sorry, but i don't create the base code, i only adapt the wiimote code for the Balance Board.

About the code and the index you can have more information in the original message about Wiimote usage named "Using a wiimote with LabVIEW ", where talk about the index and the code.

http://forums.ni.com/t5/LabVIEW/Using-a-wiimote-with-LabVIEW/td-p/526676/page/2

 

 

0 Kudos
Message 33 of 77
(2,483 Views)

Hi craya, so you mean I should do something like this? Thanks very much!

0 Kudos
Message 34 of 77
(2,465 Views)

Hi

 

I have no experience in labview, i just found your VIs when i was looking for an interface to read balance center data from my wii balance board and to write them to an excel file . I connected the balance board to the computer via bluetooth and run the usage_wiibalanceboard.vi, which looks like what i am looking for. but the xy Balance Board graph doesn't change when i run it. Did I get your application all wrong or am i doing something wrong? Thank you

0 Kudos
Message 35 of 77
(2,439 Views)

Hi Tugcek,

The program works fine in my PC. As the bluetooth connection made by LabView is somehow unstable, you need to make sure that the LED in the wii board is always blinking when you make the connection with the PC. If not, try to connect for another time. if you can't see the point moving in the X_Y plane, then probably the wii board and the PC is not well connected. 

Good luck!

0 Kudos
Message 36 of 77
(2,430 Views)

Yes, it was the connection. I fixed it and it works perfect. Thanks very much! I have one last question. When i say export data to excel, it only prints the instantaneous coordinates. Is there a feature that prints the time dependent data ? Thanks again for your help!

0 Kudos
Message 37 of 77
(2,416 Views)

Hi Tugcek, sorry but I don't know how to export data to excel by using LabView. in LabView i just know how to export the data to a text file and I can get continuous data. But I guess these 2 methods should be somehow the same, you just need to assign a boolean "T" to the write file vi to enable the excel file can be overwritten. and then i think it should work fine.

Good luck! 

0 Kudos
Message 38 of 77
(2,410 Views)

hı Henry. thanks very much for the info. i am pretty new to the system so could  you please give me more details on how to do this? (ie inserting a true boolean into the write.vi) i really appreciate your help.

0 Kudos
Message 39 of 77
(2,403 Views)

Hi Tugcek, I just know how to export data to a text file. First you create a vi called Write to Spreadsheet and inside this vi there will be a port called append to file, and then you just need to assign a boolean true to this port (as the picture attached) and then every time, the data will be written continuously, not just the the data at that moment. Hope this will be helpful 🙂

Good luck!

0 Kudos
Message 40 of 77
(2,388 Views)