The TCP/IP connection does not closed after a VISA close

I am using the VISA functions to communicate with a Sorenson SGA power supply from a Windows XP computer.  I have the VISA TCPIP Resource defined in MAX and use this alias name in the VISAResourceName for the input to the VISA Open.  Then I write a SCPI command, such as *IDN?, and read the repsonse.  Then I close the VISA session.  When I look at the TCP statistics using the netstat -n command, I get the following response:
Proto           Local Address                 Foreign Address    State
TCP            10.10.10.9:3881              10.10.10.1:111       TIME_WAIT
TCP            10.10.10.9:3882              10.10.10.1:111       TIME_WAIT
If I query the ID again, I get 2 more TCP connections with different local ports numbers.  Every time I perform the query, I get 2 more TCP port connections at different local ports.  It takes about 1 minute for the TIME_WAIT's to time out.  If I query the Sorenson enough, I can fill up my allowable local port connections.
1)  Why doesn't the TCP connections go away after the VISA Close?
2) Should I be opening and closing the VISA session every time I want to talk to the Sorenson?
3) What does the VISAResourceName control or constant actual do to resolve the alias into a IP?
This Sorenson power supply does not seem to be very quick to repsond to TCP requests.  If I set the timeout on the VISA Open to anything less the 100ms, I cannot get a session open every time.  It will fail about 50% of the time.
Has anyone had experince talking to the Sorenson power Supplies using VISA TCPIP?
Thanks,
Julia

Hi Julia,
Let me try answering your questions here.
1) I'm actually currently looking into this to see if this is expected behavior, and I'll definitely post back to let you know what I find.
2) You do not need to close a VISA session everytime you want to communicate with the device, you can leave the same session open and keep using that session, instead closing it out at the end.
3) The VISA aliases and what they correspond to are stored in a visaconf.ini file. There is more information about this file and where it is located on your hard disk in this KnowledgeBase article here. This visaconf.ini file is checked to see what the actual resources being looked up are.
Let me know if I answered your questions, I will write back with more information on question 1.
Rasheel

Similar Messages

  • The music search on the I tunes store does not appear after the latest upgrade to my I phone 4

    The music search feature on the I Tunes store does not appear.  Unable to search since the latest upgrade.

    If you're sure where your library is run this script iTunesXMLPath. The library folder is the folder that file is in. Your media folder is recorded under Edit > Preferences > Advanced and is usually a subfolder of the library folder.
    I recommend you backup your library with the method in this user tip.
    tt2

  • Zone Base Forewall for VPN connections does not work after IOS upgrade

    Hi all,
    We use cisco router 2911 as corporate gateway - there is Zone Based Firewall implemented - I upgraded IOS to last version (15.2(2)T1) - originaly version 15.1(4)M1 - to solve issue with Anyconnect connections (bug CSCtx38806) but I found that after upgrade the VPN users are not able to communicate with sources in other zones.
    More specific
    WebVPN use this virtual template interface
    interface Virtual-Template100
    description Template for SSLVPN
    ip unnumbered GigabitEthernet0/1.100
    zone-member security INSIDE
    There are other zones VOICE, LAB, ...
    In the policy any connection is allowed (used inspection of icmp, tcp and udp) from INSIDE zone to VOICE or LAB zone
    After VPN connection I am able to reach resources in INSIDE zone (which is the most important), but not in other zones. Before upgrade it worked.
    Once I changed zone in Virtual-Template interface to VOICE, I was able to reach sources in VOICE zone but not in any other. I searched more and found the stateful firewall is not working for connections from VPN as ping is blocked by policy on returning way - it means by policy VOICE->INSIDE, once I allowed communication from "destination" zone to INSIDE zone - the connections started to work, but of cause it is not something I want to setup.
    Does anybody has the same experiance?
    Regards
    Pavel

    It seems to me I should add one importatant note - if client is connected directly in INSIDE zone, he can reach resources in other zones without any issue - so the problem is only when the client is connected by VPN - not in ZBF policy setup.
    Pavel

  • Most of the default Mac Apps does not work after Mavericks Upgrade

    Hi, I did everything, but nothing has brought me out of this misery .
    I Updated Maverick just 2 days after its release. Had no problems, other then slow Finder. I restarted my iMac last week, and got caught with these issues, known to me, not sure what all bugs are there.
    All these apps does not work: App Store, TextEdit, Preview, Terminal, iBooks, Maps, Calendar, Contacts, Mail, etc
    I do not know how to do a clean install, as I had upgraded from Snow Leopord to Mountain Lion and to Maverick using App Store, which does not open at all.
    Hoping to get some response soon from Apple support team to help me.

    Hi Arthur,
    Thanks for the headsup about Apple Support thing... My iMac is not under warranty.
    And below is the report generated from EtreCheck. Hope it can help me find the solution.
    Hardware Information:
              iMac (20-inch, Early 2008)
              iMac - model: iMac8,1
              1 2.4 GHz Intel Core 2 Duo CPU: 2 cores
              4 GB RAM
    Video Information:
              ATI Radeon HD 2400 - VRAM: 128 MB
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0
              AirPlay: Version: 1.9
              AppleAVBAudio: Version: 2.0.0
              iSightAudio: Version: 7.7.3
    Startup Items:
              FanControlDaemon - Path: /Library/StartupItems/FanControlDaemon
              HDDFanControlDaemon - Path: /Library/StartupItems/HDDFanControlDaemon
              HP IO - Path: /Library/StartupItems/HP IO
              HP Trap Monitor - Path: /Library/StartupItems/HP Trap Monitor
              MissingSyncListener - Path: /Library/StartupItems/MissingSyncListener
              MySQLCOM - Path: /Library/StartupItems/MySQLCOM
              ParallelsDesktopTransporter - Path: /Library/StartupItems/ParallelsDesktopTransporter
              VirtualBox - Path: /Library/StartupItems/VirtualBox
    System Software:
              OS X 10.9 (13A603) - Uptime: 2 days 2:6:45
    Disk Information:
              WDC WD2500AAJS-40VWA1 disk0 : (250.06 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        My iMac (disk0s2) /: 249.2 GB (22.18 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
    USB Information:
              Apple, Inc. Keyboard Hub
                        Apple, Inc Apple Keyboard
              Western Digital My Book 1110 999.5 GB
                        WORK (disk1s1) /Volumes/WORK: 375.81 GB (95.66 GB free)
                        PLEASURE (disk1s2) /Volumes/PLEASURE: 623.69 GB (35.57 GB free)
              Apple Inc. Built-in iSight
              Apple Inc. BRCM2046 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Computer, Inc. IR Receiver
    FireWire Information:
    Thunderbolt Information:
    Kernel Extensions:
              com.logmein.driver.LogMeInSoundDriver          (1.0.0)
    Problem System Launch Daemons:
    Problem System Launch Agents:
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist
              [loaded] com.adobe.SwitchBoard.plist
              [failed] com.google.GoogleML.plist
              [loaded] com.google.keystone.daemon.plist
              [not loaded] com.logmein.logmeinserver.plist
              [loaded] com.microsoft.office.licensing.helper.plist
              [loaded] com.wdc.WDDMservice.plist
              [loaded] com.wdc.WDSmartWareServer.plist
              [loaded] rapiback.plist
    Launch Agents:
              [not loaded] com.adobe.AAM.Updater-1.0.plist
              [loaded] com.google.keystone.agent.plist
              [loaded] com.logmein.logmeingui.plist
              [not loaded] com.logmein.logmeinguiagent.plist
              [not loaded] com.logmein.logmeinguiagentatlogin.plist
              [loaded] syncmateStarter.plist
    User Launch Agents:
              [loaded] com.adobe.AAM.Updater-1.0.plist
              [loaded] com.adobe.ARM.[...].plist
              [loaded] com.facebook.videochat.[redacted].plist
              [loaded] com.macpaw.CleanMyMac.helperTool.plist
              [not loaded] com.macpaw.CleanMyMac.trashSizeWatcher.plist
              [loaded] com.macpaw.CleanMyMac.volumeWatcher.plist
    User Login Items:
              AirPort Base Station Agent
              EarthDesk Engine
              LMILaunchAgentFixer
              AdobeResourceSynchronizer
              RealPlayer Downloader Agent
              Windows Phone 7 Connector Agent
              iAntiVirus
              TextEdit
              StatusMenu
              HP Scheduler
              WDQuickView
    3rd Party Preference Panes:
              Application Enhancer
              DivX
              EarthDesk
              Fan Control
              Flash Player
              Flip4Mac WMV
              Growl
              MacFUSE
              WDQuickView
    Internet Plug-ins:
              AdobeExManDetect.plugin
              AdobePDFViewer.plugin
              AdobePDFViewerNPAPI.plugin
              Default Browser.plugin
              DirectorShockwave.plugin
              DivXBrowserPlugin.plugin
              Flash Player.plugin
              FlashPlayer-10.6.plugin
              Flip4Mac WMV Plugin.plugin
              iPhotoPhotocast.plugin
              JavaAppletPlugin.plugin
              QuickTime Plugin.plugin
              RealPlayer Plugin.plugin
              SharePointBrowserPlugin.plugin
              Silverlight.plugin
    User Internet Plug-ins:
              Picasa.plugin
              Unity Web Player.plugin
              WebEx.plugin
              WebEx64.plugin
    Bad Fonts:
              None
    Time Machine:
              Time Machine not configured!
    Top Processes by CPU:
                  29%          mds
                   2%          WindowServer
                   1%          mds_stores
                   1%          LogMeInGUI
                   1%          RealPlayer Downloader Agent
                   1%          EtreCheck
                   1%          FanControlDaemon
                   0%          uTorrent
                   0%          notifyd
                   0%          networkd
    Top Processes by Memory:
              1.00 GB            mds
              106 MB             mds_stores
              78 MB              Google Chrome
              49 MB              Finder
              45 MB              WindowServer
              40 MB              Google Chrome Helper
              37 MB              VLC
              29 MB              uTorrent
              20 MB              EtreCheck
              16 MB              DashboardClient
    Virtual Memory Statistics:
              43 MB              Free RAM
              989 MB             Active RAM
              934 MB             Inactive RAM
              447 MB             Wired RAM
              4.25 GB            Page-ins
              454 MB             Page-outs

  • Why the restart firefox bubble does not show after installing an addon and the remember password bubble is closed (not now x)?

    When I go to a post login page, firefox offers to remember password.
    If this bubble is ignored (by pressing the x or by choosing the Not now option) and i download an add-on on that page that requires browser restart, the bubble of "restart now" which should get triggered after the installation of the add-on is not shown.
    Note: If i press on Remember password or never remember password on this site, the restart bubble shows.

    Possibly you could explain carefully what happens, listing the steps you take.
    As a test/example Would you be able for instance to recreate the problem with this forum as a login site with a password. And with for example this add-on
    * https://addons.mozilla.org/en-US/firefox/addon/places-maintenance/

  • After installing Adobe Version X Pro, I still cannot "create" a PDF package from Excel since the Adobe add-in does not appear after installation.  Can someone provide their inputs?

    I'm having issues with getting the Adobe add-in to appear after installing Adobe Version X.  Version XI works but it is not compatible with another software my company uses so we have to stick with Version X.  Please help.

    Make sure your Acrobat X is up to date. 10.0 will not do this, 10.1 is supposed to. Compatible web browsers and PDFMaker applications

  • The number of leaf_blocks does not decrease after delete

    hi All,
    this the example from Tom's book <<expert oracle database architecture>>, may anyone explain why the leaf_block oes not decrease to 523 after delete.
    db version is 10.2.0.3, SEGMENT SPACE MANAGEMENT MANUAL in the tablespace system
    sys@CS10G> drop table big_table purge;
    Table dropped.
    sys@CS10G> @big_table
    Table created.
    Table altered.
    Enter value for 1: 500000
    old   3:     l_rows number := &1;
    new   3:     l_rows number := 500000;
    Enter value for 1: 500000
    old   9:         where rownum <= &1;
    new   9:         where rownum <= 500000;
    PL/SQL procedure successfully completed.
    Table altered.
    PL/SQL procedure successfully completed.
      COUNT(*)
        500000
    sys@CS10G> declare
      2  l_freelist_blocks number;
      3  begin
      4  dbms_space.free_blocks
      5  (
      6  segment_owner => user,
      7  segment_name => 'BIG_TABLE_PK',
      8  segment_type => 'INDEX',
      9  freelist_group_id => 0,
    10  free_blks => l_freelist_blocks
    11  );
    12  dbms_output.put_line(' block on freelist = ' || l_freelist_blocks);
    13  end;
    14  /
    block on freelist = 0
    PL/SQL procedure successfully completed.
    sys@CS10G> select leaf_blocks from user_indexes where index_name = 'BIG_TABLE_PK';
    LEAF_BLOCKS
           1043
    sys@CS10G> delete  from big_table where id <= 250000;
    250000 rows deleted.
    sys@CS10G> commit;
    Commit complete.
    sys@CS10G> declare
      2  l_freelist_blocks number;
      3  begin
      4  dbms_space.free_blocks
      5  (
      6  segment_owner => user,
      7  segment_name => 'BIG_TABLE_PK',
      8  segment_type => 'INDEX',
      9  freelist_group_id => 0,
    10  free_blks => l_freelist_blocks
    11  );
    12  dbms_output.put_line(' block on freelist = ' || l_freelist_blocks);
    13  end;
    14  /
    block on freelist = 520
    PL/SQL procedure successfully completed.
    sys@CS10G>
    sys@CS10G> select leaf_blocks from user_indexes where index_name = 'BIG_TABLE_PK';
    LEAF_BLOCKS
           1043Edited by: Sidney Chen on Aug 15, 2009 3:10 PM

    Sidney Chen wrote:
    hi All,
    this the example from Tom's book <<expert oracle database architecture>>, may anyone explain why the leaf_block oes not decrease to 523 after delete.It's just the way it works - when a leaf block is emptied it is linked into the freelist, but also stays linked into the correct place in the index structure. It will be detached from the structure by a coalesce, or when Oracle needs to use a free block to handle new data.
    If you want a couple of reasonable guesses why:
    <ul>
    a) it probably makes read-consistency of indexes easier to deal with
    b) unlinking a block from the structure is expensive (you have to modify the blocks to the left, the right, and above) so Oracle takes the gamble that you're likely to re-insert data in the same block in the near future.
    </ul>
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    "Science is more than a body of knowledge; it is a way of thinking"
    Carl Sagan

  • Connection does not work after update of PC Suite

    I recently bought a 6070 phone. I had no problem of connecting this to my computer (XP Home SP 2) for 6.81.13.0, using cable CA-42. But then I got the mad idea to look for an update and installed 6.84.10.3 (should work for 6070 according to what they say at the PC Suite page). Now, I can't get the phone connected to the computer. I have tried te trick pasted below, but even that makes no difference? So, any suggestions? Should I make a clean installation (I installed it "on top of" the old version), or should I look for old versions of PC Suite?
    Q: I updated Nokia PC Suite, and I am no longer able to establish the connection between the PC and my Nokia device.
    A: To try and solve this problem, do the following:
    1) Select Start > Settings > Control Panel, and double-click Add or Remove Programs.
    2) In the Add or Remove Programs window, search the list of currently installed programs for PC Connectivity Solution.
    3) Select PC Connectivity Solution, and click the Change button. The PC Connectivity Solution Maintenance Program opens.
    4) In the maintenance program, click Repair. Then wait for the operation to be completed.
    5) Restart your PC, and try to connect your device to the PC again.

    I recently bought a 6070 phone. I had no problem of connecting this to my computer (XP Home SP 2) for 6.81.13.0, using cable CA-42. But then I got the mad idea to look for an update and installed 6.84.10.3 (should work for 6070 according to what they say at the PC Suite page). Now, I can't get the phone connected to the computer. I have tried te trick pasted below, but even that makes no difference? So, any suggestions? Should I make a clean installation (I installed it "on top of" the old version), or should I look for old versions of PC Suite?
    Q: I updated Nokia PC Suite, and I am no longer able to establish the connection between the PC and my Nokia device.
    A: To try and solve this problem, do the following:
    1) Select Start > Settings > Control Panel, and double-click Add or Remove Programs.
    2) In the Add or Remove Programs window, search the list of currently installed programs for PC Connectivity Solution.
    3) Select PC Connectivity Solution, and click the Change button. The PC Connectivity Solution Maintenance Program opens.
    4) In the maintenance program, click Repair. Then wait for the operation to be completed.
    5) Restart your PC, and try to connect your device to the PC again.

  • Satellite A110-228 LAN does not work after hibernate

    Well, subject says it all, really. The LAN (wired) network does not work after hibernate.
    It seems it cannot find the DHCP server, so after a while it gets a 169.* address.
    After a reboot, the network functions as usual (gets a IP address from the DHCP server)
    Tried the usual things, disconnecting the cable, disabling the LAN device, battery or AC adapter, the behavior is reproducible.
    The wireless network will be restored after a hibernate.
    It needs a little help though (right click on the icon and "recover" or whatever it is called in English)
    Any suggestions?
    Wilm Boerhout

    Hi guys
    In the Toshiba HW setup which is placed in the control panel the options Wake-up on LAN and Built-in LAN should be enabled.
    I think the options are disabled by default.
    Furthermore the default setting for Wake on Settings is OS controlled. To use the Wake-up on LAN function under power off mode, in the device driver for the network card under the menu point Wake On Settings the Value Wake on Magic & Directed must be set.
    Please check this how to enable WOL (first time use):
    1. Go to [Start] -> [Control Panel] -> [Toshiba HWSetup] -> [LAN] tab
    2. Enable Wake-up on LAN
    3. Click [Apply]. System will request to reboot.
    4. After the reboot go to [Start] -> [Control Panel] -> select [System]
    5. On system properties dialog box select [Hardware] tab -> click [Device manager]
    6. On Device manager dialog box select [Networking adapters] -> double click [Intel(R) PRO/100 VE Network Connection]
    7. Go to [Advanced] tab -> select [Wake On Settings] property -> Select [Wake on Magic & Directed]
    8. Press [OK] to close the dialog box.

  • HT1386 My iOS device (Ipad mini) only appears in iTunes while cable-connected, but does not appear after diconnect the cable. How can I Wifi sync ?

    Hi, My iOS device (Ipad mini) only appears in iTunes while cable-connected, but does not appear after diconnect the cable. How can I Wifi sync ?
    Documents say
    Whenever the computer and the iOS device are on the same network, the iOS device will appear in iTunes, and you can sync it....
    But I can't see my iPad Mini in iTunes.
    And my  Ipad  (Settings, General, iTunes Wifi Sinc)  shows  a message :" Sync will resume when xxx(my PC with iTunes) is available "...
    Both are in the same network,
      Ipad mini is is plugged in to power
    . iTunes is open on the computer
    what can i Do ???

    Hi Skydiver119,  and tks for four interest.
    I have done exactly as you say, but it does not work for me.
    You indicated  " Navigate to the info tab and scroll down. There'll be a check box for 'sync over wifi' or something to that effect. Check that box and sync to affirm your choice."
    I navigated to Summary tab (not Info Tab) and checked "Sync with this ipad over Wi-Fi"
    I disconnect the wire,
    and my iPad disappears from my iTunes screen.
    in my iPad ->Settings -> General -> iTunes Wi-Fi Sync -> says " Sync will resume when (my PC) is available.
    So, I can not sync via wi-fi
    I appreciate if you can help me.

  • TS3367 Hi, the FaceTime just did not work between my mom and I. It used to work weeks ago, but now it does not work after showing"connecting". I feel frustrated and try all the method I can think of. Still do not work. Hope u can help me. Thanks!

    Hi, the FaceTime just did not work between my mom and I. It used to work weeks ago, but now it does not work after showing"connecting". I feel frustrated and try all the method I can think of. Still do not work. Hope u can help me. Thanks!

    Was it just this one time?  Could be that you, or your mom, were experiencing network problems.  Try again at a later time.

  • The Connection Server does not start after an upgrade to BO4.1 SP3

    Hello guys,
    The Connection Server does not start after an upgrade to BO4.1 SP3
    We are in process to upgrade our Business Objects environments to BO4.1 SP3
    The first 2 environments , the upgrade went fine. But the third environment de connection server won’t start.
    When I always try to start it returns me a failed status and shows me that the server is considered failed because it has stopped 5 time(s) in 60 minute(s).
    Our OS is AIX
    Uncaught Exception in SilentScope: [CS] Ser
    verInitialization::InitManager::Initialize: 0.007^^
    The CS initialization failed within the CS server. Aborting
    trc file: "connectionserver_BIO.ConnectionServer_ncs.trc", trc level: 1, release: "720"
    Gerd

    Hi Amine
    The File seems ok
    File from the failing connection server
    -rw-rw---- 1 bioadm bosys 43993 Apr 11 11:29 boconfig.cfg
    File from our test system
    -rw-rw---- 1 bitadm bosys 43892 Apr 14 10:56 boconfig.cfg
    I created a new connectieserver(by the copy function), but the new server won't start.
    Regards
    Gerd
    Log
    |89d4a6e0-2a89-7a05-3020-a51d517ab872|2014 04 14 11:54:30:113|+0200|Error| |>>|E| |connectionserver_BIO.ConnectionServer|28246236|3097|| |0|0|0|0|-|-|-|-|-|-||||||||||||[CS] Unhandled exception raised during CS initialization.
    init_srv.cpp:95:-: TraceLog message 3
    |4dcf04b1-1e1d-df13-48ad-a67f06e29864|2014 04 14 11:54:30:113|+0200|Error| |<<|E|X|connectionserver_BIO.ConnectionServer|28246236|3097|| |0|0|0|0|-|-|-|-|-|-||||||||||||Uncaught Exception in SilentScope: [CS] ServerInitialization::InitManager::Initialize: 0.003
    |77ad78f4-37f7-3013-3b50-85cce9fbe7b8|2014 04 14 11:54:30:113|+0200|Error| |>>|E| |connectionserver_BIO.ConnectionServer|28246236|3097|| |0|0|0|0|-|-|-|-|-|-||||||||||||[CS] The CS initialization failed within the CS server. Aborting.

  • Rented movie does not play after download if not connected to the internet

    rented movie does not play after download if not connected to the internet

    Hello b noir.
    Thank you for your interest in solving my problem.
    What I did I opened iTune. I read the information about what does my computener need to play back a rented movie. My computer is okay to play back rental movies. So I went to the iTunes store, I searched for the movie I want to watch, i singned in into my Mac account and I bought the movie. The movie started to download to my computer, it took some time because I bought a HD version, but it never stop and after a couple of hours or little less the movie was in the Rented folder of my iTunes and also I checked to be sure that was in the movie folder. So, next day I open iTunes and click on the movie, it opens but I wait for five minuetes and never started to play back, so I tried several time and I looked for info in different internet forums but I couldn't find anything that help. So I posted the problem in this forum and also I called Apple. Apple contacted me and they let me to download the movie again. So I did it and now I will watch the movie later. Not sure if the movie will play back normally or if I am going to have the same problem. I'll keep you posted.
    Apple representative did not know why this happened.
    Thanks.

  • The wifi does not work after update 5.1.1

    After I upgraded my Iphone 4 to IOS 5.1, the problem had wifi to connect to the wifi network is always seeking and never shows any network, my husband and I can connect does not mean it's my phone, he has not done the update.

    Thank you very much!! There are solutions for complex problems in this world because of persons like you!!

  • When streaming a movie with the new Apple TV, and using a DSL Internet connection, all audio sound works, e.g., the music track, but the audio track with the actor's voices, does not work. What can I do?

    When streaming a movie with the new Apple TV, and using a DSL Internet connection, all audio sound works, e.g., the music track, but the audio track with the actor's voices, does not work. What can I do?

    Hi Brian,
    Thanks restoring and restarting didn't fix my problem - i have started it fresh and still it doesn't work. Basically I press ONCE on the remote, after the machine has not had any commands for 10 minutes, and the cursor skips from one end of the menu to the other - so I can't choose network or update software etc - I sometimes manage to stop it randomly in the middle of the menu if I press on a command in the middle of the cursor skipping all the menu steps...not sure what the problem is but I have basically not used my brand new apple tv since I bought it for that reason! I should call Apple support I suppose! grrrr hate wasting time with stuff like this!
    Thanks for your help though!
    Pernille

Maybe you are looking for