How can a I solve and GPIB/VISA compatibility problem?

My Labview (version 5.1 on a Macintosh) application talks to a variety of instruments over GPIB. In one mode it communicates with both 1) a LakeShore 340 temperature controler (LS340) using VISA-based drivers and 2) a Linear Research LR-700 AC resistance bridge using low-level GPIB functions. My application can query these instruments a couple of times per second, usually without trouble. However, periodically (about once an hour) the GPIB Read will cease to work with the LR700 or any of the other instruments on the same bus, returning error 6 (I/O operation aborted). GPIB Write still works fine. Querying the LS340 when the system is in this state produces the VISA error Hex 0xBFFF003C (Insufficient system reso
urces to perform necssary memory allocation). Querying the LS340 a second time is successful, and thereafter GPIB Reads are also successful.
I think somehow the GPIB and VISA protocols are interfering with each other. (Although the data dependency requires that the VISA Write/Read be complete before the GPIB Write/Read begins, I am not opening/closing the VISA session with every iteration. The VISA session is opened on the first iteration and stored in a shift register.) However, the maddening infrequency of this problem makes it very difficult to troubleshoot. Any suggestions?

Hi Chris,
One suggestion;
Write two seperate test routines that each use only one method or the other.
Test the H*&#$ out of each to attempt to determine if the issue is associated with the high level or the the low.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • How can I solve a GPIB/VISA compatibility problem?

    My Labview (version 5.1 on a Macintosh) application talks to a variety of instruments over GPIB. In one mode it communicates with both 1) a LakeShore 340 temperature controler (LS340) using VISA-based drivers and 2) a Linear Research LR-700 AC resistance bridge using low-level GPIB functions. My application can query these instruments a couple of times per second, usually without trouble. However, periodically (about once an hour) the GPIB Read will cease to work with the LR700 or any of the other instruments on the same bus, returning error 6 (I/O operation aborted). GPIB Write still works fine. Querying the LS340 when the system is in this state produces the VISA error Hex 0xBFFF003C (Insufficient system resource
    s to perform necssary memory allocation). Querying the LS340 a second time is successful, and thereafter GPIB Reads are also successful.
    I think somehow the GPIB and VISA protocols are interfering with each other. (Although the data dependency requires that the VISA Write/Read be complete before the GPIB Write/Read begins, I am not opening/closing the VISA session with every iteration. The VISA session is opened on the first iteration and stored in a shift register.) However, the maddening infrequency of this problem makes it very difficult to troubleshoot. Any suggestions?

    Hi Dan,
    I'm trying to follow your suggestion, but I can't get the VISA upgrade to function. I downloaded the NI-VISA 2.6 full development installer, which recommends uninstalling the prior version first. I couldn't find a good way to do this (the documentation is no help), so I ended up just reinstalling the entire Labview 5.1 without the VISA package. But even this approach (I tried several others) doesn't work - when I run VISA commands from within Labview after the VISA 2.6 install, I get 'unknown system error'. Any suggestions?
    Chris

  • HT1560 console blinking amber and white alternatively. displaying the Apple TV console with a question mark on top of it. What is the problem and pls how can it be solved ?

    console blinking amber and white alternatively. displaying the Apple TV console with a question mark on top of it. What is the problem and pls how can it be solved ?

    That's hard to say.
    General File Recovery
    If you stop using the drive it's possible to recover deleted files that have not been overwritten by using recovery software such as MAC Data Recovery, Data Rescue II, File Salvage or TechTool Pro.  Each of the preceding come on bootable CDs to enable usage without risk of writing more data to the hard drive.  Two free alternatives are Disk Drill and TestDisk.  Look for them and demos at MacUpdate or CNET Downloads. Recovery software usually provide trial versions that enable you to determine if the software would help before actually paying for it. Beyond this or if the drive has completely failed, then you would need to send the drive to a recovery service which is very expensive.
    The longer the hard drive remains in use and data are written to it, the greater the risk your deleted files will be overwritten.
    Also visit The XLab FAQs and read the FAQ on Data Recovery.

  • My itunes cannot be update on my windows xp. so i delete my itunes and install new, but now i got new problems, it says "The file itune.library.itl cannot be read because it was created by newer version of itunes." so how can it be solved?

    my itunes cannot be update on my windows xp. so i delete my itunes and install new, but now i got new problems, it says "The file itune.library.itl cannot be read because it was created by newer version of itunes." so how can it be solved?

    Hello Bebyida,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    http://www.apple.com/itunes/download/
    Best of luck,
    Mario

  • I bought a new iphone 4s and I have a problem with the service. How can it be solved? the SIM card is new and was working perfect withe iPhone 4G

    I bought a new iphone 4s and I have a problem with the service. How can it be solved? the SIM card is new and was working perfect withe iPhone 4G

    Under the answer you want to mark as correct you should see a box that says Correct with a green symbol to the left and a box with Helpful with an orange star to the left. Click on the one you want.
    And thanks for thinking about that, it is appreciated.

  • After upgrading my iPad to iOS7, is lost the sound on my device. Is this a known problem and how can it be solved?

    After upgrading my iPad to iOS7, the sound is lost on my device. Is this a known problem en how can it be solved?

    The icon was moved to Control Center, swipe the screen up from the bottom.

  • HOW can I FIX Mavericks and Safari 7.0 to allow Gmail to work?  Gmail has been FUBAR'd since downloading Mavericks today.  Finally found the brute-force logout site to just getr logged out; can't keep doing that.  Other features no longer work, either.

    Made big mistake of downloading Mavericks today.
    Been struggling with all the FUBARd messes it caused, ALL DAY.
    Google basic buttons don't work--can't log out or other basic functions.
    Website use is impaired.
    It took almost 3 hours to do a basic online order on one of them--at this rate, I'll be out of business soon, and it's seriously impairing Christmas preparations!
    Google Voice/Video are screwed up, had to RE-download their voice/video plugin all over again--again.
    Voice/video quality is REALLY poor.
    Lag times in so many things are bad.
    Thought this would download WITH the better writing/bookkeeping programs--NOT!
    Mac Maps is piddle compaired with GoogleMaps.
    The Email program on the desktop is REALLY hard to use, has few useful functions.  It's MAYbe good if one only has ONE email; using it with severeal various email accounts is a serious liability in many ways--like filing, sorting, marking, etc.; no clear way to move email files to an external drive to save, to unload the HD.
    HOW can Safari and Mavericks be fixed?
    IF not, HOW can I REMOVE Mavericks and get back to Mountain Lion--which was not too great, but certainly more functional than Mavericks!
    I NEED my web-based emails to work--NOW...NOT when Mac finally gets around to fixing things sometime later.
    I NEED online ordering to work--NOW--not later when Mac finally gets around to fixing things.
    PLEASE someone--any help out there?  I couldn't even find but a rare hint that Safari 7.0 even exists--much less that anyone admits it's got problems, nor fixes for it.
    What to do?  Throw the whole unit out? Wipe and reboot?  Dumb it back to OS 10? HOW? WHAT?
    [freaking out here...]

    Zak Adelman, LexSchellings,
    It's a shiney new computer.  Came loaded with Mountain Lion.
    Too busy learning to use the blessed thing, to download anything....except...
    The only pluggin that had to be loaded, was Google Voice-Video pluggin, while Lion was still it's OS.  [AND been using the Safari that came already in it.]   Had to do that a couple times--nothing new there--that plug-in had to be re-loaded when using a PC, too--THAT happened even before Google slammed everyone into coerced use of it's Google+. 
        [I understood from others, that Firefox won't work in Mac units--or I woulda put that in it to see if that solved anything]
    This unit seemed a bit sluggish from the git-go, out-of-the-box. 
    I figured that was probly the local DSL here---rural DSL is...um...our DSL's not something to brag about, but it's the best we can do...
    The difference between speed of loading pages, etc. on the new Mac, was --not-- toooo terribly different--though yes, slower on Mac....and chalked it up to my inexperience with Mac. 
    Been trying to get things up and running for a bit over a month now.
    NOT doing very well at it--just barely getting by; rapidly falling behind what needs done [work]. 
    Google worked just --OK-- when OS was Lion, as did the Google voice/video--slower, and voice-video was kinda scratchy or glitchy, but worked enough to --get by--.
    Loading Mavericks, ruined that.  
    VOIP calls via Google talk have bad echio, static, cut-outs; video calling was pixilated or not working; WAS cued to re-load it's Voice-Video plug-in....which seemed to help a bit, though not very well; it only helped the Voice-Video some, not all--figured that was probably Google issues, less than Mac's, since Google has been increasingly dysfunctional as they have twisted it to be a social media-dominant thing.
    [[now seeking an email venue that does what Gmail was good at, including the Voice-video calling, that has no intention of turning itself inside out to be "social"]]
    Can't sign out of Gmail or Google+, nor use buttons in upper right corner with the drop-down menu.  
    NO buttons in upper right corner cluster on Gmail work, except the name+ button to toggle over to Google+---which I don't need! [yeah--THAT's a Google problem!] 
    Can only switch to HTML version by catching that button as the account signs in--if one fails to be fast enough with their fingers, it goes to Google+; can't get to email unless type in mail.google.com.
    Managed to catch that button today, and clicked to use HTML "permanently" until these issues get solved.
    ALSO:
    Have fairly new [about 1 year?] HP bluetooth printer-scanner. 
    BUT, after Mavericks loaded: it HAS the unit listed, HAS drivers for it, HP unit IS listed as default printer, everything --seems-- "go",
    .....except Mac keeps posting it's out of ink, and/or, not hooked up, and/or not turned on--even when it is on.
    It's SUPPOSED to be blue-toothing that printer/scanner.   
    It did it for Lion, before loading Mavericks, even though it was troublesome to get it to work, it at least HAD printed one document when Lion was the OS.  
    Thank you...Downloaded EtreCheck: 
    BTW:  Trying to copy/paste data from that check list, to this post, was achaic: 
    had to use Edit, select all, then use edit again to get it pasted--the mouse buttons weren't allowed to copy-paste using right-click functions [is this a relic limited-function "thing" with Mac?, or is it because I wanted to keep using this new wirless, non-Mac mouse?].
    Advice?
    See below...
    Hardware Information:          Mac mini (Late 2012)            Mac mini - model: Macmini6,1
                  1 2.5 GHz Intel Core i5 CPU: 2 cores;           8 GB RAM
    Additional:
       Monitor used = Visio flat screen. [not Mac]
       Keyboard = Logitech solar wireless [not Mac]
       Mouse = Logitech wireless
    Video Information:            Intel HD Graphics 4000 - VRAM: 1024 MB
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 1.9 - SDK 10.9
              AppleAVBAudio: Version: 2.0.0 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    System Software:
              OS X 10.9 (13A603) - Uptime: 2 days 19:33:25
    Disk Information:
              APPLE HDD ST500LM012 disk0 : (500.11 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) /: 499.25 GB (456.94 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
    USB Information:
              MediaTek Inc MT1806 
              Logitech Logitech USB Headset
              Logitech USB Receiver
              Apple Inc. BRCM20702 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple, Inc. IR Receiver
    FireWire Information:
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
    Problem System Launch Daemons:
    Problem System Launch Agents:
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist
              [loaded] com.google.keystone.daemon.plist
    Launch Agents:
              [loaded] com.google.keystone.agent.plist
              [loaded] com.hp.devicemonitor.plist
              [loaded] com.hp.messagecenter.launcher.plist
    User Launch Agents:
    User Login Items:
              iTunesHelper
              SpeechSynthesisServer
    3rd Party Preference Panes:
              Flash Player
    Internet Plug-ins::
              FlashPlayer-10.6: Version: 11.9.900.170 - SDK 10.6
              QuickTime Plugin: Version: 7.7.3
              Flash Player: Version: 11.9.900.170 - SDK 10.6
              Default Browser: Version: 537 - SDK 10.9
              o1dbrowserplugin: Version: 4.9.1.16010
          ======  npgtpo3dautoplugin: Version: 0.1.44.29 - SDK 10.5  ===[this was in red]=====
              googletalkbrowserplugin: Version: 4.9.1.16010
    Bad Fonts:
              None
    Old applications:
              HP Device Monitor:          Version: 2.7.0 - SDK 10.5
                        /Library/Printers/hp/hpio/HP Device Monitor.app
    Time Machine:
    ===      Time Machine not configured!  ===[this was in red]===
    Top Processes by CPU:
                   6%          WindowServer
                   4%          Safari
                   4%          SafariDAVClient
                   2%          EtreCheck
                   0%          com.apple.iCloudHelper
    Top Processes by Memory:
              303 MB          Mail
              270 MB          Safari    ======[this is version 7.0 ]======
              262 MB          mds_stores
              147 MB          softwareupdated
              147 MB          com.apple.IconServicesAgent
    Virtual Memory Statistics:
              1.77 GB          Free RAM
              2.85 GB          Active RAM
              2.36 GB          Inactive RAM
              1017 MB          Wired RAM
              4.64 GB          Page-ins
              111 MB          Page-outs

  • How can I compare more than two VIs at a same time in labview 2009

    How can I compare more than two VIs at the same time. I am an Lab Engineer I have to check assignments submitted by students and I want to know how many of them are copied from each other. Labview compare VI can only compare two VI at a time while I want to check about 30 VIs at same time.
    Regards,

    I'm not aware of a tool to compare multiple VIs.  If you don't find anything, consider posting this to the LabVIEW Idea Exchange to expose this idea directly to NI R&D.
    Thanks!
    - Greg J

  • I pre-ordered justin biebers new acoustic album and i presesed "pre-order" and now i can't find it and it is not on my ipod. How can i find it and download it to my ipod?

    I pre-order justin bieber's new album <justin bieber acoustic album> and i can't find it on my itunes or on my ipod. How can i find it and make it appear on my ipod and on my itunes on my laptop? please help! thanks

    I reset my iphone, and pandora was installed in the same folder I had it on my iphone 4.  Problem solved!

  • Installed CS6 all but Illustrator installed correctly, I received error DF024, DW063, and DW050, how can I install Illustrator and fix these errors?

    installed CS6 all but Illustrator installed correctly, I received error DF024, DW063, and DW050, how can I install Illustrator and fix these errors?
    this is the log error file I get:
    Exit Code: 6
    Please see specific errors and warnings below for troubleshooting. For example, ERROR: DF024, DW063 ...
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 4 error(s), 0 warning(s)
    ----------- Payload: {AAF0D225-F129-40F2-916E-12E28DBD19ED} Adobe Illustrator CS6 Core 16.0.0.0 -----------
    ERROR: DF024: Unable to preserve original file at "/Applications/Adobe Illustrator CS6/Adobe Illustrator.app/Contents/Frameworks/AdobeCrashReporter.framework/AdobeCrashReporter" (Seq 1649)
    ERROR: DW063: Command ARKDeleteFileCommand failed.(Seq 1649)
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050: - Adobe Illustrator CS6 Core_AdobeIllustrator16en_USLanguagePack: Install failed
    ERROR: DW050: - Adobe Illustrator CS6 Core: Failed due to Language Pack installation failure

    hold down shift-cmd-alt while starting ai.  if done correctly, you'll see a preferences reset prompt.
    if that fails, uninstall, clean and reinstall per Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • How can I separate Left and right audio channels in labview 8.5 tia sal22

    How can I separate Left and right audio channels in labview
    8.5 tia sal22
    Greetings All
    I have a working Labview vi that converts a math formula to an
    audio signal.  I would like to have the
    right and left audio channels playing different math audio signals is this
    possible?
    Example
    Right channel -> plays the audio signal created by a math
    formula
    Left channel -> plays the audio signal created by another
    math formula with adjustable phase control
    I’ve included a VI with a working audio and math formula but
    I’m not sure how to separate the left and right channels.
    I’m using labview 8.5
    I looked up a similar question on the
    support board and it said” use an instance of the the Sound Output Write that
    has a 1D waveform data type input (i.e.  Sound Output Write (DBL)). Each
    element in the array would correspond to a channel.”
    But I’m not exactly sure what he meant.  I’m using a formula to generate the wave file
    Tia sal22
    Attachments:
    fixed mathscript formula to sound test.vi ‏680 KB

    Sorry it took so long to get back.  Here's the new VI with it splitting out the left and right channels. 
    I'm using a Gigaport HD 8 output usb audio device but I'm experience clicks and pops.  I increase the buffers
    but I still get the clicks and pops.  I know gigaport HD can use ASIO drivers which most likely would solve the problem but one needs to code in C for this which I'm not proficient in.  Can someone recommend a work around to prevent this clicks and pops, can I somehow change my VI to fix this? Does anyone have a VI that will allow access to the ASIO latency properties?
    I'm using labview 8.5
    And a gigaport HD which is a USB audio device which outputs 8 analog signals (it is ASIO compatible)
    tia sal22
    Attachments:
    lvt_audio_realtime-out left right device ID test.vi ‏68 KB

  • I am using 4K Footages for editing in Premiere pro CC 2014, but its getting crash in between at every 15 to 20 mins. Kindly suggest how can it be solved, does any plugins or settings needed to edit 4K footages? Also would like to mention that footages fra

    I am using 4K Footages for editing in Premiere pro CC 2014, but its getting crash in between at every 15 to 20 mins. Kindly suggest how can it be solved, does any plugins or settings needed to edit 4K footages? Also would like to mention that footages frame rates are 29.97 and i have set timeline to 25 FPS is requirement by client. kindly revert. Thanks

    Thanks Richarad ..It has solved the problem but still crashes some times .As the programme has the break (bumper)after every five minutes ,i hope it will not compress bumper time too after export.

  • P780 Vibe ui 2.0 how can i root it and get google apps on it?

    Hi All,
              I have the P780 china version with Vibe ui 2.0 latest stable rom. How can i root it and install gapps on it? Tried everything so far but no rooting tool can do it.
    Solved!
    Go to Solution.

    Not able to find the link now.....
    Send me your mail id and will attach file itself. But do remember that everytime you do updates, you will have to again reinstall this apks from GMS Tools.

  • How can i remove videos and music that are not on my ipad mini but are still taking up space and are showing that they are there even after i've deleted them?

    how can i remove videos and music that have been deleted from the ipad but are still showing in settings as still being on the ipad?

    I believe that I have the same issue with iPad Mini with Retina Display, iOS 8.1. No matter which way I delete videos from my iPad, they will still show as "deleted", yet the space is not cleared up. I tried restore and then a full restore (clean setup as a new iPad) and it still does this to me. I can solve it by doing a restore each and every time I download a video and delete it. Rather frustrating. Has been a problem since day 1 of iOS 8. I'm yet to try the power+home button reset. It may very well work, but I am surprised that a "fresh setup" of an iPad didn't resolve it from ever occurring.

  • How can I use OmniPortlet and Web Clipping Portlet?

    How can I use OmniPortlet and Web Clipping Portlet?

    You find information on OmniPortlet and Web Clipping in the Portal Developer's Guide.
    o Building Portlets with OmniPortlet
    o Building Content-Based Portlets with Web Clipping
    Peter

Maybe you are looking for