Go to Post When motors stall, bad things happen. - Rob Stehlik [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-01-2009, 12:17
domoarigato's Avatar
domoarigato domoarigato is offline
Team #1208 CCO
AKA: Coony
FRC #1208 (Metool Brigade)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: O'Fallon, Il
Posts: 32
domoarigato is an unknown quantity at this point
Deploy not working.... Help please?

Okee... So we thought for a while that we just weren't writing the code correctly, but since it still wants to use all four jaguars that we have plugged in to PWMs 1,2,3, and 4... We think we were never uploading code correctly in the first place... > . >;;;; Uh hm... So now we need to know where exactly we are (Er... rather... where just I am) going wrong here.

So.
We configured the wireless linksys router a while ago, and that seems to work fine. We plug the little black box one up to the electrical board and it connects (flashes and all) in response to the bigger linksys thing that's connected to the driver station. Set the driver station to our team number (1208), updated the firmware/reimaged and all that jazz. Set the RT Compact RIO IP to 10.12.08.02 as was specified in the manual, as well as set the Laptop's Local Area Connection IP address to 10.12.08.06, subnet mask 255.0.0.0, and defalut gateway 10.12.08.04....

Using that orange ethernet cable, we tethered the laptop to the driver station thing and have been (trying) to upload code by building the project and then deploying. Problem is, after we build it, and go to deploy, we just get a screen that says 'Waiting for Real-Time target (RT CompactRIO Target) to respond.' and get a clickable button that says 'Stop Waiting and Disconnect'. Yeahhh. Hm. That just takes us back to the Labview Project Explorer.

Any insight as to where exactly we (I) went wrong? V , V;;;;
  #2   Spotlight this post!  
Unread 24-01-2009, 12:20
domoarigato's Avatar
domoarigato domoarigato is offline
Team #1208 CCO
AKA: Coony
FRC #1208 (Metool Brigade)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: O'Fallon, Il
Posts: 32
domoarigato is an unknown quantity at this point
Re: Deploy not working.... Help please?

Hmrrrr.... do you suppose I could just plug the ethernet cable directly into the CRIO port instead of going through the wireless and it'll deploy correctly?
  #3   Spotlight this post!  
Unread 24-01-2009, 12:23
TotalChaos's Avatar
TotalChaos TotalChaos is offline
Registered User
AKA: Austin
FRC #2837 (Freebird Robotics)
Team Role: College Student
 
Join Date: Apr 2008
Rookie Year: 2006
Location: Gilbert AZ
Posts: 112
TotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud of
Send a message via MSN to TotalChaos
Re: Deploy not working.... Help please?

Hmmm..

Whenever I connect my laptop to the DS I've always used just a regular Ethernet cord, not the orange one. (The orange one is the crossover I believe) I think the crossover cable is only needed fro connecting the camera. Try swapping out the orange cord for a regular one and see if that helps.

- Austin
__________________
The 39th Aero Squadron - Team 39! (Visit our website!)
Team Role: 3 Years as Driver - College Student/Mentor!


Freebird Robotics - On a 1 year hiatus! (Visit our website!)
Arizona 2009: Semifinalists! (69 and 498), Delphi "Driving Tomorrow's Technology" Award
  #4   Spotlight this post!  
Unread 24-01-2009, 12:24
TotalChaos's Avatar
TotalChaos TotalChaos is offline
Registered User
AKA: Austin
FRC #2837 (Freebird Robotics)
Team Role: College Student
 
Join Date: Apr 2008
Rookie Year: 2006
Location: Gilbert AZ
Posts: 112
TotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud of
Send a message via MSN to TotalChaos
Re: Deploy not working.... Help please?

Quote:
Originally Posted by domoarigato View Post
Hmrrrr.... do you suppose I could just plug the ethernet cable directly into the CRIO port instead of going through the wireless and it'll deploy correctly?
You could use a hard wired connection, yes.

- Austin
__________________
The 39th Aero Squadron - Team 39! (Visit our website!)
Team Role: 3 Years as Driver - College Student/Mentor!


Freebird Robotics - On a 1 year hiatus! (Visit our website!)
Arizona 2009: Semifinalists! (69 and 498), Delphi "Driving Tomorrow's Technology" Award
  #5   Spotlight this post!  
Unread 24-01-2009, 13:02
domoarigato's Avatar
domoarigato domoarigato is offline
Team #1208 CCO
AKA: Coony
FRC #1208 (Metool Brigade)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: O'Fallon, Il
Posts: 32
domoarigato is an unknown quantity at this point
Re: Deploy not working.... Help please?

Okay... so I switched out the orange cord for a blue one we had. Disconnected the wireless black linksys box thing from the CRIO port one thing and plugged the blue ethernet cord into that slot. Turned on the electrical board and... after building, still got stuck at that one screen. ('Waiting for Real-Time target (RT CompactRIO Target) to respond.') Not sure why.... But it still doesn't want to let us deploy. V. V;;; And now mechanical's like "WE HAVE TO DRIVE BEFORE LUNCH etc etc" but it's still.... messed up... and I don't know why... > . > *sigh*
  #6   Spotlight this post!  
Unread 24-01-2009, 13:15
TotalChaos's Avatar
TotalChaos TotalChaos is offline
Registered User
AKA: Austin
FRC #2837 (Freebird Robotics)
Team Role: College Student
 
Join Date: Apr 2008
Rookie Year: 2006
Location: Gilbert AZ
Posts: 112
TotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud of
Send a message via MSN to TotalChaos
Re: Deploy not working.... Help please?

Check page 6 of this: http://www.usfirst.org/uploadedFiles...ation-0-5c.pdf. That's how the wiring should be set up. If it still doesn't work then you may just want to try resetting all the wireless components to factory defaults and reconfiguring them because it would likely be something in their settings that is messed up.

- Austin

EDIT - Oh and also, for the wire going to the wireless router, put it in one of the Ethernet slots, not the internet one.
__________________
The 39th Aero Squadron - Team 39! (Visit our website!)
Team Role: 3 Years as Driver - College Student/Mentor!


Freebird Robotics - On a 1 year hiatus! (Visit our website!)
Arizona 2009: Semifinalists! (69 and 498), Delphi "Driving Tomorrow's Technology" Award
  #7   Spotlight this post!  
Unread 24-01-2009, 13:28
domoarigato's Avatar
domoarigato domoarigato is offline
Team #1208 CCO
AKA: Coony
FRC #1208 (Metool Brigade)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: O'Fallon, Il
Posts: 32
domoarigato is an unknown quantity at this point
Re: Deploy not working.... Help please?

Hrmrrr... Well what's odd is that the wireless router and linksys black box thing work in the way of driving the robot wirelessly when the laptop/DS/etc is hooked up as they specify, though when we (I) try to load code in this configuration, it never seems to have any effect and just likes to give us that one screen ('Waiting for Real-Time target (RT CompactRIO Target) to respond.).... which is why I was wondering if we could just bypass the wireless loading of code and just connect thye laptop directly to the port 1 on the cRIO and deploy that way...

Okay... so Mechanical just brought up a good point: on the cRIO thing... there are all these little white buttons on a blue 'background'... (Safe Mode, Console Out, etc) And all of them are switched 'on'. What do these do and could it be a problem if they are all switched on? Is there a certain way/configuration they should be set to?
  #8   Spotlight this post!  
Unread 24-01-2009, 13:36
domoarigato's Avatar
domoarigato domoarigato is offline
Team #1208 CCO
AKA: Coony
FRC #1208 (Metool Brigade)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: O'Fallon, Il
Posts: 32
domoarigato is an unknown quantity at this point
Re: Deploy not working.... Help please?

Have read on (http://www.chiefdelphi.com/forums/sh...fe+mode+switch) that the Safe Mode and IP reset switches should be turned to 'off'...?
  #9   Spotlight this post!  
Unread 24-01-2009, 13:43
TotalChaos's Avatar
TotalChaos TotalChaos is offline
Registered User
AKA: Austin
FRC #2837 (Freebird Robotics)
Team Role: College Student
 
Join Date: Apr 2008
Rookie Year: 2006
Location: Gilbert AZ
Posts: 112
TotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud of
Send a message via MSN to TotalChaos
Re: Deploy not working.... Help please?

I'm actually not sure how the buttons need to be set up, but I attached a pic of how ours are set up. (They all appear to be pressed down on the "off" side)

- Austin
Attached Thumbnails
Click image for larger version

Name:	criobuttons1.jpg
Views:	34
Size:	24.6 KB
ID:	7213  
__________________
The 39th Aero Squadron - Team 39! (Visit our website!)
Team Role: 3 Years as Driver - College Student/Mentor!


Freebird Robotics - On a 1 year hiatus! (Visit our website!)
Arizona 2009: Semifinalists! (69 and 498), Delphi "Driving Tomorrow's Technology" Award

Last edited by TotalChaos : 24-01-2009 at 13:48.
  #10   Spotlight this post!  
Unread 24-01-2009, 13:50
TotalChaos's Avatar
TotalChaos TotalChaos is offline
Registered User
AKA: Austin
FRC #2837 (Freebird Robotics)
Team Role: College Student
 
Join Date: Apr 2008
Rookie Year: 2006
Location: Gilbert AZ
Posts: 112
TotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud of
Send a message via MSN to TotalChaos
Re: Deploy not working.... Help please?

Also, double check your battery. It's happened to me more than once that the battery got so low that all the lights were on but I couldn't download or run anything.

- Austin
__________________
The 39th Aero Squadron - Team 39! (Visit our website!)
Team Role: 3 Years as Driver - College Student/Mentor!


Freebird Robotics - On a 1 year hiatus! (Visit our website!)
Arizona 2009: Semifinalists! (69 and 498), Delphi "Driving Tomorrow's Technology" Award
  #11   Spotlight this post!  
Unread 24-01-2009, 13:56
domoarigato's Avatar
domoarigato domoarigato is offline
Team #1208 CCO
AKA: Coony
FRC #1208 (Metool Brigade)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: O'Fallon, Il
Posts: 32
domoarigato is an unknown quantity at this point
Re: Deploy not working.... Help please?

Rightyo. Tried to just put the blue-ethernet-cabley-thingy directly into the cRIO after messing with the DIPswitch (which sounds like an insulting name to me, haha...) and... still no luck... will try to change the battery; hopefully that will help...? It was getting pretty low. Any certain voltage we should keep the battery above so it works?
  #12   Spotlight this post!  
Unread 24-01-2009, 14:04
TotalChaos's Avatar
TotalChaos TotalChaos is offline
Registered User
AKA: Austin
FRC #2837 (Freebird Robotics)
Team Role: College Student
 
Join Date: Apr 2008
Rookie Year: 2006
Location: Gilbert AZ
Posts: 112
TotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud of
Send a message via MSN to TotalChaos
Re: Deploy not working.... Help please?

Quote:
Originally Posted by domoarigato View Post
Any certain voltage we should keep the battery above so it works?
I'm sure there is, but I'm not sure what it is lol

- Austin
__________________
The 39th Aero Squadron - Team 39! (Visit our website!)
Team Role: 3 Years as Driver - College Student/Mentor!


Freebird Robotics - On a 1 year hiatus! (Visit our website!)
Arizona 2009: Semifinalists! (69 and 498), Delphi "Driving Tomorrow's Technology" Award
  #13   Spotlight this post!  
Unread 24-01-2009, 14:27
domoarigato's Avatar
domoarigato domoarigato is offline
Team #1208 CCO
AKA: Coony
FRC #1208 (Metool Brigade)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: O'Fallon, Il
Posts: 32
domoarigato is an unknown quantity at this point
Re: Deploy not working.... Help please?

Haha okee. Doesn't seem to want to work too well under nine volts, so... Probably will try and keep a battery higher than that in.

So it will drive wirelessly okay... So it's not a problem with the wireless that we can think of, as the wireless router is on and blinks and communicates and all, and the robot will respond to the joysticks... albeit we can't load our own modified code into the cRIO, so we can't get the conveyer belt that's on a motor that we want to attach to a jaguar to work, nor can we control the agitator which is connected to a spike (though when that spike is connected to a DIO thing via a PWM cable, it will run in constant reverse, which is fine for the moment, but... would like to be able to control that eventually... which we can't do... but yeah)

Driving practice now... hopefully this programming issue can be sorted out before we have to resort to resetting everything... > . >;;;;
  #14   Spotlight this post!  
Unread 24-01-2009, 14:29
BLAQmx's Avatar
BLAQmx BLAQmx is offline
Software Engineer
no team (National Instruments)
Team Role: Engineer
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 100
BLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of light
Re: Deploy not working.... Help please?

If you are still having trouble connecting to the cRIO from your laptop you may need to disable your firewall and your wireless network card. Windows defaults to the wireless NIC.
__________________
NI FIRST Community: Where to go for LabVIEW, Wind River, cRIO-FRC, and NXT support.
  #15   Spotlight this post!  
Unread 24-01-2009, 14:43
domoarigato's Avatar
domoarigato domoarigato is offline
Team #1208 CCO
AKA: Coony
FRC #1208 (Metool Brigade)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: O'Fallon, Il
Posts: 32
domoarigato is an unknown quantity at this point
Re: Deploy not working.... Help please?

I have kept the wireless disabled, as yeah, it kept wanting to connect to the school's wireless. Pretty sure the Firewall is disabled as well, but I will check that.

Okay, totally killed the firewall. Dead. Gone.
Hooked up the blue-ethernet-cabley-thing to the driver station, connected that to the big linksys-router-thing, and the black-little-linksys-box to the cRIO in slot 1... and it responds and all.
But.
Still giving me that one screen when I went to deployyy.... ('Waiting for Real-Time target (RT CompactRIO Target) to respond.')

Really have no idea what else could be going wrong. It'll drive, which may satiate Mechanical for a while, but... I don't envision it being for too long...
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Workbench is not working. Need help Please electrowave89 Technical Discussion 5 19-01-2009 10:58
Help Camera Not Working wingnut1705 Programming 1 18-02-2007 08:53
Help! Radio not working steve d Electrical 13 16-02-2007 20:00
PLEASE HELP: OI switch box not working RbtGal1351 Control System 2 18-02-2006 19:34
reverse of motors NOT working please help Stillen Control System 4 11-02-2006 22:05


All times are GMT -5. The time now is 10:14.

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