Detection if ENET-485/2 if active in application

How can i detect if the ENET 485/2 device is active and i can connect to a port. When i request a connect, for example serial.open, and the ENET 485/2 is switched off, the detection time for testing if the port exist takes a long time.
Then i have to restart my computer when i want to connect it later, even when i had turned on the enet device by now.
What have i to do to prevent restarting my computer after a try to connect a enet device what is switched off?
Thanks so far.

Hi,
There was a more lengthy answer to a very similar question at http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=5065000000080000003C6F0000&ECategory=Instrument+Connectivity.GPIB . In the end, SanJay was correct, and a ping operation would work the best.
I am not sure why you would need to reboot to bring communication back up. It could be that DHCP is assigning the box a different IP. You should try refreshing the device list in MAX (Use the F5 command).
Hope this helps out!
Best Regards,
Aaron K.
Application Engineer
National Instruments

Similar Messages

  • N95 Active standby applications

    I set the Active standby applications and they appeared in a row in the screen
    BUT
    there are 3 rows of extra application that I didn't set before and I don't need them frequently. How can I make them disappear?
    the applications are:
    Search: Internet and My content
    No calendar entries today
    WLAN scanning off

    Sorry. This is not possible. You can remove the Search option by hacking, but this is not recommended.
    Mobile Royale - Latest News, Reviews and Software for Mobiles
    Aero Everyday - Aviation News and Insights
    GoMobile Forums-The best mobile technology discussions
    Please visit http://alifeofmisery.blogspot.com or www.miserylife.tk and help someone smile.
    Dreaming of a 5320XpressMusic - 128MB RAM makes up for the 2MP cam !

  • I can't run activity monitor application. It just processes with the multicolored disc spinning, but does not open.

    I can't run activity monitor application. It just processes with the multicolored disc spinning, but does not open.  It also won't close without using "Force Quit." When I access it in Force Quit it's listed as not responding. I am getting the messase that my start-up disc is full, but I can't assess the status without using the activity monitor app. Thanks for any assistance you can give. -F.J.

    Welcome to Apple Support Communities
    If your hard drive is full, you have to delete files. Open Finder, search in all your user's folders and delete files that you don't need, or move them to an external drive.
    When the hard drive is full, OS X works slow and applications may freeze, so I wouldn't be surprised if this is the reason why Activity Monitor isn't working

  • JCOP Tools don't detect Omnikey Cardman 3121 reader in activation

    Hello,
    I am trying to activate the JCOP Tools in my MacOS X, but my reader isn't detected by Eclipse / JCOP Tools.
    I have installed pcsc lite 1.4.4, and used pcsctest to check if the reader is working, and it seems to be ok:
    xxx:~ tuxed$ pcsctest
    MUSCLE PC/SC Lite Test Program
    Testing SCardEstablishContext    : Command successful.
    Testing SCardGetStatusChange
    Please insert a working reader   : Command successful.
    Testing SCardListReaders         : Command successful.
    Reader 01: OMNIKEY CardMan 3x21 0 0
    Enter the reader number          : 01
    Waiting for card insertion        
                                     : Command successful.
    Testing SCardConnect             : Command successful.
    Testing SCardStatus              : Command successful.
    Current Reader Name              : OMNIKEY CardMan 3x21 0 0
    Current Reader State             : 34
    Current Reader Protocol          : 0
    Current Reader ATR Size          : b
    Current Reader ATR Value         : 3B 67 00 00 29 20 00 6F 78 90 00
    Testing SCardDisconnect          : Command successful.
    Testing SCardReleaseContext      : Command successful.
    PC/SC Test Completed Successfully !Can anyone give me any clue to solve the problem?
    Thanks in advance :)

    I don't know about MacOS, but you can check the info about Linux:
    http://forum.java.sun.com/thread.jspa?forumID=23&threadID=5221167
    PC/SC Support (Linux)
    JCOP Tools only works with pcsc-lite 1.2.0.

  • Detect if JPanel is in the active frame or focused window

    Hi,
    I have JPanel, and I want to determine if it is in an active JInternalFrame (isSelected() == true), or if its frame or dialog has focus.
    I know I can use the KeyboardFocusManager, so do I just search up the container heirarchy looking for the focus owner?

    I found that it keeps looking up and up the heirarchy untl it hits the top-level container, so there are cases where you have two internal frames (one active, one deactiveated), and both return true since their parent is the active window. I found a similar way:
    // This fragment stops at the active frame, and won't search its parent.
    return SwingUtilities.isDescendingFrom(this, manager.getPermanentFocusOwner());Thanks for your help!

  • Drivers not loading on Windows XP for ENET-485.

    I'm no dummy or I wouldnt have gotten this fare. Checking "device manager" and the "diagnostic utility" I cant seem to get my newly purchased NI-485 to work on my Windows XP machine for lack of recongnized drivers. I cant even fine the ".inf" file myself. Any ideas? Software package loaded just fine, several times.

    Thanks for the kind reply. However I still have the problem, after a few weeks of hacking at I seem to understand what the problem is but I cant seem to fix it. I see it with the diagnostic utility, as it if fails identify the right ports, and I can see the ports assigned in the device manager, but the devices are failing to actually connect as a com port. Ie any programs cannot see the actual com port as the device mananger has them assigned. I've tried this on two different computers now,two different OS's same results. I'm convinced it's something I'm doing wrong on the set up.

  • Always On: Detect from client which replica is active

    Since the client simply connects to the listener and gets an IP, is there a way through either the client object model or a query which I can use from the client to determine which replica is on the other end of the connection? 
    Thanks,
    Philo
    Philo Janus, MCP Bridging business & Technology: http://www.saintchad.org/ Telecommuter? http://www.homeofficesurvival.com/ Author: Pro InfoPath 2007 & Pro InfoPath 2010 Pro PerformancePoint 2007 Pro SQL Server Analysis Services 2008 Building Integrated
    Business Intelligence Solutions

    Hello,
    If you just want to know which replica you are on, you can check @@ServerName, if the replica can be hosted on a FCI then you'll want to check the node's physical name through SERVERPROPERTY('ComputerNamePhysicalNetBIOS').
    Is this what you're after?
    -Sean
    The views, opinions, and posts do not reflect those of my company and are solely my own. No warranty, service, or results are expressed or implied.

  • Disabled fonts still active in applications!

    For some strange reason, fonts that I have disabled in Font Book are still showing up in active applications. This started happening after I moved my Users directory off of the startup drive to another internal drive.
    Why is this happening and what can I do?

    The database for Font Book is in a completely different location in Snow Leopard. The update doesn't seem to always do the hand off correctly as I've seen a fair number of posts stating the same problem. Resetting Font Book's database should fix it.
    Restart your Mac and immediately hold down the Shift key when you hear the startup chime to boot into Safe Mode. Keep holding the Shift key until OS X asks you to log in (you will get this screen on a Safe Mode boot even if your Mac is set to automatically log in). Let the Mac finish booting to the desktop and then restart normally.
    This will clear Font Book's database and the cache files of the user account you logged into in Safe Mode. Any font sets you have created will be gone. Also, all fonts in the three main Fonts folders (System, Library, your user account) will now be active, regardless of their state beforehand.

  • Is there any methods like application activated and application de-actived in windows app 8.1

    Hi,
    Is there any events such as on application loaded and application closed in windows store app 8.1
    Thanks,
    Alok

    Please see the application lifecycle page:
    https://msdn.microsoft.com/en-us/library/windows/apps/hh464925.aspx
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Remotely activating an application with an email?

    What it says on the label. Is there a way to tell applescript to activate a program when my inbox gets an email from a specific address?
    I'm trying to find a way to start an applescript program remotely, from a droid phone. Any ideas? I'm pretty new to programming, any help is much appreciated.
    Thanks!

    Here's an AppleScript you can use. Just change "TextEdit" to whatever app you need to open.
    using terms from application "Mail"
              on perform mail action with messages theMessages for rule theRule
                        tell application "Mail"
                                  repeat with eachMessage in theMessages
      activate application "TextEdit"
                                  end repeat
                        end tell
              end perform mail action with messages
    end using terms from
    You can still have Mail perform more actions (you're unclear as to what those are. My guess: deleting the message? If so, just set the rule to Run AppleScript—make sure that script is saved in your ~/Library/Application Scripts/com.apple.mail/ folder—and then set it to also delete the message).
    If you need the AppleScript itself to perform more actions, just include them after "end tell".
    Good luck!

  • Today I tried to open Safari and what I was presented was several minimized windows stating that there was a security error detected, also a suspicious activity was found in my computer. How do I go by in getting this cleared off?  Help.  Thanks

    MAcBook Pro, 2.4 Ghz Intel Core 2 Duo, 4GB 1067Mhz DDR3, Software Mac OS X Lion 10.7.5 (11G63). 
    Problem:  i tried to open Safari about a couple of hours ago and I was presented with this error message block with an address of http://www.virushealthcheck.com. The message is; Windows detected security error, due to suspicious activity found on your computer.  Contact Windows Certified Live Tech ( 1.866.606.2003).  If I clk the OK button , there are multiple layered windows that will appear after that.  Can't get out of it , except to quit Safari.  earlier today before this happened I was on Facebook, Instagram, responding email cutting and paste transactions and saving it to Microsoft word.  then I turned off my lap top for several hours. When I turned it back on awhile ago, I discovered this problem.  on top of that aI can't even clear the history everything is gray out except for the Earlier today, and the day and date of the month. I tried several times to quit Safari, turn off and turn back on my lap top to no avail.  My question is; How do I go by to in getting this error message when I click on Safari? Does that mean that I might have a virus in my lap top? Please Help.  Thanks.

    Force Quit .
    Press command + option + esc keys together at the same time. Wait.
    When Force Quit window appears, select the Safari if not already.
    Press Force Quit button at the bottom of the window.   Wait.
    Safari will quit.
    Relaunch Safari holding the shift key down.
    http://www.thesafemac.com/fbi-ransomware-virus-rampant/

  • My iphone 5c cannot detect my sim card to get started to be activated

    My iphone cannot detect my sim card and get activated.  On top of the left corner indicates the word "searching"?  Please Help

    The iPhone is locked to a different carrier. Only that carrier and authorize unlocking so you can use the iPhone with other carriers, so you will have to contact that original carrier and ask if you qualify for unlocked and if so what their procedure is.
    Regards.

  • 6880-X VSS dual-active detection with Enhanced PAgP

    Hello,
    I plan to use Enhanced PAgP for dual-active detection for a VSS consisting of 6880-X.
    Has anybody tested it?
    What about the 6800IA switch - does it have a similar feature that can help the active switch in the VSS to find out if the former standby has become also active?
    Thanks, kind regards,
    Eduard Gheorghiu

    hey, i ran this up in the lab, the FEX itself runs dual active detection without the need for PAGP.
    see below info:
    switch#show fex dual-active 
    FEX dual-active detection enabled: Yes
    Channel Group 101 (FEX 101)
      Splitbrain detection capable: Yes
        switch 1 member port state:
          Te1/5/2    - Interface Up.      state: bound       
          Te1/5/3    - Interface Up.      state: bound       
        switch 2 member port state:
          Te2/5/2    - Interface Up.      state: bound       
          Te2/5/3    - Interface Up.      state: bound       
    Channel Group 102 (FEX 102)
      Splitbrain detection capable: Yes
        switch 1 member port state:
          Te1/5/4    - Interface Up.      state: bound       
        switch 2 member port state:
          Te2/5/4    - Interface Up.      state: bound       
    switch#show switch virtual dual-active summary 
    Pagp dual-active detection enabled: Yes
    Fast-hello dual-active detection enabled: Yes
    FEX dual-active detection enabled: Yes
    No interfaces excluded from shutdown in recovery mode
    In dual-active recovery mode: No
    switch#
    switch#show fex
    FEX       FEX              FEX                        FEX                  
    Number    Description      State            Model              Serial      
    101       FEX0101          online           C6800IA-48FPD      FOC1740Y33Y 
    102       FEX0102          online           C6800IA-48FPD      FOC1741S58T 

  • VSS using Pagp+ Dual Active Detection

    I am going to use VSS with a C3750 'Access' switch running 12.2(46)SE that supports Pagp+ for dual active detection. Regarding this topology, i have some questions:
    1) Does my Etherchannel towards the C3750 stack need to be a Pagp Etherchannel ? Or can it be a fixed Etherchannel (mode on) ?
    2) If the Etherchannel needs to be a Pagp Etherchannel before VSS can use the Pagp+ packets, does this imply that i can't use a cross-stack Etherchannel on the C3750, because cross-stack etherchannel did not support Pagp before ? Is it supported on 12.2(46)SE ?

    It is -very- easy to configure.
    Just connect two interfaces back-to-back together, of course, following a different path as your VSL links, then:
    interface GigabitEthernet2/4/14
    no switchport
    no ip address
    dual-active fast-hello
    end
    interface GigabitEthernet1/4/14
    no switchport
    no ip address
    dual-active fast-hello
    end
    And that's all.
    VSS_SWITCH#sh switch virtual dual-active fast-hello
    Fast-hello dual-active detection enabled: Yes
    Fast-hello dual-active interfaces:
    Port Local State Peer Port Remote State
    Gi1/4/14 Link up Gi2/4/14 Link up

  • How can I detect whether a TestStand Message box is active from a LabVIEW VI or application?

    I'm trying to detect when TestStand Message boxes are active on a local PC from a LabVIEW VI. Does anyone know a way to do this (ActiveX or some kind of "in memory" query maybe)?

    Hello John,
    the critical thing to do would be to get an engine reference to the Engine by means of a LabVIEW Automation Open VI (look in your activeX functions palette and the help for this item), the input will be an ActiveX reference to the TestStand Engine (browse for the class NI TestStand API, any version will do, and choose Engine from the list). Once you have this reference to the currently running TestStand, the next challenge is to some how access information about the current execution. The only way to reach that object is via getting the UIMessage object and then retrieving a Thread object from the message, and a SequenceContext from the thread... until finally you can access the property "Step". Your best reference in this case is
    going to be the TestStand Programmer Help (specifically for the API) and explore the properties and methods of each of these classes in turn.
    Feel free to ask if you get stuck.
    --Regards,
    Elaine R.
    National Instruments
    http://www.ni.com/support

Maybe you are looking for

  • Create a BEx variable which should by default contain current date, etc

    Hi, I need to create 2 variables: ZDATE01 and ZDATE02. They will be used in the following situation: 0DATETO >= ZDATE01 and 0DATEFROM <= ZDATE02 to only display records on a current "key" date. ZDATE01 should be a variable that has current date pre-p

  • Keep sound on login window

    When i call upp the Login Window using the icon in the top right of the screen as a crude way of locking the computer, the web radio mutes. Is there any way to let sound play while the computer is "locked"? I've got a Terminal. And I'm not afraid to

  • WRAP JTable Column Name into 2 lines

    I have a JTable with a long column Name. Can I wrap the Column Name into multiple (2) lines.

  • New initrd file is too big

    Hi folks, After updating our initrd, root, linux and settings.txt files it seems that the new files are too large for the RAM disk-drive that is being loaded. This took me a while to figure out - but I've yet to find anywhere where i can actually inc

  • Can you help me find a FREE replacement for Comcast PWP that has FTP access?

    So, here's how I use Comcast's PWP via FTP: First and foremost, I use FireFTP. I'd prefer to be able to keep using it. Ok, so I'm on Overclock.net and I enjoy providing tech support for anyone who needs it, when I can provide it. To that end, many of