Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I change my ethernet card speed through labview?

Solved!
Go to solution

Hi,

I need a way to change the speed of my ethernet card from 1000Mbps to 100Mbps. I know I can change the speeds by going through local area connection properties->configure->link speed but I need a way to do it through labview for a project.

Thanks in advance.

Message 1 of 3
(3,602 Views)
Solution
Accepted by topic author WesChiu02

You could try going in and editing the registry entry that defines that property

Have a look at the following two links:

http://thedailyreviewer.com/windowsxp/view/set-speedduplex-via-registry-change-108254266

 

and combine that with the registry editing code of this:

 

http://decibel.ni.com/content/docs/DOC-12290

 

Dave T.

National Instruments
FlexRIO & R-Series Product Support Engineer
Message 2 of 3
(3,574 Views)

Thanks, you help led me in the right direction.

Incase anyone else needs to do this, I solved it by first locating where the control for the speed of the network card was in my system registry. Changing the "SpeedDuplex" parameter allows you to change the speed but only worked for me after I disabled and enabled the network card. 

 

I then needed to find a way to disable and then re-enable the card through labview.

Following this link:
http://en.kioskea.net/faq/1886-enable-disable-a-device-from-the-command-line
I found a way to enable and disable cards through the command line.

 

I then used the labview System Exec.vi to enter the command lines I needed.

0 Kudos
Message 3 of 3
(3,517 Views)