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/

Similar Messages

  • Why does VISA write vi get a clock symbol added?

    In an application, I was using the older serial I/O primitive vi's, and now that I've switched to LV 7.1, I wanted to change the older serial read and write (worked fine) vi's (not VISAs) to the VISA Read and Write. When I place a VISA write on the block diagram, it adds a little clock symbol at the upper right corner that was not on the templates.
    What is this clock symbol doing there, when it wasn't on the functions panel version of the VISA write vi?
    Having a lot of problems getting the VISA read and write vi's to work; they seem to be far more tricky than the old primitive serial read and write vi's.
    All my VISA read vi's are getting errors, and some of them cause a severe slowdown on execution with those er
    rors. Thoughts on debugging these problemsome VISA vi's. (These problems are why I used the primitive serial read and write vi's in the first place.. couldn't get the VISA vis to work.)
    Thx.

    The little clock symbol means to do I/O asynchronously. If you right click on the function, you'll see the option to do it synchronously. Select that and the clock will disappear.
    What exactly are the errors that you're getting? One thing to try is to disable termination character detection with VISA Configure Serial Port and use VISA Bytes at Serial Port to determine how many bytes to read. If you have enabled the termination character and specify too many bytes to read, you'll get an error because VISA Read will timeout waiting for the termination character to be detected.

  • Why does firefox 4 hang in some websites, during browsing on that site ? This never happened with previous editions.

    why does firefox 4 hang in some websites, during browsing on that site ? This never happened with previous editions. edit
    Details

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    Create a new profile as a test to check if your current profile is causing the problems.<br />
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting&#58; Make a new profile]]<br />
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"<br />
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Why does my iPad hang when writing an email?  When I'm done with the email, I can't send it out and have to re-boot the iPad.

    Why does my iPad hang when writing an email?  When I'm done with the email, I can't send it out and have to re-boot the iPad. This happens if the time to compose email exceeds 10 to 15 minutes.

    Shut down all programs that are running in the background.
    1. Double-click the Home button to see Apps in background
    2. Hold the Apps down for a second or two until you see the minus sign
    3. Tap the minus sign to close program
    4. Reset iPad. Hold the Sleep and Home button down for about 10 second until you see the Apple logo
    Suggest you perform Step 1 to 3 at the end of every day.

  • 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

  • Why does my iTunes hang every time when using automatic device detect?

    Why does my iTunes hang every time that I connect either of my devices (iTouch-4th Gen, iPod Nano-5th Gen), to my Win 7 (64-bit) PC desktop?  By the way, this does not happen if I open iTunes first, and then connect the device.  So my workaround was to simply uncheck the checkbox that allows iTunes to start automatically upon device connection.  This doesn't fix the problem, but it allows me to synch my device, but it would be nice to be able to have the autodetect work properly, so that iTunes would start normally without locking up on me and freezing. That's what I mean by 'hanging'.  My whole computer doesn't freeze--only iTunes.

    Hello E
    Start with finding the path where the songs are on your PC by right clicking the songs that are missing in iTunes and click Get Info. You should get a window that pops up and in the Summary tab; the path will be there. Then navigate to where it was and see if the files exist. Other than that you can try to search your computer to find those files. Checkout the articles below for tips on finding the missing music, also if some of the tracks are downloaded from the iTunes Store you can download the tracks again by deleting the missing tracks from iTunes and then navigating to the purchases section in the iTunes Store to download them again.
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    Download past purchases
    http://support.apple.com/kb/HT2519
    Regards,
    -Norm G.

  • Why does my system hang on a blank software update screen after I shut down?

    Why does my system hang on a blank software update screen after I shut down the computer?
    This only happened after my computer attempted to download security update 2013-003 version 1.
    I have an iMac with a 2.16 GHz Intel Core 2 Duo running on OSX 10.7.5.
    I repaired all disk permission, and then verified and fixed the disk.
    My hardware diagnostics program gave all systems a green light.
    After all this, the system still hangs.
    This must be an operating system glitch.
    How do I fix it?
    If you tell me to reload the operating system, then I'll have to go retro with Snow Leopard.
    All subsequent updates were purchased from Apple on the Internet and downloaded.

    Cineast wrote:
    If you tell me to reload the operating system, then I'll have to go retro with Snow Leopard.
    All subsequent updates were purchased from Apple on the Internet and downloaded.
    Not so. You use the recovery mode to reinstall Lion. Details in Recovery and About OS X Recovery. Also, see Computers using Internet Recovery.

  • HT4550 Why does my Safari open with American version and home page with Apple iPhone 5 advert even though I have changed them in preference

    Why does my Safari open with American version, and home page with Apple iPhone 5 advert even though I have changed them in preferences, it happens every time no matter how many times I change them, when I open Safari its back to the USA and Apple home page.

    Try this.
    Hold the shift key down and launch Safari.
    Best.

  • Error when trying to set up OPC I/O server with LabView 2009

    Hi.I get an error when I try to set up OPC I/O server with LabView 2009 and the DSC module. If I open an empty project, right click ”My Computer”. Select new / I/O Server… and then OPC Client, the following error appears: Unable to browse OPC Server from the selected machine.Error -2147467262 occurred at GetOPCServerList.viPossible reason(s):LabVIEW: (Hex 0x80004002) No such interface supported.  I have tried to repair LabView, but with no luck. Any idea what it could be?

    The problems are not related to each otherOk then. Lets try getting this solved. Lemme dig......

  • Why does DataOutputStream write Boolean as 1 Byte?

    Im trying to conserve space in a file storing booleans.
    why does dataoutputstream write booleans as a byte?
    is there a way to write a bit only?
    thanks!

    Hi,
    A boolean does even allocate at least 8 bits when it is declared in the code.
    From the VM spec:
    "3.2.4 There Is No boolean Type
    Although Java defines a boolean type, the Java Virtual Machine does not
    have instructions dedicated to operations on boolean values. Instead, a
    Java expression that operates on boolean values is compiled to use the int
    data type to represent boolean variables.
    Although the Java Virtual Machine has support for the creation of arrays of
    type boolean (see the description of the newarray instruction), it does not
    have dedicated support for accessing and modifying elements of boolean
    arrays. Arrays of type boolean are accessed and modified using the byte
    array instructions.1
    For more information on the treatment of boolean values in the Java Virtual
    Machine, see Chapter 7, "Compiling for the Java Virtual Machine.""http://java.sun.com/docs/books/vmspec/html/Overview.doc.html#22909
    /Kaj

  • When I send a link why does my hotmail open with ie

    When I send a link why does my hotmail open with ie
    == This happened ==
    Every time Firefox opened

    Because Apple doesn't allow iTunes Store credit to be spent on any sort of gift. They haven't said why.
    (99308)

  • Why does Firefox keep hanging, crashing, sulking, dying when internet connection behaves?

    Why does Firefox keep hanging, crashing, sulking, dying when internet connection behaves? Once it renders the page it should forget about the page. Why does it behave when some link is clicked when there is no internet? It should just say internet not available or some crap. Why die, sulk, crash?? I don't get it! 3 series was much much much better!

    I should add, I've re-downloaded Firefox, but that doesn't look like it has helped any. Still get seemingly inexplicable crashes.

  • Why does a VRRP master with preemption disabled regain master state after the reboot ?

    Q: Why does a VRRP master with preemption disabled regain master state after the reboot?
    A: This issue is found in the following scenarios:
    1. When spanning tree is disabled on either of the VRRP controllers but enabled on upstream switch(es).
    2. When the controller(any one VRRP controller) and upstream device(s) run different versions of STP.
    3. STP convergence time is different across the VRRP controllers.
    In these scenarios, rebooted vrrp master is expected to come back as vrrp MASTER as the link takes some time to converge and fail to receive VRRP advertisement packets from its peer and may roll back to MASTER.
    Trigger for this is, since STP is enabled on intermediate switch and disabled on controller, switch is taking some time ~30 secs to converge the link while port on the controller has become UP and fail-over to Master due to 
    not receiving VRRP advertisement packets
    In all these cases, it is advised to enable holdtime to mitigate issue. Holdtime has been introduced to tackle this issue in the "preemption disabled scenario".
    Configuration via CLI:
    (controller) (config) #vrrp <id>
    (controller) (config-vrrp)#holdtime
    Description:
    The VRRP virtual router does not begin listening to advertisements until the holdtime expires. If your deployment includes a VRRP master with preemption disabled and an uplink switch is running RSTP, a higher value will prevent the VRRP master from regaining the master state after it reboots.
    Range: 30 - 120 seconds
    Default: 45 seconds

    Hey Jim,
    Thanks for the follow-up.  Here are some more details:
    OS - 10.8.2
    FCP X - 10.0.7
    I can't update either of these because of my Avid installation.
    Something else I didn't mention – this happens in a 4K project.  Notice how a default Zoom title looks:
    Lines 1 and 2 are almost stacked on top of each other.
    Here's my title style:
    Here's what the title looks after I apply the title style, modify Line 1, and remove the contents of Line 2:
    And here's how it looks in the exported master file MOV:
    Notice how it's pushed down?
    Then I decided to make a 720p project.  No more title problems.
    So if you have some 4K footage, Jim, give it a go.  Or if there's another 4K-er out there, try this and let me know.
    Thanks!

  • Why does Siri keeps talking with every action I take on the iphone?

    Why does Siri keeps talking with every action I take on the iphone?

    Settings > General > Accessibility > Speak Selection > switch off here

  • Why does itunes get locked with last update after clicking on search button ?

    Why does itunes get locked with last update after clicking on search button ?

    Why does itunes get locked with last update after clicking on search button ?

Maybe you are looking for

  • How do I prevent my Samsung Galaxy S5 from checking my e-mail when I use a public Wi-Fi hotspot?

    I have a Samsung Galaxy S5 phone, and would like to find out how to suppress the regular checking of e-mail when my phone connects via unencrypted Wi-Fi (in such places as libraries or restaurants). When the phone was first set up in-store, there was

  • How to make IR use formated values in

    Hi all, I am trying to format some values in my Interactive Report, expecting they will appear as column filter value as well. For instance: In my sql I have: , case when ACTIVE_FLAG= 'Y' then '<span style="color:green;font-weight:bold;">Active</span

  • Our Company data missed in SAP IDES system

    Hi friends, In our SAP IDES ECC 6.0 EHP 5 system some data had missed(some plants had missed) in 800 client, I checked 000 client here also no data..we don't have any backup. If I download the IDES from market place, then is it possible to get entire

  • How can I erase music fron the ipad?

    Somebody can help me to erase music from the ipad???????

  • Pass Value by Form Based on Procedure in Target Frame

    I made a form based on procedure and trying to pass all variables to a target frame called "dest2". I got the sample code on this forum and used window.location, but then I figured it can't pass values to another frame. I tried window.open, but can't