Getting the same return string while reading multiple times from a GPIB instrument

I'm having problems reading data from a GPIB instrument.
I'm using a sequence similiar to this:
1. Send a "MEASCALRES?" command to the calibrator to measure the current pressure.
2. Read the result string sent from the calibrator.
3. Send a "SYST:ERR:NEXT?" query to check if an error has occured.
4. Recieve the error string from the calibrator.
When running the program, the error string sometimes contains the same data as the pressure reading. For example, if the calibrator's pressure output string was "1.0000000e2", the error string might be "1.0000000e2" or sometimes just "20, No Errors", with the extra "2" added to the normal "0, No Errors".
The problem a
ppears to occure randomly, a rough estimate would be that it happens one time out of 50 readings.
Are there any relevant GPIB card settings I can change to fix the problem?

It looks to me that more data is send or data end is signalled to early by hte iocard.
Maybe you should check the gpib bus cable speed. The default is much too fast for almost all instruments. Put it on 2 microseconds (the slowest speed). And we always disable autopolling, to prevent asynchronous actions.
greetings from the Netherlands

Similar Messages

  • Message Driven Bean reading multiple times from a jms queue

    Hi,
    I am facing a strange problem with my message driven bean. Its configured to read message from a jms queue. But sometimes it read the same message multiple times from the jms queue.
    We are using weblogic server 8.1 sp5.
    Please find below our descriptor files
    ejb-jar.xml  
    <ejb-jar>  
      <display-name>ClarifyCRM_Process_Manager_13.1</display-name>  
      <enterprise-beans>  
        <session>  
          <display-name>ProcessManager</display-name>  
          <ejb-name>ProcessManager</ejb-name>  
          <home>com.clarify.procmgr.ejb.ProcessManagerHome</home>  
          <remote>com.clarify.procmgr.ejb.ProcessManagerRemote</remote>  
          <ejb-class>com.clarify.procmgr.ejb.ProcessManagerEJB</ejb-class>  
          <session-type>Stateless</session-type>  
          <transaction-type>Container</transaction-type>  
        </session>  
        <message-driven>  
          <display-name>ProcessManagerListener</display-name>  
          <ejb-name>ProcessManagerListener</ejb-name>  
          <ejb-class>com.clarify.procmgr.ejb.ProcessManagerMDB</ejb-class>  
          <transaction-type>Bean</transaction-type>  
          <acknowledge-mode>Auto-acknowledge</acknowledge-mode>  
          <message-driven-destination>  
            <destination-type>javax.jms.Queue</destination-type>  
          </message-driven-destination>  
        </message-driven>  
      </enterprise-beans>  
      <assembly-descriptor>  
        <container-transaction>  
          <method>  
            <ejb-name>ProcessManager</ejb-name>  
            <method-name>*</method-name>  
          </method>  
          <trans-attribute>Required</trans-attribute>  
        </container-transaction>  
      </assembly-descriptor>  
    </ejb-jar>  
    weblogic-ejb-jar.xml  
    <weblogic-ejb-jar>  
      <weblogic-enterprise-bean>  
        <ejb-name>ProcessManager</ejb-name>  
        <stateless-session-descriptor>  
          <pool>  
            <max-beans-in-free-pool>100</max-beans-in-free-pool>  
            <initial-beans-in-free-pool>10</initial-beans-in-free-pool>  
          </pool>  
        </stateless-session-descriptor>  
        <enable-call-by-reference>False</enable-call-by-reference>  
        <jndi-name>ProcessManagerHome</jndi-name>  
        <dispatch-policy>PMExecuteQueue</dispatch-policy>  
        <remote-client-timeout>0</remote-client-timeout>  
      </weblogic-enterprise-bean>  
      <weblogic-enterprise-bean>  
        <ejb-name>ProcessManagerListener</ejb-name>  
        <message-driven-descriptor>  
          <pool>  
            <max-beans-in-free-pool>100</max-beans-in-free-pool>  
            <initial-beans-in-free-pool>10</initial-beans-in-free-pool>  
          </pool>  
          <destination-jndi-name>clarify.procmgr.jms.queue.Execution</destination-jndi-name>  
          <connection-factory-jndi-name>clarify.procmgr.jms.factories.ExecConnection</connection-factory-jndi-name>  
        </message-driven-descriptor>  
        <enable-call-by-reference>True</enable-call-by-reference>  
        <dispatch-policy>PMListenerExecuteQueue</dispatch-policy>  
        <remote-client-timeout>0</remote-client-timeout>  
      </weblogic-enterprise-bean>  
    </weblogic-ejb-jar>   The MDB is sometimes reading multiple times from clarify.procmgr.jms.queue.Execution
    Also i would like to add here that the connection factory we are using clarify.procmgr.jms.factories.ExecConnection is having the following properties
    ServerAffinity Enabled=true
    XA connection factory enabled=false.
    Please help me out here!!

    Maybe, your MDB "sometimes" throws an Exception in onMessage.
    Check if this happens when you set <max-beans-in-free-pool>1</max-beans-in-free-pool>.

  • I keep getting the same emails twice, after I've deleted from device and read on desktop!

    While at work, I usually read my email on my computer, but I still get them on my BB, which I delete right away. However, even after it's already been read on my computer and deleted from my Curve, I end up with another alert for the same email, and the email as unread in my Curve inbox.
    How can I make that STOP? I don't need to be told more than once that I have a new email, and even less so if I've already read it! 

    is the email imap, pop, owa/exchange?
    do you have redirector installed (in DTM is there an email settings icon)
    who is your carrier?

  • I downloaded Firefox 4. Now when I try to open it keeps telling me I need to reboot my computer. I have done this and continue to get the same message. I also cannot delete from my programs in order to reinstall.

    After I downloaded Firefox 4, I tried to open it and it repeatedly gives me this message "Your computer must be restarted to complete a previous upgrade of Firefox. Do you want to reboot now?" I cannot get past this message. I tried to uninstall this program in order to reinstall, but when I try to do that, I get this same message. I cannot get past this message. I don't know what to do next.

    Hi arpriltime,
    Have you looked at our [https://support.mozilla.org/en-US/kb/firefox-crashes-or-flash-plugin-crashes Flash plugin troubleshooting section]? There is a lot of useful information in there that should help you get to the bottom of your issue.
    Hopefully this helps!

  • I blocked quite a few different phone numbers awhile ago but when I looked at the blocked numbers today it looks like the same number has been blocked multiple times.  Does anyone know why that is?

    I blocked a lot of different numbers awhile ago but when I checked the blocked numbers today it looked like the same numbers were blocked multiple times.  So for example if I blocked phone numbers 555-555-5555, 555-555-5556, and 555-555-5557 on different days it looks like only 555-555-5555 has been blocked 3 different times and I no longer see phone numbers 555-555-5556 or 555-555-5557.  Does anyone know why?

    Oh dear, one of those phantom disconnections. You know they are actually so common BT have a specialist department that deals with them. I think they are called Priority Back in Service, there is no actual phone number you can ring them on, you have to call 150 as normal and the customer service team are supposed to raise the issue with them to sort out.
    You could contact that Mods but they sometimes take 3 days to reply, especially with it being the weekend.

  • Opening Numbers and getting the same page size and location each time

    Can someone help me with something which is pretty basic, please?
    When I open a Numbers spreadsheet which I use frequently, each time it opens as a tiny box and always has to be resized and repositioned onscreen before I can start work.
    I figure there must be something I can do to have it open in the same screen position and the same size each time, but what?

    Hi Norman,
    Your tags show OS X Mavericks 10.9. The latest version of Mavericks is 10.9.2
    Are using Numbers 3.0 ? The lates version of Numbers is 3.1 and it does save the zoom.
    Maybe this will help, but it does not work in Numbers 3.0
    Numbers > Preferences > General > Default Zoom > 100% (or whatever % you want).
    And Save your document before closing to retain the zoom and position.
    The Numbers *window* size can not (yet) be saved, but the zoom and the position within a sheet can be saved in Numbers 3.1
    Regards,
    Ian.

  • Keep getting the same error message while trying to install iTunes

    Hey guys. I keep on getting this error while trying to install any new kind of itunes version:
    *Could not open key HKEYLOCALMACHINE/SOFTWARE/microsoft/windows/currentversion/run. Verify that you have sufficent access to that key, or contact your support personnel*
    Any idea what to do? I'm helpless here. Any help would be appreciated.
    Thanks in advance.
    Guy.

    When it's done, the cmd windows closes. So, it wasn't done.
    http://support.microsoft.com/kb/949377/en-us
    The microsoft page states
    +Note This script file may take a long time to run. Additionally, you have to run this script as an administrator.+
    I had to run this thing on my laptop because XP SP3 wouldn't install.

  • How to Add the Same Component to a JPanel Multiple Times

    I have a simple JPanel with BorderLayout as manager. I created a JLabel and added it to all of the areas except center. But the JLabel shows up only in the area to which JLabel was added last. WHY?
    Any help is appreciated!
    DD
    jvm 1.4.2._05-b04 on Win2K

    What you need to do is make a class extending JLabel:class myLabel extends JLabel
        public myLabel()
    }then you can make as many instances of it as you want
    eg:myLabel label1 = new myLabel();
    myLabel label2 = new myLabel();
    good luck                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • TS3899 My personal emails are not downloading to my iphone 5.  I keep getting an error message advising that my password is missing for the "Yahoo" account.  I enter my password and it tells me it is checking for emails and then I get the same error messa

    My personal emails are not downlaoding to my Iphone 5.  My last update was January 8th.  I keep getting a message requesting my "yahoo" password.  I insert it and continue to get the same request.

    Contact Yahoo.

  • I successfully got artwork for my music.  I did it again think that itunes wouldn't get the same artwork again, but it did, right?

    I successfully got artwork for my music.  I did it again thinking that itunes wouldn't get the same artwork again, but it did, right?

    Al McKinnon Jr. wrote:
    I successfully got artwork for my music.  I did it again thinking that itunes wouldn't get the same artwork again, but it did, right?
    Dunno...
    You are the one getting the artwork.
    Did it get the same artwork again?

  • Issue in reading multiple time properties file

    Use Case:
    I have a page in which i have to show some Outage Messages on page. So I have configured outage message in properties files. This message should me rendered each time when it finds that properties file in class path or it finds the values w.r.t their keys.
    So what I decide that I shall write java method and call this method on Loading the page but here what happen is that whenever that page is load each time that reader file will call , that will create memory leak .
    So, anyone help me on this. What will be the best approach for that reading multiple times properties file?
    I will be grateful for any help you can provide
    Thanks

    Hi,
    have a bean at applicationScope, somewhat like this
    import java.util.HashMap;
    public class ApplnProperties {
        private HashMap _propMap;
        public HashMap getPropMap() {
            if(_propMap == null){
                //read the properties file and populate _propMap
            return _propMap;
    }here we put condition _propMap == null so it would be called only once during application lifecycle.
    and on page you can refer the prop map like following
    #{beanName.propMap['KEY1']}Regards,

  • My iPod Classic was stolen and returned to me by police but now it "cannot be synced because it cannot be written to or read from". I noticed the thief had changed the format to "windows" but I have restored it and still get the same message.

    My iPod Classic was stolen and returned to me by police but now it "cannot be synced because it cannot be written to or read from". I noticed the thief had changed the format to "windows" but I have restored it and still get the same message.

    If the media is in the library then yes it is that simple. Connect the device, load it up with your media. The problem is when you try to connect a full device to a new empty library on a new computer when iTunes will offer to replace the content on the device with that in the local library, i.e. nothing! (For anyone in that position see Recover your iTunes library from your iPod or iOS device).
    You should be able to add your devices at https://supportprofile.apple.com/ though I'm not sure what happens if the second hand iPod was previously registered.
    tt2

  • Have downloaded Mountain Lion on my 2010 Mac Mini. Now when starting up, after a while I get a message that says, "You must restart your computer." I do that but get the same message again and again. Any ideas? Thanks!

    I am having issues trying to start up with Mountain Lion on my 2010 Mac Mini. Here's the scenario:
    1) After starting up, I get the usual gray screen with Apple logo.
    2) After a few minutes, a darker gray screen scrolls down and in the middle of this is a black dialogue box with reversed (white) text. This text, in multiple languages, reads: "You need to restart your computer." Then it goes on to instruct on how to shut it down and restart it.
    3) I follow this instruction, but get the same dialogue box over and over agin.
    Any ideas?
    Thanks and best wishes.

    If you can't boot in the usual way, try a safe boot. The instructions provided by Apple are as follows: 
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you click Log in.
     During startup, you’ll see a progress bar, and then the login screen, which appears even if you normally log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Safe mode is slower than normal, and some things won’t work at all. Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, or if the startup volume is on a software RAID, you can’t boot in safe mode. If you're able to boot, launch the Console application in any of the following ways: ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. ☞ Open LaunchPad. Click Utilities, then Console in the icon grid. Select the most recent panic log under System Diagnostic Reports. Post the entire contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports.

  • I have multiple devices in my family. Each of us has an iPhone and an iPad. Is there a way for each of us to have our own Apple ID but one account so we can all get the same music, movies, books, etc. I can't see paying twice for something in the same fam

    I have multiple devices in my family. Each of us has an iPhone and an iPad. Is there a way for each of us to have our own Apple ID but one account so we can all get the same music, movies, books, etc. I can't see paying twice for something in the same family.

    Welcome to the world of digital media. Your can't really transfer it. I don't know what the rules are about transferring to your spouse but I do know that in some cases when you die, your heirs cannot inherit your digital media. This is why there is still an advantage to buying the CD since the usage rights belong to whomever holds the physical media.
    A possible workaround is to burn the songs to a music CD with yout account (tracks only without song titles) and then having your wife upload it as a regular music CD onto her account. It's been a while since i've done this so I'm not sure if it would work now.
    Please note that I'm not advocating copyright and/or TOS violations. I'm only suggesting ways to copy music for your own personal use which has traditonally been permitted. I only did this because I wanted to convert iTunes songs to mp3 files so I could burn them onto a data CD for use in my car. It would make sense that since married couples are a joint entity, this would be personal use.
    Also, I'm not a lawyer so don't take this as legal advice.

  • TS2634 My problem - when syncing and error messages  comes up:  iTunes could not sync calendars to the iPhone because an error occurred while margin data."  I've tried turning the phone off and back on, & tried both USB ports but get the same thing.  What

    My problem - when syncing and error messages  comes up:  iTunes could not sync calendars to the iPhone because an error occurred while margin data."  I've tried turning the phone off and back on, & tried both USB ports but get the same thing.  What can I do next since it doesn't give me even one clue as to what the error would be?

    Before I started to resync calendars one by one as suggested in the troubleshooting article, I remembered something that came up in a sync when I first attempted :  a 'which one do you want to keep' message about a repeating calendar event, which came up with three options, one from Calendar, and two from iCal on the phone.  I deleted that event, then went through the calendar resync one by one, and all seems OK now.
    In Music there is a way to find 'ghost' items that show up as grayed-out on the menus, so that you can try to reassociate or delete them.  It would be nice to have a similar way to work with Calendar!
    Thanks for pointing me to the right article.

Maybe you are looking for

  • Pages and iCloud error

    One day I opened pages on my iPad and all of my documents had the ink logo on them.  The titles still remained, but the content was gone, and I couldn't even open the documents.  However, they are all still on iCloud.  I reinstalled pages on my iPad,

  • Embed gauge view in OBIEE table

    I have a requirement where I want to show gauges as a column of a table on a BIEE dashboard. I know i can use KPI images to do so, but these images are static in nature, for eg, If I have a low variance of 20% for a metric, then I see red flag for an

  • Dual Boot Windows7 and OSX on an HP 2140

    I thought this was a great blog from networkjew.com about creating a Dual Boot Windows7 and OSX on an HP 2140. Now that you've got your sleek little HP 2140 netbook, its time to blow away Windows XP and put something a bit snazzier on there.  I've to

  • Problem with Imported CD -- 5 second issue?

    Okay, I'm not sure what this would go under so I'm guessing this part of the forum. I bought a CD of a Broadway musical yesterday and when playing it off the CD in iTunes it works fine. I've noticed that there is no pause between tracks, but the trac

  • Raised Messages Not Appearing In ByDesign

    Hello everyone, Simple question --- I have a message on a custom BO I want to appear in ByDesign should a script successfully run. The message appears with the correct values in the debugger if I have it open, but nothing comes up along the bottom of