Go to Post The engineer mentors ARE part of the team, equals with the students in every aspect - KenWittlief [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 16-01-2014, 10:29
Team3763 Adam Team3763 Adam is offline
Lead Programmer
FRC #3763 (4H WildCards)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: North Carolina
Posts: 157
Team3763 Adam can only hope to improve
Exclamation A few "issues" with LabVIEW..

So, as I attempt to connect to the cRIO via Ethernet IPv4 set at 10.37.63.6 I find myself having to re-enter the IP after resetting the cRIO. What's causing this and how do I fix it?

OS: Windows 8
  #2   Spotlight this post!  
Unread 16-01-2014, 10: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,729
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: A few "issues" with LabVIEW..

Quote:
Originally Posted by Team3763 Adam View Post
So, as I attempt to connect to the cRIO via Ethernet IPv4 set at 10.37.63.6 I find myself having to re-enter the IP after resetting the cRIO. What's causing this and how do I fix it?

OS: Windows 8
Run the Imaging tool and check the "pin" settings on the cRIO. Make sure the pin for IP Reset is not set to on.
  #3   Spotlight this post!  
Unread 16-01-2014, 10:48
Team3763 Adam Team3763 Adam is offline
Lead Programmer
FRC #3763 (4H WildCards)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: North Carolina
Posts: 157
Team3763 Adam can only hope to improve
Re: A few "issues" with LabVIEW..

Our next meeting is Friday so I will do it then. That being said, we're using the Mini cRIO, so with a lack of switches, through the Imaging Tool, with the IP Reset [OFF] would that be a surefire way to fix it? Through IP Properties - IPv4 Properties it seems any time I disconnect the Ethernet Connection from the cRIO, 10.37.63.6 clears and it goes back to [Obtain IP Address Automatically].
  #4   Spotlight this post!  
Unread 16-01-2014, 10:52
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,729
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: A few "issues" with LabVIEW..

Quote:
Originally Posted by Team3763 Adam View Post
Our next meeting is Friday so I will do it then. That being said, we're using the Mini cRIO, so with a lack of switches, through the Imaging Tool, with the IP Reset [OFF] would that be a surefire way to fix it? Through IP Properties - IPv4 Properties it seems any time I disconnect the Ethernet Connection from the cRIO, 10.37.63.6 clears and it goes back to [Obtain IP Address Automatically].
Maybe I misinterpreted the issue you are having. Is the IP address on the computer or the cRIO getting reset when you restart the cRIO?
  #5   Spotlight this post!  
Unread 16-01-2014, 10:57
Team3763 Adam Team3763 Adam is offline
Lead Programmer
FRC #3763 (4H WildCards)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: North Carolina
Posts: 157
Team3763 Adam can only hope to improve
Re: A few "issues" with LabVIEW..

The IP on the computer that must be set through Properties is automatically clearing itself whenever the cRIO gets disconnected - reset, unplug, power down, etc.

This being my fourth year programming, I don't recall having this issue before - but that was with a Windows 7 OS if that has anything to do with it.
  #6   Spotlight this post!  
Unread 16-01-2014, 10:59
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,729
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: A few "issues" with LabVIEW..

Quote:
Originally Posted by Team3763 Adam View Post
The IP on the computer that must be set through Properties is automatically clearing itself whenever the cRIO gets disconnected - reset, unplug, power down, etc.

This being my fourth year programming, I don't recall having this issue before - but that was with a Windows 7 OS if that has anything to do with it.
Ahh, OK. Then setting the IP Reset switch to off shouldn't be the issue, it should be defaulted to off so I'm assuming its off on yours currently.
  #7   Spotlight this post!  
Unread 16-01-2014, 11:09
Team3763 Adam Team3763 Adam is offline
Lead Programmer
FRC #3763 (4H WildCards)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: North Carolina
Posts: 157
Team3763 Adam can only hope to improve
Re: A few "issues" with LabVIEW..

More than likely, it is. To add a bit of input, I hadn't checked the IP after I performed the initial Flash for the 2014 Game via 2014 Imaging tool. That Could be the issue and the IP address is now permanent, but I can't be 100% sure.
  #8   Spotlight this post!  
Unread 16-01-2014, 11:19
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,906
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: A few "issues" with LabVIEW..

Does the laptop's IP go back to DHCP when you start or exit any particular program, like the cRIO Imaging Tool or the Driver Station? Both those have the ability to change the laptop IP under certain conditions.
Some of the tools will reset the laptop IP to what it was before the program was started.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #9   Spotlight this post!  
Unread 16-01-2014, 11:19
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: A few "issues" with LabVIEW..

Can you describe the problem again with more details? It isn't clear what form of connection or where you are entering the IP address. Have you launched the DS, and what does its Diagnostics tab show?

Greg McKaskle
  #10   Spotlight this post!  
Unread 16-01-2014, 11:22
Team3763 Adam Team3763 Adam is offline
Lead Programmer
FRC #3763 (4H WildCards)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: North Carolina
Posts: 157
Team3763 Adam can only hope to improve
Re: A few "issues" with LabVIEW..

Wiring directly from my Laptop into the cRIO via Ethernet, I find myself having to re-enter the IP address "10.xx.yy.6" under the IPv4 Properties after every disconnect (No matter form - be it power down, unplugging the Ethernet cord, or resetting the cRIO through the imaging tool). The problem is the IP address 10.xx.yy.6 is not permanently staying set under the IPv4 Properties.

Note that while still plugged into the cRIO and after having re-entered the IP Address, I have full communications to the cRIO and full connection between DS and cRIO.

Last edited by Team3763 Adam : 16-01-2014 at 11:24.
  #11   Spotlight this post!  
Unread 16-01-2014, 11:27
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: A few "issues" with LabVIEW..

Ah. So it is the laptop IP that is changing, not the cRIO.

The driver station has code that can manage a NIC. If you go to setup tab and click Choose NIC, it will allow you to pick a NIC and the DS will set its IP on each launch.

I mention this because it is possible that the DS is the culprit, or it could help solve the issue.

What IP is it when it is incorrect? Is is DHCP or manual with a different IP?

Greg McKaskle
  #12   Spotlight this post!  
Unread 16-01-2014, 11:29
Team3763 Adam Team3763 Adam is offline
Lead Programmer
FRC #3763 (4H WildCards)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: North Carolina
Posts: 157
Team3763 Adam can only hope to improve
Re: A few "issues" with LabVIEW..

When I go back into the IPv4 Properties, the box for Use This IP Address is selected and it is blank across all four entries. So manual with a blank address, I believe.
  #13   Spotlight this post!  
Unread 16-01-2014, 11:44
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: A few "issues" with LabVIEW..

I've never seen that before. You may want to back up a few levels in Control Panel, disable/enable, or see about a repair for that NIC. You can also run a command line such as

netsh interface ip show config

Maybe post the results and that will help identify what is up with that interface.

Greg McKaskle
  #14   Spotlight this post!  
Unread 16-01-2014, 11:47
Team3763 Adam Team3763 Adam is offline
Lead Programmer
FRC #3763 (4H WildCards)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: North Carolina
Posts: 157
Team3763 Adam can only hope to improve
Re: A few "issues" with LabVIEW..

Alright Friday I'll do that. It's just an issue with the IP address not permanently staying set under IPv4.
  #15   Spotlight this post!  
Unread 16-01-2014, 11:56
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: A few "issues" with LabVIEW..

I suspect that your computer may have additional networking management software installed, for example, Lenovo ThinkVantage, which is changing the IP address.
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


All times are GMT -5. The time now is 03:36.

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