View unanswered posts | View active topics It is currently Thu Aug 21, 2014 4:02 pm






Reply to topic  [ 8 posts ] 
Connecting to program port on VEXNext Joystick 
Author Message
Rookie

Joined: Thu Aug 30, 2012 11:33 am
Posts: 7
Post Connecting to program port on VEXNext Joystick
I am having trouble trying to connect the VEXNet Joystick to a Windows 7 PC using the provided cable. It looks like a phone cable that plugs into the program port. I'm hope I'm correct in my understanding that I can tether the Joystick to the Cortex, and then compile and download programs to the Cortex without having to use a USB cable. Is this correct?

When I try plugging it in for the first time, the PC gives me the error that it can't communicate on that COMM port.

Is there something I missed? Thanks.


Thu Aug 30, 2012 11:45 am
Profile
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 564
Post Re: Connecting to program port on VEXNext Joystick
Hello Klynn,

Check out this guide on our wiki that walks you through the setup process for VEXNet and ROBOTC and see if that helps (it's a fair amount of information that I don't think would translate well to a forum post). Also, note that you can not use the VEXNet USB keys (the black 802.11 adapters) to wirelessly communicate from a PC to a Cortex/Joystick. The keys are used to communicate between a Joystick and a Cortex only.

One of the biggest things that gets overlooked (and will be added to the wiki guide soon) is to set your communication mode in ROBOTC to 'VEXNet or USB' (under Robot-> VEX Cortex Communication Mode), downloading a program to the Cortex, and then powercycling. Unless these steps are taken, the communication mode will NOT be set on the Cortex and it will not be able to communicate over the VEXNet keys properly.

Let me know if this works for you.

John

_________________
Check out our Blog! And our Facebook page!
Need help? Take a look at our Wiki and our Forums.

I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe?
~ Carly Rae Jepsen parody


Thu Aug 30, 2012 4:35 pm
Profile
Rookie

Joined: Thu Aug 30, 2012 11:33 am
Posts: 7
Post Re: Connecting to program port on VEXNext Joystick
Thank you for your response. I do have the mode set to use either of them.
I have been able to get one of the sample programs (dual joysticks) to run on the Cortex and allow me to more the robot with the joystick.
I want to make sure I understand this correctly. Am I supposed to be able to tether the joystick to the Cortex and then using the keys communicate between them while the joystick is connected to the PC running RobotC? Thanks.


Thu Aug 30, 2012 5:27 pm
Profile
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 564
Post Re: Connecting to program port on VEXNext Joystick
Yep, that's exactly how it works. Alternatively, you can load the program on the Cortex and then disconnect the joystick from the PC and run the robot remote controlled. The only downside of this is that you won't be able to have the real-time debugger going and you'll have to reconnect any time you want to load a program.

_________________
Check out our Blog! And our Facebook page!
Need help? Take a look at our Wiki and our Forums.

I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe?
~ Carly Rae Jepsen parody


Fri Aug 31, 2012 9:14 am
Profile
Rookie

Joined: Thu Aug 30, 2012 11:33 am
Posts: 7
Post Re: Connecting to program port on VEXNext Joystick
John,
I may be doing something wrong because my PC will not see the Joystick when I connect it with the cable. Can you tell me what the settings need to be? Thanks.


Fri Aug 31, 2012 9:33 am
Profile
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 564
Post Re: Connecting to program port on VEXNext Joystick
It probably would have helped if I actually posted the link for you :)

http://www.robotc.net/wiki/Tutorials/Ge ... _Joysticks

Run through that step by step first, and if you're still having problems with it let me know. This way it will help eliminate a lot of variables in the setup process.

_________________
Check out our Blog! And our Facebook page!
Need help? Take a look at our Wiki and our Forums.

I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe?
~ Carly Rae Jepsen parody


Fri Aug 31, 2012 1:22 pm
Profile
Rookie

Joined: Thu Aug 30, 2012 11:33 am
Posts: 7
Post Re: Connecting to program port on VEXNext Joystick
Thanks John,
I've been able to complete those steps, and I can download a program to the Cortex through the USB cable and then link the Cortex and Joystick so that I can click a button on the joystick and do something. What I can't do though, is use data cable that runs into the joystick from the PC. In the device manager, it tells me that the device can't be started. The device is the Prolific USB-to-Serial COMM Port. Are there COM settings that need to be changed? Thanks.


Fri Aug 31, 2012 4:39 pm
Profile
Site Admin
Site Admin

Joined: Tue May 15, 2007 9:02 am
Posts: 405
Post Re: Connecting to program port on VEXNext Joystick
It sounds like it may be a driver issue. In Add/Remove Programs in the Windows Control Panel, make sure that you only have one version of the Prolific driver installed. If the version on the ROBOTC page isn't working, VEX has older versions of the driver that you might try, here: http://www.vexforum.com/wiki/index.php/ ... _Downloads

If you haven't already, it's always a good idea to try rebooting your computer after installing driver software.

_________________
Jesse Flot
CMU Robotics Academy
ROBOTC Support


Mon Oct 01, 2012 2:53 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.