…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
are you using Labview 2009?, and are you using the driver station for FTC?
Labview 09 yes. No I dont have that… is it needed for this? :o
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.
alright, thanks! I’m trying to get some labview practice in is all.
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.
Im trying to find a download for the FTC driver station… I forgot where it was
@kamocat What program are those options in?
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?
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.
I’m using LabVIEW 8.6 for FRC. However, I believe they’re still available in the LabVIEW 2009 for FTC. Here’s a screenshot of where they are in the pallette:
http://content.screencast.com/users/kamocat/folders/Jing/media/e7e95fbd-c0ea-47bb-8834-adf84a44b241/visa%20and%20HID%20pallettes.png
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.)
Thanks for the help all, but something has killed bluetooth for windows 7 so this is nor longer an issue.