Turn Ethernet off using LabVIEW or DOS prompt

Does anyone know of a method to disable an Ethernet port using LabVIEW or a DOS prompt?  In an automated test, I need to be able to turn off one port of a dual port Ethernet PCI device, then turn it back on and do the same to the other port.  Any ideas?
Thanks for any help.

One tehnique is using the System Exec.VI issue an IPCONFIG comand (with correct parameter): -
(see the very bottom)
USAGE:
    ipconfig [/? | /all | /renew [adapter] | /release [adapter] |
              /flushdns | /displaydns | /registerdns |
              /showclassid adapter |
              /setclassid adapter [classid] ]
where
    adapter         Connection name
                   (wildcard characters * and ? allowed, see examples)
    Options:
       /?           Display this help message
       /all         Display full configuration information.
       /release     Release the IP address for the specified adapter.
       /renew       Renew the IP address for the specified adapter.
       /flushdns    Purges the DNS Resolver cache.
       /registerdns Refreshes all DHCP leases and re-registers DNS names
       /displaydns  Display the contents of the DNS Resolver Cache.
       /showclassid Displays all the dhcp class IDs allowed for adapter.
       /setclassid  Modifies the dhcp class id.
The default is to display only the IP address, subnet mask and default gateway for each adapter bound to TCP/IP.
For Release and Renew, if no adapter name is specified, then the IP address leases for all adapters bound to TCP/IP will be released or renewed.
For Setclassid, if no ClassId is specified, then the ClassId is removed.
Examples:
    > ipconfig                   ... Show information.
    > ipconfig /all              ... Show detailed information
    > ipconfig /renew            ... renew all adapters
    > ipconfig /renew EL*        ... renew any connection that has its
                                     name starting with EL
    > ipconfig /release *Con*    ... release all matching connections,
                                     eg. "Local Area Connection 1" or
                                         "Local Area Connection 2"
Message Edité par Conseils le 01-13-2006 10:18 PM
Message Edité par Conseils le 01-13-2006 10:19 PM

Similar Messages

  • My iphone 4s' screen is black, but it's still on and charging. I broke my lock screen button so I am unable to turn it off using the home button and lock button. Is there any other way my phone can restart or turn off ? Is my phone broken for sure?

    My iphone 4s' screen is black, but it's still on and charging. I broke my lock screen button so I am unable to turn it off using the home button and lock button. Is there any other way my phone can restart or turn off ? Is my phone broken for sure?

    Kbkohn wrote:
    I am in tears right now because I entered all my 11month old sons milestones into my phone and now I have nothing I'm so upset and am hoping there is a way to get this information back. 
    Most intelligent people would not store such sensitive data on a device that could so easily be lost, stolen, or damaged.  Even if they chose to do so, they would use the device as designed and regularly sync and backup that device as described in the User's Guide.
    Have you done so?  If you have, all of the data is either in iCloud or iTunes on your computer.  Replace the device and restore the new iDevice with the backup of the old one.

  • My iphone 4 lock button does not work, i turned it off using assesive touch, now it wont turn back on? got any tips for fixing this problem!

    my iphone 4 lock button does not work, i turned it off using assesive touch, now it wont turn back on? got any tips for fixing this problem!

    Hi, braidenwhitesidemate. 
    Thank you for visiting Apple Support Communities. 
    I would recommend going through the steps in the article below.  If the issue persists, see the section labeled Issue not resolved.
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Cheers,
    Jason H. 

  • My iPhone 4 keeps freezing up. I have turned it off, used the off switch n home button to try to restart it. It slowly comes on I type in my pass code which takes awhile to come up n it does do anything. I can't get in to any app.  Any suggestions?

    My iPhone 4 keeps freezing up. I have turned it off, used the off switch n home button to try to restart it. It slowly comes on I type in my pass code which takes awhile to come up n it does do anything. I can't get in to any app.

    try to back up and restore to factory settings
    iTunes: Backing up, updating, and restoring iOS software

  • My battery is down to 10%. I have tried everything to re-set. It keeps on showing that it is charging and 10%. I have had it plugged in overnight... I have turned it off -- used the two switches together -- nothing seems to work. What should I do next?

    How do I get my iphone to charge and not be stuck on 10% battery?
    I have tried turning it off, turning it off with holding down both switches, charging it on different places for hours and now have it hooked up charging on my computer.

    Create a backup then restore the device as new, and test the issue.
    iOS: How to back up your data and set up your device as a new device - http://support.apple.com/kb/ht4137

  • My 4g ipod touch wont turn on after i turned it off using both butttons. its staying at the apple icon screen. help?

    After trying to update facebook, installation stopped at about 99%. it appered to have stopped the installation. i then held down the lock and home button to turn it off. now my screen is stuck with the apple icon.

    Try:
    - iOS: Not responding or does not turn on
    - If not successful and you can't fully turn the iPod fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • My macbook was runnig slow so i turned it off using the power button i then tryed to turn it back on and it turns on stays at the load screen with the apple with the loading sign spinning and a bar under that then my mac (late 08) turns off help please

    Help please

    Reinstall OS X using one of the following. The first is for Snow Leopard and the later for Lion/Mountain Lion.
    Reinstall Snow Leopard without erasing the drive
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.
    Reinstalling Lion/Mountain Lion Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • Turn shuffle off, using Voice Over

    What do I have to say?

    I think you mean Voice Control. VoiceOver is where the iPod speaks to your telling yu waht is is trying to do. For Vaoice contral, this is from the users guide
    Siri and Voice Control
    You can use Siri (iPod touch 5th generation) or Voice Control (iPod touch 3rd generation or later) to control music playback on iPod touch. See Chapter 4, Siri, on page 35 and Voice Control on page 26.
    Use Siri or Voice Control: Press and hold the Home button .
    Play or pause music: Say “play” or “play music.” To pause, say “pause,” “pause music,” or “stop.” You can also say “next song” or “previous song.”
    Play an album, artist, or playlist: Say “play,” then say “album,” “artist,” or “playlist” and the name.
    Shuffle the current playlist: Say “shuffle.”
    Find out more about the current song: Say “what’s playing,” “who sings this song,” or “who is this song by.”
    Use Genius to play similar songs: Say “Genius” or “play more songs like this.”

  • How can I restart my iPhone 4 if the lock/power button doesn't work? I know I can turn it off using the assistive touch button but how would I get it back on?

    Help me!

    Has to be a working phone to trade it in at an Apple Store (recycle) towards a new one. You can do an out-of-warranty replacement for $149 USD and you will get a service replacement iPhone 4 with a 90 day warranty. Make a Genius Bar appointment before you go.

  • I am new to the ethernet communicat​ion using labview. I do not have any hardware. I have two laptop i need to send and recieve the data via these 2 laptop using labview. Kindly help me on this.

    i am new to the ethernet communication using labview. I do not have any hardware. I have two laptop i need to send and recieve the data via these 2 laptop using labview. Kindly help me on this.
    Solved!
    Go to Solution.

    Hi thanks for the help.
    Actually i am trying to send 10 sine signals from server pc to client pc. So i will bundle 10 signals in server pc and send it and in client pc i am unbundling it and need to save in TDMS format.
    Till unbundling i was able to do. TDMS format it is saving only last value. I need to save all the values. Kindly help me on same. I am attaching both the VI.
    Attachments:
    Client.vi ‏62 KB
    Server.vi ‏252 KB

  • Can't turn shuffle off

    I recently downloaded iTunes 8. For some reason I can't turn the shuffle feature off. I select Controls, Shuffle, Turn Shuffle Off and nothing happens. It stays selected. How do I turn this off?
    BTW, iTunes 8 is NOT an improvement over vs. 7. 7 was much better. I don't know why companies like this have to goof around with things that already work and change them just for the purpose of making them different.

    Can you turn shuffle off using the icons at bottom left of the iTunes window?
    iTunes was updated to work with the new generation of iPods that came out a few months ago. If you don't have one of those, there is no need on your part and no insistence on Apple's part that you update the software.

  • How do I turn off background ni file activity when not using Labview? files such as nimxs.exe, nipalsm.exe, nipalsm.exe, nisvcloc.exe, nicitdl5.exe

    How do I turn off background ni file activity when not using Labview? I use labview rarely, and I also use my computer for demanding multimedia applications, including multitrack digital audio recording. I need to reduce as much background activity as possible, and taking a look with task manager I see files such as nimxs.exe, nipalsm.exe, nipalsm.exe, nisvcloc.exe, and nicitdl5.exe running even when I haven't used Labview (8 I believe). These files run even after I right click the NI icon on the lower right and turn off the application. I would like the computer to boot up without these files, and for the necessary files to be activated only when I start the program.
    Can this be done or do I have to remove labview from the system to improve performance?
    Thanks

    Hello, those processes are part of running NI services that start when Windows boots.  These processes serve varied purposes and stopping them can have undefined and unknown consiquences for your NI products.  These products run at "normal" priority meaning that they should be preempted by any process running at a higher priority which I would expect your other application to be doing given their time sensitivity.  That being said, in Windows XP (I can't speak for other OSes), you can lower their priorities even greater through task manager (right click the process»set priority) to further remove them from contention for resources.  If you want to prevent them from running you can set the service startup type to "manual" in Control Panel»Administrative Tools»Services.  Right click the process go to Properties and Under the General tab choose Startup Type»Manual.  This will start up the processes only when something directly starts it up.  LabVIEW will start these processes up as it attempts to use them.  When you shut down LabVIEW you will need to manually shut down these processes through task manager.  Again, doing this can cause problems with your NI products on your system and it is not advised.
    Travis M
    LabVIEW R&D
    National Instruments

  • Is it possible to create a schedule in Labview . Example: i want to off the lights at 7pm and want it on at 8am. If there is can anyone teach, its for a school project. Im using labview 2011

    Is it possible to create a schedule in Labview . Example: i want to off the lights at 7pm and want it on at 8am. If there is can anyone teach, its for a school project. Im using labview 2011...thx

    Since this is a school project I recommend you do the work yourself. You will not learn asking others to do it for you. In addition, folks here will not do your homework for you. We are however more than wiling to answer specific questions for you. Post what you have done or tried and ask specific questions. I am confident you will get assistance.
    And to answer your question, yes LabVIEW can be used to implement a scheduling program.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • TS2972 why do I have to turn sharing off and back on each time i use my apple tv?

    Whenever I switch to apple tv and try to access my files, I get the instruction to turn sharing on. When I check, the sharing is already on. I have to turn it off and then turn it back on for the apple tv to detect it.

    There is somewhere on here a thread where some folks have done some in depth technical digging into the problem.
    It seems that in those cases there are multiple 100+ TCP ports being held open between itunes/mac and the atv. I see this x3 with all my atv's when they were connected via ethernet cable. Home sharing is running out of ports to use in simple terms.
    What on earth port forwarding can do for the problem i do not know, you can only forward to 1 device, how would this fix the probelm for subsequent atv's on the network?? It would be madness to do this anyway why would you open a secure port to the internet just to get a media player working
    There are so many reports of this problem manifesting itself in various ways it is hard to give a simple answer
    Some of the solutions just do not make any sense, solutions that work for some are opposite for others wifi <-> ethernet <-> wifi
    I am convinced this is an internal networking issue at a base level, nothing to do with IP6,DHCP/Static/PortForwarding etc. Sleeping atv's may exagerate the problem
    It will end up being a . or a , in the complied code somewhere in the last update of either itunes or ios
    Someone on that thread has written some slick code to check for this problem and restart itunes if it finds it which may be a solution if it cant be solved other ways
    My problem went away when I moved my atvs to wifi connection only, but then I know my network is otherwise good

  • HT1212 Iphone is locked but I can't restore because "find my iphone" is on.  I'm prompted to turn it off in settings but, obviously, I can't because I'm locked out due to too many incorrect passcode attempts.  What should I do?  PS: I downloaded IOS7 toda

    Iphone is locked but I can't restore because "find my iphone" is on. I'm prompted to turn it off in settings but, obviously, I can't because I'm locked out due to too many incorrect passcode attempts.  What should I do?  PS: I downloaded IOS7 today.  My passcode was never enabled!  But after I installed the new software it automatically turned it on.  I hadn't used it in so long, I couldn't remember my last passcode, hence the lockout. 

    Hello 199Seth
    Reset the password and that will take care of activating your iPhone.
    Apple ID: 'This Apple ID has been disabled for security reasons' alert appears
    http://support.apple.com/kb/ts2446
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

Maybe you are looking for