![]() |
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;;;; |
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?
|
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 |
Re: Deploy not working.... Help please?
Quote:
- Austin |
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*
|
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. |
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? |
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'...?
|
Re: Deploy not working.... Help please?
1 Attachment(s)
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 |
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 |
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?
|
Re: Deploy not working.... Help please?
Quote:
- Austin |
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... > . >;;;; |
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.
|
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... |
| All times are GMT -5. The time now is 02:24. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi