Go to Post Nope, nope... no adults here. We're all kids. :) - Andy Baker [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 06-06-2015, 18:27
Mad Cows Mad Cows is offline
Registered User
FRC #3413
 
Join Date: Oct 2014
Location: Coppell
Posts: 23
Mad Cows is an unknown quantity at this point
Labview keeps messing up ethernet settings

Hi all,

I have been teaching myself how to program many of the awesome features in labview, but I seem to have hit a strange wall.

Every time I launch a FRC labview file, the computer changes its Ethernet port settings to the things that labview needs to connect to the robot and it messes up the internet connection at my father's office. Because of this, I have two questions:

1. What does labview change in the settings. I have fixed all of the IPv4 settings to what they used to be, but it is still a no-go.

2. How can I tell labview to stop doing this, and let me configure the network manually when I need it?

Any help would appreciated, even if it is just a pointer in the right direction.
Reply With Quote
  #2   Spotlight this post!  
Unread 06-06-2015, 22:06
dubiousSwain's Avatar
dubiousSwain dubiousSwain is offline
The ride never ends
AKA: Christian Steward
FRC #5420 (Velocity)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2011
Location: USA
Posts: 304
dubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond repute
Re: Labview keeps messing up ethernet settings

Are you using the FRC 2015 plugin? you no longer have to change your ip to connect to the roborio, you had to with the crio, and even then I dont remember labview doing that.

Do you have anything like NetSetMan installed? That could change your setting on the trigger of labview starting
__________________
2015 MAR District Champions




Reply With Quote
  #3   Spotlight this post!  
Unread 08-06-2015, 14:32
Mad Cows Mad Cows is offline
Registered User
FRC #3413
 
Join Date: Oct 2014
Location: Coppell
Posts: 23
Mad Cows is an unknown quantity at this point
Re: Labview keeps messing up ethernet settings

I have never heard of netsetman
I have only installed the packages from NI. I do not think I can get this year's files because our team did not compete this year.

If you could at least tell me what is being changed. I could fix it myself. This is my dad's work computer.
Reply With Quote
  #4   Spotlight this post!  
Unread 08-06-2015, 16:22
dubiousSwain's Avatar
dubiousSwain dubiousSwain is offline
The ride never ends
AKA: Christian Steward
FRC #5420 (Velocity)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2011
Location: USA
Posts: 304
dubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond repute
Re: Labview keeps messing up ethernet settings

Quote:
Originally Posted by Mad Cows View Post
I have never heard of netsetman
I have only installed the packages from NI. I do not think I can get this year's files because our team did not compete this year.

If you could at least tell me what is being changed. I could fix it myself. This is my dad's work computer.
I assume you're using windows, can you please post screenshots of your "network and sharing center" and "adapter settings" page in control panel before and after as well as the device properties for the interfaces being changed. I have never heard of this bug before and am trying to narrow down what is causing it.
__________________
2015 MAR District Champions




Reply With Quote
  #5   Spotlight this post!  
Unread 08-06-2015, 16:50
Mad Cows Mad Cows is offline
Registered User
FRC #3413
 
Join Date: Oct 2014
Location: Coppell
Posts: 23
Mad Cows is an unknown quantity at this point
Re: Labview keeps messing up ethernet settings

Last time my dad took it to IT (they were not too happy about what happend).

My dad says he just changed the ipv4 settings under the local area connection properties. I changed bto ack to the photo my dad took of the menu and it still won't work.
The screen shot shows a change in ip address, Gateway, and the dns server address.
I'm not sure how to attach a photo through the ipad though, will Try soon.

Also, I may have found what is wrong, looks like I messed up entering the gateway address, but no promises.

What I really would like to know is simply how to get labview to stop changing all of these we things. He needs a specific ip address and other things, but labview changes it to 10.34.13.2, it messes the other settings too.
Reply With Quote
  #6   Spotlight this post!  
Unread 08-06-2015, 17:04
dubiousSwain's Avatar
dubiousSwain dubiousSwain is offline
The ride never ends
AKA: Christian Steward
FRC #5420 (Velocity)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2011
Location: USA
Posts: 304
dubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond repute
Re: Labview keeps messing up ethernet settings

Quote:
Originally Posted by Mad Cows View Post
Last time my dad took it to IT (they were not too happy about what happend).
...

What I really would like to know is simply how to get labview to stop changing all of these we things. He needs a specific ip address and other things, but labview changes it to 10.34.13.2, it messes the other settings too.
10.34.13.2 is the correct ip to connect to the robot, the other thing that you need to change is the subnet mask, which needs to be 255.255.255.000; however, that was for 2014, you dont need to change your ip to connect to the roborio and in my experience, labview doesn't do that, you need to do it manually
__________________
2015 MAR District Champions




Reply With Quote
  #7   Spotlight this post!  
Unread 08-06-2015, 17:31
Mad Cows Mad Cows is offline
Registered User
FRC #3413
 
Join Date: Oct 2014
Location: Coppell
Posts: 23
Mad Cows is an unknown quantity at this point
Re: Labview keeps messing up ethernet settings

Understood. But it is setting it automatically.
How do I get labview to stop setting it automatically?
If I know that, everything else would be easy.
Reply With Quote
  #8   Spotlight this post!  
Unread 08-06-2015, 17:34
dubiousSwain's Avatar
dubiousSwain dubiousSwain is offline
The ride never ends
AKA: Christian Steward
FRC #5420 (Velocity)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2011
Location: USA
Posts: 304
dubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond repute
Re: Labview keeps messing up ethernet settings

Quote:
Originally Posted by Mad Cows View Post
Understood. But it is setting it automatically.
How do I get labview to stop setting it automatically?
If I know that, everything else would be easy.
Im sorry I'm not more help, have you tried uninstalling and reinstalling labview?
__________________
2015 MAR District Champions




Reply With Quote
  #9   Spotlight this post!  
Unread 08-06-2015, 18:03
Mad Cows Mad Cows is offline
Registered User
FRC #3413
 
Join Date: Oct 2014
Location: Coppell
Posts: 23
Mad Cows is an unknown quantity at this point
Re: Labview keeps messing up ethernet settings

Thanks for the help you gave. I hoped I would have to try that. I'll it give a go

For those of you just reading this thread for the first time. I need to know if anyone knows the fix, and how to apply it.

I will post that this has been solved if I get it fixed.
Reply With Quote
  #10   Spotlight this post!  
Unread 08-06-2015, 21:51
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,817
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: Labview keeps messing up ethernet settings

LabVIEW doesn't change the PC's network settings, so something else is doing that.

Are you starting up last year's Driver Station by any chance?
That actively changed the PC's network setup to accommodate the robot.
The 2015 Driver Station doesn't do that anymore either.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #11   Spotlight this post!  
Unread 08-06-2015, 21:55
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,752
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: Labview keeps messing up ethernet settings

I believe that the network settings are being changed by the Driver Station rather than by LabVIEW. What happens is that the DS assumes you launched it in order to connect to the robot. It will check the settings using ipconfig, netsh, and other commands and will offer to change the settings. When it changes them, it stores the old settings in a file called

FRC Restore My Network Settings.bat

This is stored in the Users/Public Documents/FRC directory, and it is a simple batch file that points to a restore file made by netsh the first time the DS ran it.

So assuming this is the issue, you may just need to get in the habit of running the batch file when you are done.

Greg McKaskle
Reply With Quote
  #12   Spotlight this post!  
Unread 09-06-2015, 09:47
Mad Cows Mad Cows is offline
Registered User
FRC #3413
 
Join Date: Oct 2014
Location: Coppell
Posts: 23
Mad Cows is an unknown quantity at this point
Re: Labview keeps messing up ethernet settings

Cool, I have been using the driver station. Any way I can get it to stop or maybe run the batch file when I quit the application?
__________________
The naming of our team is actually a boring story, one of the founding members randomly suggested mad cows on the way to our first competition.
Reply With Quote
  #13   Spotlight this post!  
Unread 09-06-2015, 10:52
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,817
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: Labview keeps messing up ethernet settings

In the Driver Station:
  1. Go to the Setup tab
  2. Click on Choose NIC...
  3. Choose "I will configure my wireless adaptor manually"
  4. Choose "I will configure my ethernet adaptor manually"
  5. Click OK
  6. Use the red X (on right side by the Charts tab) to quit out of the Driver Station application.
  7. Reset your desired network adaptor settings manually to be what you want them to stay.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 09-06-2015 at 10:54.
Reply With Quote
  #14   Spotlight this post!  
Unread 10-06-2015, 00:26
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: Labview keeps messing up ethernet settings

This is all old news. You never have indicated what version of LabVIEW or the driver station you are running, but from the evidence, it is at least a year old.

When you provide details it helps people help you.
Reply With Quote
  #15   Spotlight this post!  
Unread 10-06-2015, 17:27
Mad Cows Mad Cows is offline
Registered User
FRC #3413
 
Join Date: Oct 2014
Location: Coppell
Posts: 23
Mad Cows is an unknown quantity at this point
Re: Labview keeps messing up ethernet settings

Oh, sorry about that. It is last year's software (FRC 2014)
__________________
The naming of our team is actually a boring story, one of the founding members randomly suggested mad cows on the way to our first competition.
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 10:17.

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