Go to Post As JFK said we did not do this because it was easy, we did it because it was hard. - Glenn [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 18-01-2010, 02:19
FRC4ME FRC4ME is offline
Registered User
FRC #0339
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Fredericksburg, VA
Posts: 324
FRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant future
Change IP of development computer?

Does anyone know if it is possible to modify the build script to change the expected IP of the development computer? Right now it only works if the IP is set to 10.xx.yy.6, but we have students developing code on multiple PCs at once and would like to be able to download from each of them without constantly reconfiguring the network.

Thanks for any assistance.
__________________
Go directly to queue. Do not pass pit.
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2010, 09:31
whytheheckme's Avatar
whytheheckme whytheheckme is offline
Registered User
AKA: Jacob Komar
no team
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Providence, RI
Posts: 1,320
whytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond repute
Send a message via ICQ to whytheheckme Send a message via AIM to whytheheckme Send a message via MSN to whytheheckme Send a message via Yahoo to whytheheckme
Re: Change IP of development computer?

I wasn't aware that the cRIO cared which IP it's code was coming from? I know that you can send code from both .5 and .6 (as I've programmed successfully from the Classmate as well as another development machine), but as far as I know, the FTP client in Netbeans simply connects to your cRIO at .2?

Jacob
Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2010, 09:39
Phalanx's Avatar
Phalanx Phalanx is offline
Formerly Team 1089 (Mercury)
AKA: Michael Reffler
FRC #5431 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jun 2005
Rookie Year: 1999
Location: Lewisville, TX (previously NJ)
Posts: 384
Phalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond repute
Re: Change IP of development computer?

Just so you are aware, you only need to be 10.x.x.6 if you want to be the Dashboard machine.

You can download and/or run using any 10.x.x.* address. The Dashboard.VI even has a forwarding address to redirect that data to another machine.

We setup our wireless router to give out 10.x.x.50 and above IP addresses, so we can still DHCP setup.
__________________
Don't just ask the experts, become one!
Leadership is not about ability. It's about responsibility!
Diagonally Parked in a Parallel Universe. It's okay we do Quantum Physics


Reply With Quote
  #4   Spotlight this post!  
Unread 18-01-2010, 09:41
whytheheckme's Avatar
whytheheckme whytheheckme is offline
Registered User
AKA: Jacob Komar
no team
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Providence, RI
Posts: 1,320
whytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond repute
Send a message via ICQ to whytheheckme Send a message via AIM to whytheheckme Send a message via MSN to whytheheckme Send a message via Yahoo to whytheheckme
Re: Change IP of development computer?

Quote:
Originally Posted by Phalanx View Post
Just so you are aware, you only need to be 10.x.x.6 if you want to be the Dashboard machine.
Isn't the Driver Station supposed to be 10.x.x.5?
Reply With Quote
  #5   Spotlight this post!  
Unread 18-01-2010, 09:59
Phalanx's Avatar
Phalanx Phalanx is offline
Formerly Team 1089 (Mercury)
AKA: Michael Reffler
FRC #5431 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jun 2005
Rookie Year: 1999
Location: Lewisville, TX (previously NJ)
Posts: 384
Phalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond repute
Re: Change IP of development computer?

Yes, the Driver Station is supposed to be 10.x.x.5

10.x.x.1 Wireless Bridge on Robot
10.x.x.2 CRIO
10.x.x.3 Reserved
10.x.x.4 Wireless Router
10.x.x.5 Driver Station/Classmate
10.x.x.6 Development System

Last year a PC instead of the Classmate with an address of 10.x.x.6 could be used as a Dashboard display machine.

Sorry if there was any confusion.
__________________
Don't just ask the experts, become one!
Leadership is not about ability. It's about responsibility!
Diagonally Parked in a Parallel Universe. It's okay we do Quantum Physics


Reply With Quote
  #6   Spotlight this post!  
Unread 18-01-2010, 19:32
FRC4ME FRC4ME is offline
Registered User
FRC #0339
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Fredericksburg, VA
Posts: 324
FRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant future
Re: Change IP of development computer?

I didn't think it cared either, but if we download from a PC with any IP other than .6, the build script gets stuck on "Setting up for RUN..." and never reboots the cRIO or displays console output.
__________________
Go directly to queue. Do not pass pit.
Reply With Quote
  #7   Spotlight this post!  
Unread 18-01-2010, 22:44
ericarseneau ericarseneau is offline
Registered User
no team
 
Join Date: Jan 2010
Location: San Diego
Posts: 30
ericarseneau is an unknown quantity at this point
Re: Change IP of development computer?

This could be related to a bug I have in this code. Where if there is output coming out from your program, that the code to sync with the prompt fails. This will be fixed.

You can deploy from any machine btw, as there is no configuration needed to report what machine the code came from. As for the console, the console gets broadcast to the entire network, so again does not care. The Driver Station MAY be an issue, but I dont think it is. Its more the Dashboard that can only be run from one.
Reply With Quote
  #8   Spotlight this post!  
Unread 19-01-2010, 14:27
FRC4ME FRC4ME is offline
Registered User
FRC #0339
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Fredericksburg, VA
Posts: 324
FRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant future
Re: Change IP of development computer?

Update: the problem appears to be with DHCP. If I give the development PC any static IP on the subnet, downloading works fine. But if I use DHCP (even with a reservation for the same IP), the download stops at "Setting up for RUN...."

This isn't too much of a problem (the easy workaround is to just give each PC a static IP), but I do wonder how the use of DHCP should affect anything.
__________________
Go directly to queue. Do not pass pit.
Reply With Quote
  #9   Spotlight this post!  
Unread 19-01-2010, 17:58
ericarseneau ericarseneau is offline
Registered User
no team
 
Join Date: Jan 2010
Location: San Diego
Posts: 30
ericarseneau is an unknown quantity at this point
Re: Change IP of development computer?

It should not.

NOTE, I JUST ran into this on my new development setup and it turns out I had an issue with the firewall. I was able to talk to the cRIO fine, but cRIO was never able to respond back. What I did was that I ran the NetConsole on another machine. I saw that I kept getting "->", the shell prompt coming out, this means that the SDK is able to send an empty line to get the prompt back, but never receives it due to some networking issue such as firewall.
Reply With Quote
  #10   Spotlight this post!  
Unread 21-01-2010, 02:25
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Change IP of development computer?

Quote:
Originally Posted by Phalanx View Post
Yes, the Driver Station is supposed to be 10.x.x.5

10.x.x.1 Wireless Bridge on Robot
10.x.x.2 CRIO
10.x.x.3 Reserved
10.x.x.4 Wireless Router
10.x.x.5 Driver Station/Classmate
10.x.x.6 Development System

Last year a PC instead of the Classmate with an address of 10.x.x.6 could be used as a Dashboard display machine.

Sorry if there was any confusion.
Since the dashboard gets its packets from the driver station, the Driver Station application just sends the packets to localhost if configured for Local Dashboard. If configured for Remote Dashboard, the IP address is configurable.

Remember that FIRST is not allowing a dashboard on the same network anymore (new this year). As such, your competition ready setup will not ever have a machine at the 10.xx.yy.6 address. If you want to use a remote dashboard, you will need to use a USB to Ethernet interface and create a completely separate network for your classmate and your dashboard laptop (something like 192.168.1.z).
Reply With Quote
  #11   Spotlight this post!  
Unread 22-01-2010, 03:55
pjholmes pjholmes is offline
Registered User
FRC #3189
 
Join Date: Jan 2010
Location: El Dorado Hills, CA
Posts: 3
pjholmes is an unknown quantity at this point
Re: Change IP of development computer?

It's possible that when you set a static IP, you use one net mask, such as 255.0.0.0, but when using DHCP, you are assigned a different net mask (such as 255.255.255.0). Since all devices are reachable using either net mask, it's not clear to me why it would make a difference, but I noticed on another thread that it did make a difference. Compare the net masks using both static and DHCP.

By the way, on my home router, it does not appear to be possible to change the net mask sent out in the DHCPOFFER/DHCPACK to anything less then /24 (255.255.255.0).
Reply With Quote
  #12   Spotlight this post!  
Unread 22-01-2010, 15:13
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Change IP of development computer?

Quote:
Originally Posted by pjholmes View Post
It's possible that when you set a static IP, you use one net mask, such as 255.0.0.0, but when using DHCP, you are assigned a different net mask (such as 255.255.255.0). Since all devices are reachable using either net mask, it's not clear to me why it would make a difference, but I noticed on another thread that it did make a difference. Compare the net masks using both static and DHCP.

By the way, on my home router, it does not appear to be possible to change the net mask sent out in the DHCPOFFER/DHCPACK to anything less then /24 (255.255.255.0).
As long as all the devices that you want to access that begin with "10." will always also always have your team number, "xx.yy.", then the subnet can be either /8 or /24 and work fine.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Run dashboard on development computer railerobotics Programming 6 26-01-2010 21:24
Computer Science or Computer Engineering? KRibordy College & University Education 14 09-10-2009 01:56
SDK development mwtidd Programming 0 16-05-2008 16:10
Development on OS X Validius Programming 22 19-04-2008 02:33
Development daramana Inventor 1 03-03-2005 08:07


All times are GMT -5. The time now is 11: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