Go to Post AndyMark is proud to announce that we will now be offering banana same-day shipping during build season for those food-deprived students on your team. - Hitchhiker 42 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-01-2012, 21:05
RahatAhmed RahatAhmed is offline
Registered User
FRC #4300 (The Lion Kings)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Texas
Posts: 24
RahatAhmed is an unknown quantity at this point
Program deployed, no response from robot

Hi, I'm a rookie this year, and I'm having trouble with the confusing documentation that we get. So far we've got the basic build done and the radio hooked up to the cRIO. We've had some networking problems as far as wireless goes, so we just use a long ethernet connection(we'll deal with one problem at a time).

I have been able to deploy the default RobotMain.vi program as-is to the robot. We're programming on the classmate so in order to get to the Driver Station we have to disconnect from the cRIO and switch user to Driver. After a lot of troubleshooting we have been able to get the DS to recognize the cRIO and that it has robot code. It also recognizes one of our joysticks. However, enabling the program doesn't do anything (in any mode). In the error box it mentions something about a while loop taking too long(I can't remember exactly right now, i'll edit this tomorrow when I'm back at school). The jaguars also keep flashing yellow no matter what we do.

1. Does anyone know how to get the program working?
2. Should I image our cRIO? We had it imaged on the kickoff so I don't know if it's the latest or not.
3. Should I install a newer Driver Station?
4. Should I install drivers for the Logitech Attack 3 joystick?
5. Slightly unrelated: Is there a good place to learn how to program the cRIO using LabVIEW? Not just the language itself but to control the robot.

Last edited by RahatAhmed : 10-01-2012 at 22:05.
Reply With Quote
  #2   Spotlight this post!  
Unread 10-01-2012, 22:38
Cancel's Avatar
Cancel Cancel is offline
Registered User
AKA: Levi Trammell
FRC #3931 (Cockadoodle Dominators)
Team Role: Programmer
 
Join Date: Oct 2011
Rookie Year: 2011
Location: Chickasha, OK
Posts: 5
Cancel is an unknown quantity at this point
Re: Program deployed, no response from robot

Check your ribbon cable going from your cRIO and your sidecar. This year some of the cables have been messed up. Follow this guide to fix it.

http://www.usfirst.org/sites/default...structions.pdf
Reply With Quote
  #3   Spotlight this post!  
Unread 10-01-2012, 23:05
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Program deployed, no response from robot

Quote:
Originally Posted by RahatAhmed View Post
We're programming on the classmate so in order to get to the Driver Station we have to disconnect from the cRIO and switch user to Driver.
You don't have to switch users. You can run the Driver Station as a Developer.

Quote:
The jaguars also keep flashing yellow no matter what we do.
This means they're not getting a PWM signal (I assume you aren't using CAN). It could be a wiring problem in several places, and troubleshooting that will require looking in detail at a number of things.

First, is the big amber Robot Signal Light plugged into the Digital Sidecar? If not, you can still look at the little green LED next to the RSL connector. What is the light doing when the robot is disabled? What is it doing when you enable the robot?

Second, is the Digital Sidecar properly powered? Are the BATT, +5v, and +6v green LEDs all brightly lit?

Third, is the cable from the cRIO's digital module to the Digital Sidecar assembled correctly? Some of the ones supplied in the Kit of Parts have one of the connectors backwards. See here for details.

Quote:
5. Slightly unrelated: Is there a good place to learn how to program the cRIO using LabVIEW? Not just the language itself but to control the robot.
I've heard good things about the http://www.frcmastery.com/ videos.
Reply With Quote
  #4   Spotlight this post!  
Unread 11-01-2012, 09:24
RahatAhmed RahatAhmed is offline
Registered User
FRC #4300 (The Lion Kings)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Texas
Posts: 24
RahatAhmed is an unknown quantity at this point
Re: Program deployed, no response from robot

Quote:
Originally Posted by Alan Anderson View Post
You don't have to switch users. You can run the Driver Station as a Developer.
Do I just follow the instructions on installing the Driver Station again on the Developer account?



Quote:
Originally Posted by Alan Anderson View Post
First, is the big amber Robot Signal Light plugged into the Digital Sidecar? If not, you can still look at the little green LED next to the RSL connector. What is the light doing when the robot is disabled? What is it doing when you enable the robot?.
I am not sure which green LED this is, do you have a picture of it? Also we have not installed the Robot Signal Light yet.

Quote:
Originally Posted by Alan Anderson View Post
Second, is the Digital Sidecar properly powered? Are the BATT, +5v, and +6v green LEDs all brightly lit?
They are brightly lit, all the time while the robot is powered.
Quote:
Originally Posted by Alan Anderson View Post

Third, is the cable from the cRIO's digital module to the Digital Sidecar assembled correctly? Some of the ones supplied in the Kit of Parts have one of the connectors backwards. See here for details.
Our cable seems to be fine(no twist).
We also get an error message on the Driver Station. Something about error -44061 "left and right motor" loop is taking too long.


I've heard good things about the http://www.frcmastery.com/ videos.[/quote]

Last edited by RahatAhmed : 11-01-2012 at 09:32.
Reply With Quote
  #5   Spotlight this post!  
Unread 11-01-2012, 09:31
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,717
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Program deployed, no response from robot

I would also suggest that you try to get your hands on another computer to program on, it will make your life 100x easier. Even an old laptop donated from someone that isn't using it anymore will work.
Reply With Quote
  #6   Spotlight this post!  
Unread 11-01-2012, 09:33
RahatAhmed RahatAhmed is offline
Registered User
FRC #4300 (The Lion Kings)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Texas
Posts: 24
RahatAhmed is an unknown quantity at this point
Re: Program deployed, no response from robot

Quote:
Originally Posted by notmattlythgoe View Post
I would also suggest that you try to get your hands on another computer to program on, it will make your life 100x easier. Even an old laptop donated from someone that isn't using it anymore will work.
Would a desktop work? I'm guessing we would need a wireless NIC, though.
Reply With Quote
  #7   Spotlight this post!  
Unread 11-01-2012, 09:39
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,717
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Program deployed, no response from robot

Yes a desktop would work, and if you have a wireless router you could just plug into that and not have to worry about wireless card.
Reply With Quote
  #8   Spotlight this post!  
Unread 11-01-2012, 09:40
RahatAhmed RahatAhmed is offline
Registered User
FRC #4300 (The Lion Kings)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Texas
Posts: 24
RahatAhmed is an unknown quantity at this point
Re: Program deployed, no response from robot

Quote:
Originally Posted by notmattlythgoe View Post
Yes a desktop would work, and if you have a wireless router you could just plug into that and not have to worry about wireless card.
How would a desktop connected to a wireless router be able to communicate to the radio on the robot?
Reply With Quote
  #9   Spotlight this post!  
Unread 11-01-2012, 09:45
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,717
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Program deployed, no response from robot

Same way it would with a wireless router, you set the IP address of the computer the same way you do for wireless. The router is basically just giving it wireless access. I will try to find the instructions for past years to set up a router configuration.
Reply With Quote
  #10   Spotlight this post!  
Unread 11-01-2012, 09:56
RahatAhmed RahatAhmed is offline
Registered User
FRC #4300 (The Lion Kings)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Texas
Posts: 24
RahatAhmed is an unknown quantity at this point
Re: Program deployed, no response from robot

Quote:
Originally Posted by notmattlythgoe View Post
Same way it would with a wireless router, you set the IP address of the computer the same way you do for wireless. The router is basically just giving it wireless access. I will try to find the instructions for past years to set up a router configuration.
I thought that wireless routers created their own private network, separate from the radio's? The only way I could imagine that it would work is if you configured a router(maybe one with custom firmware like DDWRT) to become a wireless bridge that connects to the radio and connects the desktop to it. Then again, I don't really have a formal education in networking so what do I know.
Reply With Quote
  #11   Spotlight this post!  
Unread 11-01-2012, 10:13
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,717
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Program deployed, no response from robot

Here are some instructions on how to set up a router to go in between a computer and the radio.
http://www.usfirst.org/uploadedFiles...ed-Rev-0.7.pdf
Reply With Quote
  #12   Spotlight this post!  
Unread 11-01-2012, 10:58
RahatAhmed RahatAhmed is offline
Registered User
FRC #4300 (The Lion Kings)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Texas
Posts: 24
RahatAhmed is an unknown quantity at this point
Re: Program deployed, no response from robot

Quote:
Originally Posted by notmattlythgoe View Post
Here are some instructions on how to set up a router to go in between a computer and the radio.
http://www.usfirst.org/uploadedFiles...ed-Rev-0.7.pdf
Wouldn't it be cheaper to just use the radio in AP mode and buy a wireless adapter for a desktop? We don't have any routers to use.
Reply With Quote
  #13   Spotlight this post!  
Unread 11-01-2012, 11:02
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,717
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Program deployed, no response from robot

Yeah, that would be fine. We had the router from previous years.
Reply With Quote
  #14   Spotlight this post!  
Unread 11-01-2012, 11:11
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Program deployed, no response from robot

Quote:
Originally Posted by RahatAhmed View Post
Do I just follow the instructions on installing the Driver Station again on the Developer account?
The installation shouldn't be account specific. You should be able to find the Driver Station in the Start menu on the Developer account or in C:\Program Files\FRC Driver Station
Reply With Quote
  #15   Spotlight this post!  
Unread 11-01-2012, 11:32
RahatAhmed RahatAhmed is offline
Registered User
FRC #4300 (The Lion Kings)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Texas
Posts: 24
RahatAhmed is an unknown quantity at this point
Re: Program deployed, no response from robot

Quote:
Originally Posted by RufflesRidge View Post
The installation shouldn't be account specific. You should be able to find the Driver Station in the Start menu on the Developer account or in C:\Program Files\FRC Driver Station
Oh thank you very much!now we just gotta get those drivers working
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:26.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi