VISA Write hangs after running OK for a while

VISA Write function (VISA abc W) in my VI runs OK, with a Return Count of 4, for a while (100's to 1000's of times)  then it hangs.  The Return Count from this function is then 0.  The Error In and Error Out show no errors.  Clicking HIGHLIGHT EXECUTION shows the output wires from the VISA Write as colored grey, while everything else has normal color. 
Clicking the VI red ABORT button, or any of the sub VIs red ABORT buttons, fails to abort or reset the VI even after 20 minutes.  Task Manager will stop LabVIEW, but then LabVIEW will not start up again without shutting down and restarting the computer.  Changing to a different Windows XP computer and a different PCI-GPIB, NI-488.2  board, as well as reinstalling LabVIEW 7.0, or using a different LabVIEW 7.0 serial number, has not solved the problem. 
Thank you for your help.

Thanks for your reply.  Attached is a PowerPoint file that shows info on our computer and LabView, and a For Loop
(Slide 3) that runs the VIs addressing one of our instruments (Hart 1590 Super Thermometer).  Slide 4 shows the
block diagram that is pretty much as downloaded from National Instruments.  The block diagrams for each of the
colored sub VIs contains a sub VI having a VISA abc W function as shown in Slide 5.  The only places this VISA
function hangs is in inside the While Loop, inside the yellow Meas. Status. VI or the blue Read Meas. VI.  The
Meas. Status. VI sends "new", and  the Read Meas. VI sends "tem" to the Hart instrument. 
Also attaced are the VIs for the Measurement Status and the Read Measurement.  In the course of trying to fix this
problem I've added various time delays of 50, 100 msec, up to 1 sec, thinking that the Hart needed more time to
respond before receiving another command; none of this improved the situation.  I added indicators and arrays to
capture the last several strings that were input to the VISA function, but I saw nothing unusual.  All I've been
able to determine is that the VISA abc W function hangs as described in my posted message. 
Attachments:
VISA Write Hang 9-15-05.zip ‏282 KB

Similar Messages

  • XY-Graph hangs after running continously for 3 weeks

    We have an application running on LV 6.0.2 on Windows NT4/2k.
    The application is splitted in an overview panel which displays up to 20 graphs (XY-Graphs) and detailed views, which displays only one signal but with further information. The aplication is running continously. If the data source is powered-on data will be acquired. After power-down the data source we reinitialize the XY-Graph and wait for power-on.
    The problem is, that the application is working correctly for about 3 weeks and then suddenly the XY-Graphs of the overview panel is hanging - that means we get some data (say 20 min.) and then no more data will be displayed.
    The data is formatted in a model-view controller like manner. The special thing
    is, that we can format all data acquired for all graphs. The detailed view displays all acquired data as expected whereas the overview only displays some part of it.
    Do you have any ideas or solutions for this problem?? We are know restarting the panel after a specified time period and hope that this workaround will solve this error.

    I suspect you are runnig out of memory!
    The data collected just piles up as it comes in.
    How to confirm.
    Right click on the task bar and select "Task Manager".
    Select the Performance tab.
    When you start your app, ther should be lot of memory left over.
    Watch this value for three weeks. You should see a steady rise in memory usage until the machine hangs.
    If this is a coorect guess, you have two choices.
    1)Re-write the app to limit the history that is kept in memory, or
    2) Re-boot the machine once every 2 weeks.
    See ya back here in 3 weeks,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Error after running Projector for a while

    I run a projector in a kiosk. When being used there is no
    problem, but at night if it is not being used for a bit I get one
    of two errors
    Faulting application dirproj.exe, version 10.1.0.11, faulting
    module iml32.dll, version 10.1.0.11, fault address 0x000113d7.
    Faulting application dirproj.exe, version 10.1.0.11, faulting
    module iml32.dll, version 10.1.0.11, fault address 0x0000be06
    These happen at various times and doesn't seem to be a
    pattern for when it is one or the other. Any help is appreciated

    You would need to make another application to monitor the
    status of the
    main one. Xtras like BuddyAPI will help there. It is easy to
    check if
    an app is open, and if not, open it.
    Or you could have the main app write out a file every 5
    minutes or so.
    Have your monitoring application check the file date on that
    file. If
    it is >10 old, then that means that the main app is locked
    up or
    crashed. The monitor app can close it then re=open it.

  • Airport Express becomes unstable after running Azureus for a while

    I have bought a new Airport Express yesterday, and it worked great. But then I let Azureus run overnight, and this morning I wanted to surf the web, but some pages took forever to load. I thought it was Azureus taking all the bandwidth, so I quit it, but the problems persisted:
    The problem is that in Safari/Firefox/whatever, 1 out of 4 or perhaps 1 out of 6 pages I open just take forever to load, even when these are pages from the same server. So it's definitely not a problem with my internet connection (which is 2Mbps over cable, BTW). Stopping the loading of the page and hitting the reload button then opens the page just fine.
    It seems that the Airport Express has some kind of minor crash, so that it won't lock up completely but will not load a page once in a while (and this while is sometimes 5 seconds and not just every 10 minutes).
    The other Mac in my house gets these problems too, so the problem lies not with my Mac, but with the Airport Express.
    Restarting the Airport Express resolves this problem, and all the pages will load just fine. I reproduced this behaviour about 4 times today, just a short while of running Azureus "crashes" the Airport Express again.
    What's the problem here and how do I resolve it?
    Thanks,
    Oliver
    PS: excuse me for my not-perfect english

    hi there!
    i had the same problem. the thing is that i used a repeater in my house in order to catch the original signal in other parts of the house.
    it now seems that the repeater was the reason for the drop outs.
    in the meantime i use the power outlets to distribute the signal (e.g. http://www.zdnet.com/blog/gadgetreviews/d-link-turns-every-power-outlet-into-wal l-to-wall-network/3287) and i connect the airport straight to the power outlet with an ethernet cable.
    since i use this method i do not have any drop outs anymore.
    hope this helps.
    cheers.

  • I have an early 2011 MacBook Pro which has been running slow for a while. After looking at responses to similar problems I have downloaded and run EtreCheck and will post the output. Please can someone help me with what it all means.Thanks in advance

    I have an early 2011 MacBook Pro which has been running slow for a while. After looking at responses to similar problems I have downloaded and run EtreCheck. Please can someone help me with what it all means.
    Thanks in advance.
    EtreCheck version: 1.9.15 (52)
    Report generated 19 September 2014 08:07:14 GMT+8
    Hardware Information: ?
      MacBook Pro (13-inch, Early 2011) (Verified)
      MacBook Pro - model: MacBookPro8,1
      1 2.3 GHz Intel Core i5 CPU: 2 cores
      4 GB RAM
    Video Information: ?
      Intel HD Graphics 3000 - VRAM: 384 MB
      Color LCD 1280 x 800
    System Software: ?
      OS X 10.9.4 (13E28) - Uptime: 0 days 0:4:29
    Disk Information: ?
      Hitachi HTS545032B9A302 disk0 : (320.07 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted>: 209.7 MB
      Macintosh HD (disk0s2) / [Startup]: 319.21 GB (147 GB free)
      Recovery HD (disk0s3) <not mounted>: 650 MB
      MATSHITADVD-R   UJ-898 
    USB Information: ?
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ?
      Apple Inc. thunderbolt_bus
    Gatekeeper: ?
      Mac App Store and identified developers
    Kernel Extensions: ?
      [not loaded] com.seagate.driver.PowSecDriverCore (5.2.4 - SDK 10.4) Support
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.4 - SDK 10.4) Support
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.4 - SDK 10.5) Support
      [not loaded] com.seagate.driver.SeagateDriveIcons (5.2.4 - SDK 10.4) Support
      [loaded] com.sophos.kext.sav (9.1.55 - SDK 10.7) Support
      [loaded] com.sophos.nke.swi (9.1.50 - SDK 10.8) Support
    Launch Daemons: ?
      [loaded] com.adobe.fpsaud.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
      [running] com.sophos.autoupdate.plist Support
      [running] com.sophos.configuration.plist Support
      [running] com.sophos.intercheck.plist Support
      [running] com.sophos.notification.plist Support
      [running] com.sophos.scan.plist Support
      [running] com.sophos.sxld.plist Support
      [running] com.sophos.webd.plist Support
      [running] com.trusteer.rooks.rooksd.plist Support
    Launch Agents: ?
      [loaded] com.divx.dms.agent.plist Support
      [loaded] com.divx.update.agent.plist Support
      [running] com.sophos.uiserver.plist Support
      [running] com.trusteer.rapport.rapportd.plist Support
    User Launch Agents: ?
      [loaded] com.adobe.ARM.[...].plist Support
      [running] com.amazon.music.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [not loaded] jp.co.canon.Inkjet_Extended_Survey_Agent.plist Support
    User Login Items: ?
      iTunesHelper
      TomTomHOMERunner
      AdobeResourceSynchronizer
      Dropbox
    Internet Plug-ins: ?
      FlashPlayer-10.6: Version: 15.0.0.152 - SDK 10.6 Support
      DivX Web Player: Version: 3.2.1.977 - SDK 10.6 Support
      AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 Support
      AdobePDFViewer: Version: 11.0.09 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.152 - SDK 10.6 Support
      EPPEX Plugin: Version: 10.0 Support
      Default Browser: Version: 537 - SDK 10.9
      OVSHelper: Version: 1.1 Support
      QuickTime Plugin: Version: 7.7.3
      SharePointBrowserPlugin: Version: 14.4.4 - SDK 10.6 Support
      iPhotoPhotocast: Version: 7.0 - SDK 10.7
    Safari Extensions: ?
      Ultimate
    Audio Plug-ins: ?
      BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
      AirPlay: Version: 2.0 - SDK 10.9
      AppleAVBAudio: Version: 203.2 - SDK 10.9
      iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins: ?
      Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    3rd Party Preference Panes: ?
      Flash Player  Support
      Perian  Support
      Trusteer Endpoint Protection  Support
    Time Machine: ?
      Skip System Files: NO
      Auto backup: YES
      Volumes being backed up:
      Macintosh HD: Disk size: 297.29 GB Disk used: 160.38 GB
      Destinations:
      Data [Network] (Last used)
      Total size: 2 TB
      Total number of backups: 99
      Oldest backup: 2012-04-20 17:05:32 +0000
      Last backup: 2014-09-18 23:49:25 +0000
      Size of backup disk: Excellent
      Backup size 2 TB > (Disk size 297.29 GB X 3)
      Time Machine details may not be accurate.
      All volumes being backed up may not be listed.
    Top Processes by CPU: ?
          6% InterCheck
          5% iCalExternalSync
          3% WindowServer
          2% CalendarAgent
          2% SystemUIServer
    Top Processes by Memory: ?
      152 MB SophosScanD
      147 MB InterCheck
      106 MB SophosAntiVirus
      66 MB Dropbox
      57 MB com.apple.iTunesLibraryService
    Virtual Memory Information: ?
      161 MB Free RAM
      1.55 GB Active RAM
      1.41 GB Inactive RAM
      902 MB Wired RAM
      611 MB Page-ins
      0 B Page-outs

    Uninstall Trusteer software
    http://www.trusteer.com/support/uninstalling-rapport-mac-os-x
    Remove Sophos
    https://discussions.apple.com/message/21069437#21069437

  • ABAP Program gives error after running  successfully for few days / months

    I have a problem that sometimes my programs start giving errors or does not run at all after successfully running for few days / months.
    But, when I copy the same program with a different name (without any changes ) it starts running again.
    Yesterday I had another problem. I was sending a request to be transported to Production Client, and the request was not getting transported. But when I changed just the name of the program, It was transported to Production Client.
    I can't understand where the problem lies and what happens to the programs after running successfully for few days. All I have to do is just copy that programm into another name and it starts running.
    Can anyone help me?
    Regards,
    SK Daniel

    about the transport thing..i had the same problem few months back the reason was,  i included a table which is having different package  from my program..so wot im thinking is when you creating a different program u might be assigning different package to this new program  and this package is same as all the tables included in your program...
    regards

  • Hi. I am running Windows 8.1 on a  64 bit Toshiba Satellite P70-A laptop with 16Gb of RAM. I have installed Adobe Creative Suite 6 - Master Collection. All is fine except for Adobe Acrobat X. It runs OK  for a while, but then suddenly it won't work. I uni

    Hi. I am running Windows 8.1 on a  64 bit Toshiba Satellite P70-A laptop with 16Gb of RAM. I have installed Adobe Creative Suite 6 - Master Collection. All is fine except for Adobe Acrobat X. It runs OK  for a while, but then suddenly it won't work. I uninstall it, re-boot and re-install again, bit the same process repeats itself and once again I have to uninstall and re-install again. I don't know if windows update interferes with it? Has anyone else had a similar problem? Is it fixable?

    I think you'd be much better off asking in the Acrobar forum, Acrobat

  • My Macbook turns off randomly after being on for a while and usually occurs when streaming video on netflix or something. I think it is overheating. Any thoughts?

    My Macbook turns off randomly after being on for a while and usually occurs when streaming video on netflix or something. I think it is overheating. Any thoughts?

    You might be right about the reheating. Get iStat Pro https://www.apple.com/downloads/dashboard/status/istatpro.html
    To monitor your tems and fan speeds.

  • Why does visa write hang with Labview 2009 instrument drivers.

    I'm having an issue with a code package that I'm running. The pacakge is very complex and was written by someone other than me. It runs fine while using the labview 8.5 drivers, however, when the 2009 instrument drivers are install there is a visa write call to an instrument where the software will hang up at the VISA write VI. I tried setting the timeout attribute but that makes no difference. I would expect that if the visa write did not work, that it would time out with an error instead of hanging up.
    Some additional information. The instrument is an EPM which is on a GPIB bus with other instruments. When I place the EPM2000 on a serparate bus this problem goes away, but I want to be able to operate on the same GPIB bus.
    Has anyone experienced a similar problem? What can I try to help troubleshoot the problem. I tried opening NI Spy but that shows no activity going on.

    Hi Steve,
    My apologies, when you said instrument drivers I assumed you were refering to the individual drivers for your instrument.  Were you refering to the VISA drivers?  If so, the latest version of these is 5.1.1 which can be downloaded here: http://joule.ni.com/nidu/cds/view/p/id/2659/lang/en.
    Also are you able to communicate with this device using the test panels in Measurement & Automation Explorer?  There is also a tool called NI IO Trace (or it may still be called NI-SPY in 2009) that can be opened from MAX that monitors all GPIB commands sent and received on the machine.  Getting a log of the commands when the hang occurs may help to diagnose it.
    It is possible this issue could be caused by opening and closing the VISA reference frequently in the code such as in a loop iteration.  Is this is case in your code?
    Justin D
    Applications Engineer
    National Instruments
    http://www.ni.com/support/

  • SQL Developer hangs for a few minutes after being idle for a while.

    Is anyone aware of any issues with SQL Developer hanging for several minutes after being idle for several hours? After being idle for several hours (and probably minimized), when we bring up SQL Developer we just get a blank white window for several minutes before it becomes functional. Obviously, this isn't a critical issue, but sure is annoying when you run into it.
    Thanks in advance!!
    Rob

    This is fairly typical java application behaviour. For whatever reason, they are particularly prone to being swapped out by the operating system and take time to swap back in.
    There is an add-in around called "keepresident" which helps this but I thought it had been superceded in later JDK version.

  • Error 10846 after running VI for a day

    I am trying to develop a program that acquires data continuously from 9 analog input channels, then processed the data to extract the mean, max, min for each signal and do some calculation and then store the data in a spreadsheet every minute. The VI works fine if I run it for a short time (less than 5 hours) but if I tried to run it for a long period (an all day), I get an AI error 10846. If I ignored the message error and keep running the program, the error message 10846 keeps appearing and every thing in the VI seems slowing down. If I restart the VI without restarting the computer, the VI will run but the same message error 10846 will reappear after a short time. So I have finally had to stop the program and restart the co
    mputer so that the VI reruns normally. The VI is running at a scan rate = 1000 scans and a scan to read = 2000 scans, the buffer size is set up to 20000 scans. I tried to increase the buffer size up to 100000 scans and increase the scan to read up to 10000 scans but the message error keeps appearing. If I look at my scan backlog, for the first couple hours, it is equal to 0 and after that, for no reason, once in a while, the scan backlog show a value different of 0.
    I do not have really a lot of experiment with Data acquisition system and I am not sure to use the correct values of those parameters. But at the same time, I do not understand why the VI is running fine for couple hours and then crashed.
    Concerning the system that I am using, my computer is a 1 GHz Duron Processor running Windows 98 with 120 MB of RAM and I used:
    NI software = LabView version 6.1
    DAQ card = PCI-6071E
    I attached my code for the ones who will have time to run it.
    If anyone can offer some wisdom on
    that it would be greatly appreciated.
    Thanks
    PS: I am also wondering if the problem could come of my computer or hardware I am using?
    Attachments:
    TAH_DAQ_050703.zip ‏749 KB

    Right off hand, I would say that the fact you have to restart the computer to recover is very odd indeed--and troubling. Have you tried to run any of the continuous acquisition examples that ship with LV to see if they exhibit the same behaviour? Also, is the computer on a network? If so, try unplugging it and see if you still get the problem. Finally, when the thing is slowing down, what does the computer's overall CPU utilization look like?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Wifi hangs up on start-up, and computer hangs after using internet for 5 min.

    HP Touchsmart tm2, using Window's 7 64-bit. There are no error messages popping up, but what happens is I start my computer, and my wifi/internet connection icon seems to freeze while loading possible internet connections. If I turn off my wifi and then turn it back on using the button on the side of my computer, it seems to work correctly, then.
    But, when I get on the internet, no matter what site I go on to, my computer will just hang up after being online for at most 5 minutes. Mozilla Firefox will go into a Not Repsonding mode, and I can't minimize it or click/open any other programs. CTRL+ALT+DEL doesn't work, and when I hover over any icon, nothing seems like it's recognizing my mouse. The mouse moves, though, and the time even keeps going (it'll change from 9:13 to 9:14 and so forth).
    It ends up figuring itself out, though, after another 5 minutes (literally an entire 5 minutes) and then seems to work okay. 
    Recently, I updated CCleaner to the newest version, cleaned out my internet cache, defrag my computer using Defraggler, used CClean to also wipe by free space, and updated Avast! Antivirus to the newest version and ran a full virus scan with no threats detected... :/

    Hopefully No real Damage was done.
    A Surge Protector works fine with items like Lights, Lamps and small electrical items.  Where the problem arises is with Computers, which are precision electrical devices.  The only real protection is a Battery Backup like an APC.
    http://buy.apc.com/commerce/storefronts/etail/default.aspx?storefrontcode=apcfs& countrycode=us&tsk=F841U&pc=18349&keycode=f841u&promocode=18349&promo_key=18349
    When there is a Power outage no matter what the source. can also create tremendous Power Surges. This can happen when the electricity is turned back on and can cause frying all of your Electrical Appliances.
    Having an APC will save all of your Computer Equipment including your Modem, Router, Printers, Scanner, Computer, as well as Phone lines.
    A simple Surge Protector simply isn't enough protection and especially the cheaper models.
    Here is the simple way to check and see if your equipment is still operable.
    Turn your Computer clear OFF and pull the Power Plug
    Pull the Power from both your Modem and your Router.
    Wait a minimum of 5 minutes. After the 5 minutes Plug in your Modem and wait a minimum of 3 minutes.
    Now plug in your Router and again you must wait 3 to 4 minutes.
    Now you can plug in your computer and restart it and don't touch anything.  If your computer starts up then you got lucky If not you will probably need to take it to the genious bar at your closest Apple Store. Chances are that your computer has components that have been fried from the power surge. Good Luck and hope your computer restarts.

  • Check Writer Hangs after 10G database upgrade

    Hi Gurus,
    Can anybody let me know how i can trace check writer concurrent process.
    It seems to hang after we upgraded the database to 10g version.
    Thanks,
    S.

    The log file shows
    /u31/oracle/fimsprodappl/pay/11.5.0/bin/PYUGEN
    Program was terminated by signal 11
    Should i do some thing with PYUGEN (rebuild/relink) after 10G database upgrade.
    We are on HP-UX 11 (PA-RISC) 64 bit.
    S

  • Network hangs after streaming music for a few minutes

    I have a strange network problem when I stream iTunes music from my MacBook Pro, via an Airport Extreme base station to an Airport Express with speakers connected. The MacBook and Airport Extreme both have a wireless connection to the base station.
    After the music has been streaming for a few minutes, it is no longer possible to access the internet or local network from the MacBook (e.g. with Safari, Mail). Even a ping to my router fails to respond. However, the music continues to play over the remote speakers all the time, so there is apparently a network connection to the base station.
    Simply stopping iTunes does not fix the problem, but if I turn the Airport connection off and on again on the MacBook, the network comes back to life for a few more minutes. I can access the Internet via the Airport Extreme using my iPod Touch, so the base station must still be working. When I am not using iTunes streaming, the network is fine.
    I tried replacing the Airport Extreme by another Airport Express, so that I had an Airport Express as the base station and another Airport Express connected to the speakers. The problem no longer occurred, even though the Airport Express and Airport Extreme had the same firmware version (7.4.1) and were configured with all the same settings. This leads me to think the problem is with the Airport Extreme.
    I also tried connecting the MacBook to the Airport Extreme using an Ethernet cable, instead of the wireless connection. With this configuration, the problem did not occur.
    Any help would be appreciated.

    I have the exact same problem. My entire computer stalls for a while until the music comes back. I've tried streaming the music through Airfoil instead of through iTunes but the same problem occurs, although it seems to be less frequent through Airfoil.

  • After running KDE for some time, it will stop suspending on lid close

    I can use KDE for a day or two and it will behave just fine, but inevitably, after some time, it will stop going to sleep when I close the lid or after my 15 minute timeout that I have set up in the power manager thing.
    A reboot will fix it for a while. This does not happen in Xfce or Gnome. Hitting the suspend button works.
    There are about 10,000 things that could affect suspending, so I'm just wondering if anyone else has had a similar problem?

    I can use KDE for a day or two and it will behave just fine, but inevitably, after some time, it will stop going to sleep when I close the lid or after my 15 minute timeout that I have set up in the power manager thing.
    A reboot will fix it for a while. This does not happen in Xfce or Gnome. Hitting the suspend button works.
    There are about 10,000 things that could affect suspending, so I'm just wondering if anyone else has had a similar problem?

Maybe you are looking for

  • Itunes wont load error message appcrash?

    Thank you in advance. windows 7 home premium. Itunes decided to not load a few days ago. I used the windows dialog box to look for a solution online and then close program. It came back with there is an update to the program and that should fix your

  • How do I print to PDF in safari for iOS?

    When I shop on my MacBook, I like to save my receipts as a PDF. This way I can easily search and consult them later, and don't have to go to the trouble of physically printing and filing them.  How do I do this when I make the purchases in Safari on

  • Hp officejet pro 8500 wireless

    hi, i have hp officejet pro 8500 wireless installed in my laptop and i want to install it in my new laptop but i lost my cd installer, how can i have a driver for this?

  • RED smart cover for new iPad

    Hi guys, Does RED leather smart cover available outside US? Perhaps Singapore? Thanks before :)

  • Deploying Stateful Session Bean

    hi! I've got a problem when deploying a Stateful SessionBean. It worked well for about 1 week. I changed a little thing in the BeanClass, and afterwards only got deployment errors. taking back the changes had no effect. Furthermor the Error seems to