![]() |
I hope this doesnt make me sound like a noob...
...but how do I control an NXT programmed in labview with the logitech controller? Ive got just a basic program written, and it deploys fine, but it seems that labview isn't detecting the controller... I put an indicator on the output of the joystick and it doesn't change... Ive checked the properties for the controller and it works fine, and Ive made the input a constant to verify that the NXT is working. I cant find anything about it on Google or on here... I'm so lost TT.TT
|
Re: I hope this doesnt make me sound like a noob...
are you using Labview 2009?, and are you using the driver station for FTC?
|
Re: I hope this doesnt make me sound like a noob...
Labview 09 yes. No I dont have that... is it needed for this? :o
|
Re: I hope this doesnt make me sound like a noob...
I'm sure their are other ways of controlling an NXT brick with a logitech controller, but using an FTC driver station would be the easy way to go. If you have labview installed you can just download the driverstation(found in WPI's FTC programming resources) and run it since it uses the labview runtime engine. I don't know how easily you can get everything up and running with the 2010 driver station (get bluetooth connections established) but i know the 2009 driver station was extremely simple to use, and fairly self explanatory.
|
Re: I hope this doesnt make me sound like a noob...
alright, thanks! I'm trying to get some labview practice in is all.
|
Re: I hope this doesnt make me sound like a noob...
If you're accessing the values directly on your computer, you can use the HID devices in the connectivity palette.
This leaves two ways to control the NXT: Direct control OR Communication through Bluetooth inboxes. If you're not using Windows, then I wish you good luck in making a driver for the joystick with the Visa functions. I haven't looked into the documentation enough to determine the difficulty. |
Re: I hope this doesnt make me sound like a noob...
Im trying to find a download for the FTC driver station... I forgot where it was
@kamocat What program are those options in? |
Re: I hope this doesnt make me sound like a noob...
hmm apparently the labview package comes with one at C:\Program Files\National Instruments\LabVIEW 2009\examples\FTC Toolkit\FTC Controller Station\FTC Controller Station.exe
Im running that now and its working ^_^ only problem is is that I cant figure out how to get it running on the nxt, and have it also running in labview so that I can probe it and etc.. its 4am now and Ive been messing with this for far too many hours so im going to go to sleep, but let me know if its even possible? |
Re: I hope this doesnt make me sound like a noob...
what values are you wanting to probe? I've always put values on the NXT screen to see them when running code, but I can't remeber if its possible to run the code live.
|
Re: I hope this doesnt make me sound like a noob...
Quote:
![]() The bluetooth messages and direct control can all be found in the NXT palette. However, it does make a difference whether your current target is the NXT or your computer. (It shows a different palette set for the two.) |
Re: I hope this doesnt make me sound like a noob...
Thanks for the help all, but something has killed bluetooth for windows 7 so this is nor longer an issue.
|
| All times are GMT -5. The time now is 03:28. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi