GPIB locks up after about 15 minutes with a VISA Write Timeout Error

I am using GPIB to control two electronic loads.  After about 15 minutes of runtime on the program, the GPIB communication locks up.  A probe reveals an error message about a Visa Write Timeout.  When this occurs, I have to stop the program, cycle the power on the two loads, and then restart the LabView program. When addressing the loads, I use the same routine every time.  1) Initialize communication, 2) Send command/request, 3) Close communication.  I thought I might have been overloading the GPIB bus, so that's when I added the close command after each sequence. However, it didn't seem to make a difference.  Could there be a compatability issue with the GPIB of the loads and the NI GPIB or Windows version? (I'm using XP and LV 10)  The electronic loads are older models, so I'm not sure how that impacts this scenario.

Hi kcarbon80, 
As this thread is over 2 years old, I do not know what solution was found for the previous problem being addressed, if any. However, if the device is locking up in the middle of your program, you may want to try clearing the device programmatically using the DevClear.vi that comes with the NI 488.2 driver. 
I hope this helps. 
Best Regards,
Thomas B.
National Instruments
Applications Engineer

Similar Messages

  • I just went to the new Lion OS from Leopard OS, and when I'm on the internet, it locks up after about 5 or 10 minutes. WhY?

    I just went to the new Lion OS from Leopard OS, and when I'm on the internet, it locks up after about 5 or 10 minutes. WhY?

    From Leopard or Snow Leopard? If the former then I suggest you erase the drive and reinstall Lion:
    Install or Reinstall Lion from Scratch
    If possible backup your files to an external drive or second internal 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.
    Erase the hard drive:
    Select Disk Utility from the main menu and click on the Continue button.
    After DU loads select your startup volume (usually Macintosh HD) from the left side list. Click on the Erase tab in the DU main window.
    Set the format type to Mac OS Extended (Journaled.) Click on the Erase button and wait until the process has completed.
    Quit DU and return to the main menu.
    Reinstall Lion: Select Reinstall Lion and click on the Install button.
    Note: You can also re-download the Lion installer by opening the App Store application. Hold down the OPTION key and click on the Purchases icon in the toolbar. You should now see an active Install button to the right of your Lion purchase entry. There are situations in which this will not work. For example, if you are already booted into the Lion you originally purchased with your Apple ID or if an instance of the Lion installer is located anywhere on your computer.
    Be sure to run Software Update for any additional updates.

  • Windows 8.1 keeps locking up after about 1hr of use.

    For the past two days, my computer locks up after about an hour of use. It doesn't always freeze, sometimes it just moves incredibly slow. Every thing I try to click takes at least 5-10 minutes to load. My computerr is ASUS r500v, intel core i7,8gb memory,
    1tb hdd.
    At first, the computer would freeze in Google Chrome saying "waiting for cache" and after  cleaning cache and trouble shooting for hours, I decided to uninstall google chrome. I am now using firefox. I try to run virus scans, but  my
    computer won't work long enough for that. When I do run one though, it gets 4 issues (i've cleaned two of them)
    Ran "sfc /scannow" and it told me that it fixed some but not all of the issues. then ran "dism /startcomponentcleanup  successfully. ran dism /restorehealth and it said "could not download source files"
    Can anyone help me?

    Hi,
    For Windows 8.1 freezes, have we checked this KB article?
    Windows 8.1, Windows 8 or Windows 7 hangs or freezes
    For the dism repair, please refer this KB article, if we have an install disk available:
    Fix Windows corruption errors by using the DISM or System Update Readiness tool
    DISM.exe /Online /Cleanup-image /Restorehealth
    Important When you run this command, DISM uses Windows Update to provide the files that are required to fix corruptions. However, if your Windows Update client is already broken, use a running Windows installation as the repair source, or
    use a Windows side-by-side folder from a network share or from a removable media, such as the Windows DVD, as the source of the files. To do this, run the following command instead:
    DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:\RepairSource\Windows /LimitAccess
    Note Replace the C:\RepairSource\Windows placeholder with the location of your repair source. For more information about using the DISM tool to repair Windows, reference
    Repair a Windows Image
    Please follow the steps listed in the KB article.
    Best regards
    Michael Shao
    TechNet Community Support

  • Zen Sleek Photo Freezes/Locks Up after about 5 minutes usage (need to drain battery to recov

    Hi,
    My 20G Zen Sleek Photo has just recently transformed itself into a useless brick.
    No matter what I try and do, it always ends up freezing after about 5 minutes usage. When you force a reset it does unlock but when it comes back on it sticks on the Creative "copyright" start up screen.
    I've reformatted and re-installed the firmware several times but with the same result.
    font face="comic sans ms,sans-serif">
    The only time it totally unlocks is when you either:
    () let the battery fully drain and then recharge it or
    (2) you disconnect the battery lead and then press the On/Off switch for several minutes.
    I've looked everywhere for a solution/reason but nothing. You find plenty of people with the same problem but no answers. Surely someone knows how to fix the problem
    Is it a faulty battery (unlikely because mine charges up fine and holds it charge well)
    Is it the hard dri've (very unlikely since the player can start up correctly [given the above recovery procedure] and play tracks within the 5-0 minutes you have available)
    Is it the firmware (I doubt it, I can't see what the firmware's got to do with a delayed lock up, having worked fine up to that point)
    Is it the motherboard (maybe....., to my mind it points to a component failure that allows an electric charge to build up and not dissipate, the only way to discharge it is to short the battery pins [with, I hasten to add, the battery removed!])
    font face="comic sans ms,sans-serif">
    Has anyone within the Creative community successfully solved this problem Has anyone received a decent answer from Creative
    I find it staggering that the guys at Creative have washed their hands of this problem. They, after all, are the most likely people to identify the problem - only they have a schematic of the motherboard that would allow them to investigate and locate the problem.
    For the record the firmware I'm using is v .0.0.
    Any guidance would be much appreciated,
    Victor

    Is there really no one with an answer to this problem or have I overlooked a previous post that explained the fault.
    BR
    Victor

  • Multicam keeps locking up after 12 minutes of perfection!

    I'm having the weirdest problem with FCP's new multicam feature which I can't figure out if its a hardware limitation or a software problem.....
    I've got 3 angles captured via OfflineRT, and I'm editing as if trying to make a "live" switch of the footage. For the first 12 minutes, it worked PERFECTLY. I was shocked and excited at how smooth my little project was coming together. Each edit being made exactly where I wanted it to. Happiness seemed inevitable.
    Until I reach the 12 minutes point....
    After that, it keeps locking up. The program doesn't crash, but it refuses to play. I get 5 seconds of video, then the spinning beach ball for 50 seconds. No edits recorded. No nothing. It brings my system to a screeching halt until I shut down and restart, only to continue once again after I open FCP.
    What the heck is going on? It was working perfectly, then just - stopped, and hasn't sense. I've lowered playback resolution to 25%, changed everything to work at the lowest rate possible - I've done everything and anything to help free up memory. Nothing works. I delete all of my previous edits off the Multicam Timeline. No go. Absolutely nothing seems to make a difference... and I don't know what the heck to do!
    I'm running on a PowerBook G4 867, 1.12 Gigs of RAM. I know it's slow, but I've cut two feature films on this thing with no problems until now. I almost want to believe the hardware is just getting too old for FCP5.... but why would it work for 12 minutes then just stop?
    Any help would be much appreciated!!

    Hey Patrick! Thanks for writing back so fast.
    1. It's after 12 minutes in the timeline.... that's when all the trouble started. Of course, at this point, it won't even work at all. Stops playing at the exact same place every time.
    2. Activity Monitor says only 16% of the CPU is being used by FCP, and 692 megs of RAM is being used overall. Doesn't seem to be maxxing out....
    3. The file size of the project is huge.... which sort of baffles me. 9.2 megs. Features I've edited have smaller project sizes than that, with 5 times the amount of edits. What the heck is going on???

  • How to stop computer from going to lock screen after 15 minutes (Windows 8.1)

    My laptop was going to lockscreen after 15 minutes. I adjusted power settings and went to advanced screen, adjusted that and ......no change.  Now somebody somewhere said that my system settings were overriding my power settings and that helped. I
    did this and things were fixed. But now, it's gone back to 15 minute thing, which is a pain when I'm watching, say, a movie. And, I don't remember what I did before to fix it, and I can't find the information anywhere!  Help!!!

    Hi,
    Seems we all missed an important option:
    Please click "Settings" in the right charm bar, then "Change PC Settings"\"PC and device"\"Lock Screen",
    Turn off "When my PC is inactive, show the lock screen instead of turning off the screen"
    You can change the inactive time with security policy:
    Click Control Panel> Administrative Tools> Local Security Policy> Local Policies> Security Options> Interactive Logon: Machine Inactivity Limit>set the time you want.
    After you change the policy setting, run gpupdate /force
    Yolanda Zhu
    TechNet Community Support

  • FCP locks up after about 1.5 to 2 hours of work

    I've been working on a project where FCP just decides to lock up and freezes after about 90 minutes of working. I get nothing out of it. In fact to get the program to quit and restart I have to do a hard shut down because a system shut down or restart doesn't do anything. Any ideas?
    Powemac G5 Dual 2.5 Mac OS X (10.4.8) 2.5GB RAM

    Since the stats of your Mac look robust and up-to-date, I think you should check your hard drives. Some important considerations:
    -Is your video scratch disk the same hard drive as your internal (Mac OS) hard drive?
    -Are any of your hard drives over 90% full?
    Avoid such situations. The easiest way to do so would be inexpensive external FireWire drives.
    Also, does any particular command or process, such as 'exporting a movie' or 'printing to video' precede the lock up and freeze of your system?

  • TS1424 When I try to watch a rented movie from ITUNES ver 11 on my WIN 7 64 bit PC...the movie starts then after about 30 seconds I receive the following error "Itunes has stopped working"

    I downloaded and rented a movie from ITUNES ver 11. I'm able to run the movie but after about 30 seconds I receive an error.
    "Itunes has stopped working" A problem cause the program to stop working correctly. Windows will close the program and notify you if a solution is available.
    Windows offers me to down load ITUNES WIN 7 64 bit, I have uninstalled and reinstalled the 64 bit version...no joy... I have run the repair option and still nothing.. Any suggestions???
    Regards, Steve Tipton

    I'm expreriencing the same conditions with the same environment.  Windows 8, iTunes-64 11.1.2.32, iTunes Store with a processing bar up to 80 +/- and the POPUP MESSAGE OF "iTunes stopped working. The error ...."
    I UNINSTALLED, iTUNES WITH NO POSITIVE RESULT.  I CHECKED THE FIREWALL AND IS THE SAME DEFINITION AS THE PREVIOUS ITUNES VERSION.
    My iTunes StoreS from my iPhones ARE OK.
    I'm spending a lot of time of research for WINDOW'S iTUNE with no solutions.... 

  • After Effects CS6 with ATI HD 6870 OpenGL errors

    After Effects won't start and comes back with OpenGL and gpu sniffer errors.
    Happened on my Windows 7 x64 and now on a fresh install of Windows 8 x64, all drivers are up to date as of 12/22/2012.

    Try an older version of catalyst. Resident AMD/ ATI expert Noel Carboni over at the PS forum still recommends 10.8... At least on Win 7 this shoulod work.
    Mylenium

  • VISA READ timeout error - multiple GPIB resources

    Hi,
    I am working on a 3 instruments GPIB network (optical attenuator, fiber amplifier, spectrum analyzer), controlled using VISA sessions in Labview. When run separately, the three corresponding VIs (which are located in three different Labview projects) work as expected. However, when they are ran simultaneously, one of them gives VISA READ -1073807339 timeout errors. These errors seem to happen when an other instrument is sending / receiving data / instructions at the same time as it is.
    The exact context for these error is either :
      -  an other VI is running, which includes sending several queries and reading the answers every 100 ms,
      - upon starting the failing VI, I get a  timeout error from one of the first subVI containing a VISA READ operation to be executed (sometimes initialize.vi (in state 1), sometimes one of the subVIs ran from the Idle state (state 0) upon timeout of the event structure).
    or :
      - the failing VI is running,
      - upon starting an other VI, which includes repetitively sending queries and reading answers, the failing VI throws an error from one of the first subVI containing a VISA READ operation to be executed (one of the subVIs ran from the Idle state (state 0) upon timeout of the event structure).
    What I tried :
      -  gradually increasing the delay between the VISA WRITE and READ operations for the relevant instrument (from 10 ms to 10s), to no avail. More puzzling is my obseration that, when this VI is run alone, increasing the WRITE / READ delay leads to the same timeout errors. I could not find any mention of such behavior through google and forum searches. Hopefully this can point to a solution to the main issue,
      - switching between synchronous and asynchronous VISA WRITE / READ operations,
      - reordering the GPIB network from a star topology to a linear topology (all three instruments do have different GPIB addresses in case anyone wonders).
    My thoughts :
    It seems to me that the error is related to a delay introduced between a VISA query and its associated read operation by the transmission of another query to another instrument in the same GPIB network. However I have no idea why transmitting a query to another instrument would introduce such a delay, or why this delay would lead to a timeout error (and only from one instrument, while the write / read VIs in each driver are basically the same). Hopefully a more experienced Labview-er will be able to shed some light on my issue.
    Included is the project containing the failing VI (main.vi) and the custom driver it makes use of. 
    Solved!
    Go to Solution.
    Attachments:
    Manlight EDFA Control - Failing VI.zip ‏73 KB
    EXFO FVA 3150 - Driver.zip ‏348 KB

    Thank you for your input crossrulz. This is indeed what I realized while looking into semaphores.
    Let me first make our architecture clear so that I'm 100% certain we are talking about the same thing. We have a NI GPIB-USB-HS GPIB Controller connected to a linear GPIB network of three instruments. I was convinced that a network allowing up to 15 instruments to be connected at the same time would allow for parallel operation, but it seems I was mistaken.
    I like how semaphores work, and I don't see any obstacle to gathering all these VIs into one project. My conception of a Labview project was that one Labview project was intended to gather subVIs, libraries and controls used in a more complex "main" VI, which would ultimately be made into a single standalone executable. It seems I was mistaken too and that a single Labview project should be used to gather several standalone VIs designed to work together, and their subVIs. Hopefully I got it right now.
    The other option that you suggest for accessing the same GPIB bus from different projects (having a TCP control interface running and controlling communications through the bus) might indeed be a bit overkill for what I'm tring to achieve, and I would need to spend too much time learning and developing it.
    A last option I looked into is the VISA Lock Async VI, but I don't understand yet if 1. locking the VISA session for an instrument in the bus would lock the entire bus ; 2. if it would be possible to use this approach with VIs running in different projects and 3. if it would not just yield errors when one VI is trying to access the locked GPIB bus instead of making it wait until the resource is available.
    I'll look further into these options today, but would appreciate any additional information / advice you might have. Thank you.

  • After installing itunes 7 my it locks up after a minutes

    After installing new Itunes Verson 7 my computer locks up only if I am using Itunes and no nothing else. I tried deleting the program and reinstalling with the sames esults. Can I fix it or how can i go back to ver 6?

    Do you have the cover on your ipad? If so you may need to go into settings>General and turn on lock/ unlock so that it goes into standby when cover is closed. Not sure this is your problem but it was why my battery didn't last long. As far as long charge time goes I have noticed it is taking longer to charge also. Hope they fix some of these bugs in the first update.

  • G700 locks up after about an hour

    I bought the G700 a couple months ago. Windows 8 was installed already. After I did the update to 8.1 I began to have issues immediately. First off, I lost the use of many of my desktop apps...many of the Lenevo ones. Even though it is very irritating I can live with that, but the thing that is bugging me so much is how my laptop will just freeze up and I have to do a hard boot. Sometimes I have to do the restore feature. Usually the laptop will freeze up in about an hour, and sometimes less.
    The only device I have installed is the wireless Logitec M325 mouse. I thought at first that perhaps this was the issue. I uninstalled it and used only the touchpad. This made no difference at all.
    I want to install Win 7 on here but at least for a few months that is not going to happen. So in the meantime...any suggestions would be SO very much appreciated!
    CrimsonFire

    hi CrimsonFire1959,
    Welcome to Lenovo Community Forums!
    It might have been some Application / Services and or Programs that got affected by the update.
    You can try performing a clean boot in the meanwhile and check if the performance will be back to what it was before.
    http://support.microsoft.com/kb/929135
    Regards
    Solid Cruver
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • FF 18.0.1 constant disk activity after 1 minute with no tabs open

    FF 18.0.1 on Windows XP SP3.
    Within 1 minute of starting FF I observe constant and excessive disk activity.
    I am unable to use any other applications due to the response time.
    I have closed all tabs and disabled all plugins.
    I have just started a FF "reset to factory default", but pop-up window for "Please wait while Firefox cleans up your old data" has been running for 15 minutes.
    Any ideas?

    It sounds like you've got some other problems on your computer as well.
    Restart your PC, then try the steps at http://www.microsoft.com/atwork/maintenance/speed.aspx#fbid=6pXkdz7T_94 to try to clean your computer up.
    After that, Try to reset Firefox again.

  • Airplay drops after 1 minute with pioneer receiver

    My iPad connects to my airplay enabled receiver pioneer. Connects and plays for about 1 minute then it drops and reverts back to the iPad.  All firmware is up to date
    The pioneer tab disappears from the airplay screen as a source then comes back.

    Do a reset (Hold Sleep/Wake and Home buttons about 10 secs or more till Apple logo appears, ignore the Slide to Power Off that appears)
    Note: You will not lose any data.

  • VPN disconnect after 1 minute with INTEL 10.4.5 to SERVER 10.4.6?

    any clue?

    I've had simliar issues with VPN dropping connections, not exactly the same set up. However, always resolved by dropping the MTU size in advanced Ethernet set up on the client to custom at 1303. If it still doesn't work try this on your server too.

Maybe you are looking for

  • How can I remove an old pc registered to my itunes account/

    I am just syncing my ipod with my new laptop and want to transfer purchases to my new laptop but it says that I have too many computers linked to my itunes account. My husband and 2 children have their pcs linked to it and now I want to add my new on

  • Why does Cmd+\ stop working?

    I've been having trouble where a keyboard shortcut in an app - Cmd+\ - gets not response. Or rather it does work on first booting but at some point it stops working. The first thought was another app was grabbing the shortcut association, but I can't

  • Business partner repository

    Hello i am looking for the Business partner standard respository layout and content, Please let me know where i can find it Thank you Nadine

  • Cannot access SSIS in my virtual machine

    Hi, I was trying to connect remote machine integration service using my local SSMS ( from my virtual machine ) but cannot connect. I added my windows account (used in VM for login) in that remote machine. [Remote machine runs SQL SERVER 2005] [My VM

  • App that will play slideshow from computer continuously on smart TV?

    I have a slideshow that I would like to play on the TV in the lobby of my store. Is there an app that I can run from the back of house PC over wifi that will allow for a continuous loop of my slideshow? Initially, I made the slideshow on Keynote and