Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   I hope this doesnt make me sound like a noob... (http://www.chiefdelphi.com/forums/showthread.php?t=86560)

BrandonG 15-08-2010 00:13

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

randalcr 15-08-2010 00:17

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?

BrandonG 15-08-2010 00:31

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

RookieWookiez 15-08-2010 01:03

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.

BrandonG 15-08-2010 01:10

Re: I hope this doesnt make me sound like a noob...
 
alright, thanks! I'm trying to get some labview practice in is all.

kamocat 15-08-2010 01:27

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.

BrandonG 15-08-2010 06:10

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?

BrandonG 15-08-2010 06:57

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?

randalcr 15-08-2010 14:25

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.

kamocat 15-08-2010 20:05

Re: I hope this doesnt make me sound like a noob...
 
Quote:

Originally Posted by BrandonG (Post 971590)
@kamocat What program are those options in?

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:

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.)

BrandonG 01-09-2010 17:58

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