07-29-2011 06:00 AM
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
08-11-2011 03:44 AM
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!
08-13-2011 11:21 AM
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
08-15-2011 05:37 AM
Hi craya, so you mean I should do something like this? Thanks very much!
08-16-2011 10:26 PM
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
08-17-2011 03:25 AM
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!
08-17-2011 12:33 PM
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!
08-17-2011 03:38 PM
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!
08-17-2011 04:09 PM
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.
08-18-2011 04:31 PM
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!