Intermittent GPIB error 6 (EABO)

my system: Mac OS 8.6, Labview 5.1, NI-488.2 for Mac OS version 7.6.3, PCI-GPIB card, Keithley 2182 Nanovoltmeter and Keithley 24xx Sourcemeters.
I have a Labview application (modeled on Keithley's application note "Automatic Resistance Measurements on High Temperature Superconductors") which runs well with >99% reliability. The other times it hangs on a GPIB read with a EABO error. The Keithley instruments will complain "Query interrupted" or "Query unterminated". These problems seem to be more prevalent if the computer is distracted with mouse action or other applications, but it'll fail even without such challenges.
Since the application runs, I know my syntax is good. I've tried increasing the timeouts, but this does not pr
ovide immunity. Software delays help somewhat, but with an unacceptable duty cycle penalty. I suspected that I was getting spurious SRQ's for a while, but the GPIB reads that fail most frequently are not those preceded by Wait RQS.
All my GPIB functions are the old style (not 488.2). I'm not using VISA anywhere, since I've found the VISA functions to be even less reliable on my system.
Any suggestions?

Hello,
I realize I getting into this stream after some correspondence, and that you are asking another poster a question.  But, if you are simply trying to get your LabVIEW program not to stop and indicate an error, rather continue and discard it, all you have to do is monitor the error cluster, for example, by wiring it to an error cluster selector input, and then in the error case, simply pass out a fresh, new error cluster constant with status = false (no error), code = 0, and an empty source string.  The easiest way to do this is to first wire through the no error case to create a tunnel at the output, and then right click to create a constant in the error case.  Attached is a screenshot showing both the the error case and no error cases in a quick example.
I hope this helps!  Repost if you are having any further or continued problems!
Best Regards,
Jassem
Best,
JLS
Sixclear
Attachments:
Ignore Errors.PNG ‏5 KB

Similar Messages

  • Intermittant GPIB Errors "type mismatch"

    The VB6 application I'm writing to control an Anritsu MP1570A Sonet Analyzer is now working moderately well, but I intermittently get the GPIB error,
    "Unable to talk to GPIB device.||Type mismatch."
    I find that this error does not occur if the program is single stepped. I have tried adding delays after each GPIB command and have played around with the duration. Delays seem to improve the situation but not entirely and not consistently. I'm not certain, but it seems like the problem may be less pronounced when the application is running standalone, i.e., not in the development environment. NI Spy reports no errors, by the way.
    Has anyone seen anything similar or have an idea what the fix might be?
    Thanks to all
    in advance,
    JG"

    Hi Jerry,
    I don't know of a specific reason why this may happen..but the first step would be to try and narrow this down...
    Do you have any casts in your code ?
    Especially from string to double? (from data you are getting back perhaps ?)
    Its possible that if there is a timing issue, then sometimes you may get invalid , or unexpected data back, so if you have a cast such as dblValue = Cdbl(strText) * 2 it may work most of the times, but fail, if strText is not a number in the unexpected case...
    The other case could be that, it is a Gpib Write or a Gpib Command thats failing with the type mismatch error(The command itself will not take place if there is a type mismatch error - so NI-Spy will look fine...). This could be true in the case, where data you send out is
    not a string literal, and something that you calculate in your code..
    The Read should always work, since it returns a variant..
    So those are two places you could look at for potential problems...i.e. (1) the GPIB Writes,especially those where the command is not a literal string and (2) any casts, or a combination of the two...
    Hope this helps some...
    Nandan Dharwadker
    Staff Software Engineer
    Measurement Studio Hardware Team

  • Intermittent Runtime error - pure virtual function call

    I have an intermittent runtime error - pure virtual function call & don't know what cause it? Since It only occurs & crashes once awhile therefore it's difficult to trap it for debugging.I suspect it come from TestStand ActiveX API which I use in my User Interface Application project but I'm not really sure.
    Does anyone experience this kind of problem when working with TestStand API ? If so any
    suggestion? I have noticed in the TestStand API header file teapi.tlh contain many raw_.... function defined as pure virtual function. What are these raw_... function ? I don't think I use any of these function in my project.
    Many thanks!

    Danh,
    I don't believe that your problem can be solved with the information you have provided unless someone else has experienced the same symtpoms which coincidentally have the same cause as in your case.
    Is there any other information you can provide that can help localize the problem?
    1) What is happening when the error occurs?
    2) Does the error always occur in the same place?
    3) Does it always occur with use of certain resources (e.g. DAQ, GPIB, VISA, printer)?
    4) Does it occur when using the sequence editor?
    5) Does it occur when using one of the shipping operator interfaces?
    6) Does it occur only when using your operator interfaces?
    7)Is it related to a specific sequence or any sequence?
    8) Does it happen when you executed your sequence with/without a process model entr
    y point (i.e. Execute>>Test UUTs, Execute>>Singal Pass or Execute>>Run MainSequence)?
    9) How often does it happen?
    10) What version of TestStand are you using?
    11) With what language (include versions) are you programming your code modules?
    12) With what language (include versions) are you programming your operator interface?
    13) Is there any error code reported with this error message?
    14) Is this error reported in a TS run-time error dialog or is it reported directly 1by the operating system?
    15) Have you searched the web for related errors? For example, the following link describes a particular programming mistake that can lead to this error
    http://support.microsoft.com/support/kb/articles/Q125/7/49.asp
    By investigating answers to the above questions you may be able to narrow the cause of this error, which might allow you or others to help solve the problem.

  • Strange error: gpib error when using DAQmx

    Hello
    I try to out put a single puls using a counter on a PCI-6602 Board with the attached LabVIEW code.
    Strangely I get  the following error message:
    "Error 3 occurred at an unidentified location
    Possible reason(s):
    LabVIEW:  Internal error. Wrong memory zone accessed.
    =========================
    NI-488:  GPIB Controller not addressed correctly."
    Why do I get an GPIB-Error, although I don't even use a GPIB-Card?
    Attachments:
    ShortTrigger3.vi ‏23 KB
    ErrorMessage.GIF ‏9 KB

    Hello!
    The problem is coming from the simple error handler.
    The Simple Error Handler cannot decide if plots error + warnings, or only errors.
    You cannot put your enumerator to the simple error handler, it works only with the general error handler.
    In your program you are giving to the simple error handler a number 3 as error code. The VI convert this error number 3 with the error GPIB you received.
    You should so replace the Simple Error Handler.vi with the General Error Handler.vi
    Best regards
    Ken

  • Intermittent of error "ORA-12203: TNS:unable to connect to destination"

    Hi,
    One of my application (run 24 hours each day) face intermittent of error "ORA-12203: TNS:unable to connect to destination", any one face the same issue ? any solution for this ? The error may occur weekly, some time monthly, occur randomly.
    My Oracle is 8i. Application and 8i run on different SUN machines.
    Checked with my network engr and db admin, network traffic was not congested and db was not overloaded at the time of this error. CPU and memory also not overloaded.
    regards,
    johnvun98

    This error generally occurs when you listener at server is not working properly or at client you sqlnet.ora,tnsnames.ora (if using local names) file is not configured properly check both the files

  • GPIB error in the instrument while no communication error

    I am developing a test system by connecting several measurement instruments through GPIB with LabVIEW 6.i. The driver is written by using VISA command. GPIB control card is NI PCMCIA. When using laptop everything runs fine. When using an old PC with something like EISA to PCI converting card for slotting in the NI PCMCIA card. One instrument always displays an GPIB error. The error is instrument specific, no further detail is given by the manual. When the error comes out, no GPIB or VISA error exists. If only the driver for this instrument is installed so that the software only communicates with this particular instrument, no error. With other driver installed, there is no error in the first or two commnunication
    . Later on the error is surely out and display in the instrument screen only. Once again, no any other GPIB or VISA communication error. Anybody can help on this ? Thanks a lot.

    Hi JLS,
    First of all, thank you very much for your prompt response. I am not sure some of your questions because our hardware engineer is away for a week. I am trying to explain what I know and see whether you could help to figure out the reason.
    0. The operation system in the old PC is Win98. The CPU is PII 350MHz, 32G Hard disk and 320M RAM. The reason why we are using the old PC is that we have a 3rd party motion controller. Its control card is a ISA card.
    1. The conversion device is a kind of card, put in the ISA slot in the PC extention I/O bus. We can slot in 2 PCMCIA cards in the conversion device. The driver for the NI PCMCIA card is supposed to be the same with that in laptop.
    2. The driver that works with the instrument is developed by me by using NI-VISA. The instrument is a signal generator (SG) from Marconi instruments. Basically what the driver does is to turn on or turn off SG and read back its on-off status. When turning on SG, send setting frequency and signal level data as well. The calling of the driver is in a loop where frequency is stepping up.
    3. There are other measuring instruments. e.g. electric field monitor probe to get the electric field strength etc. All these instruments' driver are developed by me by using NI-VISA. I also develop a set of dummy driver for all the instrument for demo purpose. Dummy drive did not communicate with instrument, inside, control is directly wired to status. When all other instruments except SG uses dummy driver, The running is OK. No error is displayed in the SG screen. If I use any of the other instrument's driver with that of SG, there is no problem at the first run (that means at the beginning of the loop), problem surely comes out later on. But it is OK when running in the laptop of which the OS is Win2000. The funny thing is if I takes out the status readback in SG driver, there will be no error at all even running with other instruments' driver in the old PC. I have compare through the GPIB card setting in the old PC and laptop, make sure that the EOI setting, primary address, EOS etc. to be the same in the two computer. It does not work.
    4 & 5. The error displayed in the instrument screen is Error#403 "Data Expected". The manual said it is caused by the GPIB programming wrongly. No further explaination on how it may happen. Even there is such error display, no any GPIB or VISA error happens in my driver, the error cluster is clear. I debug the problem and find that the SG error appears when executing VISA resource open. I have also checked through all the NI GPIB help. It seems I could not find the answer.
    6. I am not sure how to check the version of NI-488.2 and NI-VISA. NI-VISA is installed with the LabVIEW 6.i together.
    Best Regards
    Jason

  • Gpib error 0

    Hi!
    So i've converted an old daq-program to daqmx and have it running on a test station.
    On the 2nd station, quite similar to the 1st one, i get a gpib error 0, and i cant figure out what/why/how to do anything about it.
    I'm using older NI cards (same on both stations), listed as Traditional in MAX and using daqmx 9.3.5. and daq 7.4. The cards work in max, although i sometimes need to reset the driver on the problematic one.
    Any ideas as to why it'd work on one computer and not the other?
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV
    Solved!
    Go to Solution.

    Hello
    I am building a digital down converter in LabVIEW. I am not able to figure out if my output is correct ( Inphase and Quadrature components). Am I on the right path? Please find attached the VI I have been working on.
    Thank you.
    Attachments:
    ddcnew5.vi ‏516 KB

  • Provider-Hosted app intermittent 401 error

    Hi All,
      I've a PH high trust app which is working fine, but at times
    (not always) I'm getting 401 un-authorzed error. This is very intermittent error occurs when the app trys to access sharepoint. when the user refreshes the page its working fine.
    I've digged ULS log but couldn't find anything useful. However in event viewer found the below error.. I'm totally out of clues why its occurring only at times. Any help is appreciated. Thanks!
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 1/5/2015 8:39:08 AM
    Event time (UTC): 1/5/2015 1:39:08 PM
    Event ID: 26b14be284ca4488abb0a5bba127c4c1
    Event sequence: 28
    Event occurrence: 1
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/2/ROOT-1-130649382841483100
        Trust level: Full
        Application Virtual Path: /
        Application Path: C:\TestWeb\
        Machine name: APPSERVER
    Process information:
        Process ID: 3408
        Process name: w3wp.exe
        Account name: Domain\ServiceAccount
    Exception information:
        Exception type: WebException
        Exception message: The remote server returned an error: (401) Unauthorized.
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute()
       at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)
       at App.Pages.WebForm1.Page_Load(Object sender, EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Request information:
        Request URL: https://appsSite.domain.com/Pages/DisplayPage.aspx?a=EU/gibbs/35&SPHostUrl=http://SPSite.domain.com/sites/TestSite
        Request path: /Pages/DisplayPage.aspx
        User host address: 10.x.x.x
        User: Domain\User
        Is authenticated: True
        Authentication Type: Negotiate
        Thread account name: Domain\ServiceAccount
    Thread information:
        Thread ID: 14
        Thread account name: Domain\ServiceAccount
        Is impersonating: False
        Stack trace:    at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute()
       at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)
       at APP.Pages.WebForm1.Page_Load(Object sender, EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Custom event details:

    Hi,
    According to your post, my understanding is that Provider-Hosted app get intermittent 401 error.
    If you use IssuerId in provider-hosted application web.config, please make it a lowercase Guid string.
     You need to make sure that the app certificate is added to the trusted certificate store.
    In addition, you can turn off the HTTPS using PowerShell.
    More information:
    http://www.jamestsai.net/Blog/post/SharePoint-Provider-Hosted-App-401-Unauthorized-error-on-clientContextExecuteQuery().aspx
    http://srichallagolla.blogspot.com/2013/01/sharepoint-2013-provider-hosted-high.html
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Intermittent 200010 errors

    Using the DAQmx C++ interface (version 8.7.1f3) for a S series NI PCI-6110 board, I am recieveing intermittent 200010 error messages when doing a DAQmxReadBinaryI16 call. (200010 is DAQmxWarningStoppedBeforeDone)
    We are using the device to collect 3100 points of data off 4 separately channels. The data collection is a triggered start and then externally clocked in.
    The data is collected at a variety of frequencies from 128 Hz to 1/2 Hz.
    We are examining the electronics and other aspects, but the NI DAQmx interface code is new to the system (after upgrading from the Traditional DAQ legacy code a year ago). So the code here is suspect as well.
    I have attached the source code (some area removed to simplify).
    Attachments:
    NIAcqLib200010Error.cpp ‏6 KB

    Thank you for the suggestions. 
    The application interfacing to the NIDAQ card is the only application running on the PC. At times something minor may run, but it is reproducable with no other applications active.
    It was also reproducable not long after restarting the system. Did not see any memory usage issues relating to the occurrences.
    Alteration of the sampling rate is not an option, as we have been using these for the past decade plus for data collection. (Difference now being a re-write to upgrade to DAQmx from Traditional, so as to support Windows Vista PCs.)
    We are trying new cables connecting between the source and 6110 board.
    Kevin

  • Intermittent 403 Errors

    I'm getting intermittent 403 errors with Apache. I'm seeing the following in my apache error log:
    modencconvert: entered
    modencconvert: trying
    modencconvert: converted
    config_merge: entered
    merged: enable_function == 2
    merged: strip_msaccount == 2
    merged: server_encoding == (null)
    Unfortunately, that's about it. I Googled the errors and I'm coming up with nothing. Any help would be GREATLY appreciated!

    Hi jonjames,
    When did you met this error? Or which opertations did you do when you met this error?
    From the first section error, it seems to be about user profile service, please make sure user profile service is running correctly.
    And for the second section error, it seems that a user cannot access /personal/<domainuser>/Documents/Forms/All.aspx, please check whether the MySite is the user's MySite, and make sure the user has at least read permission for the MySite's Document
    library.
    In addition, if this issue still exists, please provide a screenshot about this error in SharePoint UI.
    Best Regards,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • "GPIB error Query Interrupted" flashes on HP54542A

    I've written a display and control program in Delphi 7 for the HP54542A. The program uses NI commands and the GPIB-32.dll library, per NI's recommendation. The program appears to work properly, but I frequently get the message "GPIB error-Query Interrupted" flashing on the scope screen. I've tried putting delays in the software after read and write commands, but that seems to have no effect. Any suggestions? The version of the GPIB-32.dll that I have is dated 1999. I'm using a fairly new NI PCMCIA card in a new Dell laptop.

    tfowler,
    Perhaps someone in the community has some experience with the HP54542A. We do have a newer GPIB driver which has a newer GPIB-32.dll that you could try:
    NI-488.2 Download
    We also have CVI and LabVIEW instrument drivers for this instrument that you could try out (since you are using Delphi you could at least check out what the drivers are doing and get some ideas):
    54542A Driver Downloads
    Craig H.

  • Quick question GPIB error report vi

    where is this vi located in labVIEW v6.1?
    i tried searching for it in the functions pallette but couldnt find it,
    thanks in advance,
    Staunton

    staunton wrote in news:506500000005000000F5110100-
    [email protected]:
    > i found this subVI also in an example VI shipped with V6.1, find
    > examples>hardware input and output>GPIB>LabVIEW<->gpib.vi
    Yup, I see it, and here's the revision history:
    -rev. 1 28 Jun 1994 00:57:15 Apostolos K
    -SubVIs of this VI were modified.
    -VI was converted from LabVIEW version 3.0.1 to LabVIEW version 3.1a16.
    1994!!!
    If you need it, just copy it from its current location to somewhere in your
    VI folder:
    LabVIEW 6.1\examples\instr\smplgpib.llb\GPIB Error Report.vi
    Andrew

  • GPIB errors

    Hi
    I have posted a message regarding this in the past,however I have still not found a solution. So hopefully someone can help me this time! I am using a PCI-GPIB card with Windows 2000 and Labview 7.0.
    I have an Elliot Scientific instrument that I am trying to write to and read from. Everything is working fine from the IBIC control. However, in labview (using the example GPIB.vi given) I am gettting intermittant errors..that is my program works a number of times and then reports an error. I have tried extending the timeouts but the problem persists. I think what is happening is that the GPIB board is taking on the address of my device, as when I use ibpad 0 in IBIC I get a previous value of 4, which is the address of my device (see attached Spy file).
    I have attached the Labview program I am using, the Spy file of the program working a number of times and then reporting an error and the spy file of the gpib controller with the address of my device.

    You should NOT be using the GPIB Initialization with the same address as the instrument you're trying to communicate with. You are telling the instrument to be the system controller. I can't believe that it works at all. Delete the init function altogether and try it. I don't think you really need the ReceiveSetup either. The example you copied didn't use either of them.
    Also, the original example is really old and I'm not sure it's the best one. Unless you have automatic error handling on, you should wire the error in/error out connections and have an error indicator on your front panel.

  • IC intermittent SAPSQL_ARRAY_INSERT_DUPREC error after changing business partner

    Hello,
    after upgrading from CRM5 to CRM7 (Service for Employee), our Interaction Centre users started getting intermittent SAPSQL_ARRAY_INSERT_DUPREC screen dumps when clicking on the 'Save' button after having changed a partner number in the Partners Table of a Service Ticket.
    On encountering one of these screen dumps, the user then has to close their IC session and then restart it - after which it is then possible to successfully 'Save' the same change to the same business partner on the same Service Ticket.
    I have not been able to reproduce this error due to its intermittent nature.
    Details of the source code extract from the ST22 dump is given below.
    Has anyone else encountered such an issue themselves?
    thanks,
    Martin
    Category ABAP Programming Error
    Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC
    Except. CX_SY_OPEN_SQL_DB
    ABAP Program SAPLCOM_PARTNER_DU
    Application Component CRM-BF-PD
    Date and Time 20.08.2014 11:15:25
    Line SourceCde
      41 * data definitions
      42 DATA: BEGIN OF ls_attribute_record_to_use,
      43 partner_guid TYPE crmt_partner_guid,
      44 values TYPE text255. "has to be as long as the longest
      45 "attribute structure
      46 DATA: END OF ls_attribute_record_to_use.
      47
      48 DATA: lt_attribute_records_to_use LIKE SORTED TABLE OF
      49 ls_attribute_record_to_use WITH UNIQUE KEY partner_guid,
      50
      51 lv_tablename TYPE tabname,
      52 ls_attribute_record TYPE crmt_partner_attr_du,
      53 lv_name TYPE char64.
      54
      55 FIELD-SYMBOLS: <values> TYPE ANY,
      56 <address> TYPE crmt_partner_address,
      57 <fs_insert_record> TYPE crmd_partner,
      58 <fs_addr_ref_data> TYPE crmt_partner_address_reference.
      59
      60 FIELD-SYMBOLS: <wa_to_proceed> TYPE ANY,
      61 <table_to_proceed> TYPE ANY TABLE.
      62
      63 DATA: wa_to_proceed TYPE REF TO data.
      64 DATA: lt_wa_table TYPE REF TO data.
      65
      66 *** MAINTAIN PARTNER RECORDS *******************************************
      67
      68 *** records to insert
      69 IF NOT it_partner_records_to_insert IS INITIAL.
      70
    >>>>> INSERT crmd_partner FROM TABLE it_partner_records_to_insert.
      72 IF sy-subrc NE 0.
      73 MESSAGE a002(com_partner) WITH gc_object_name_partner.
      74 ENDIF.
      75
      76 ENDIF.
      77
      78 *** records to delete
      79 IF NOT it_partner_records_to_delete IS INITIAL.
      80 DELETE crmd_partner FROM TABLE it_partner_records_to_delete.
      81 IF sy-subrc NE 0.
      82 MESSAGE a002(com_partner) WITH gc_object_name_partner.
      83 ENDIF.

    Hello Atul,
    thanks for your message. I have had a look at the SAP notes that you have pointed me to, however they unfortunately do not relate to the functionality where we are encountering this problem:
    1914117 - Relates to Sales (not Service {Employee})
    1823316 - This error occurs in the wrong FM (BUR_BUPR_UPDATE) rather than FM COM_PARTNER_UPDATE_DU.
    1809361 - Relevant for the SAP GUI transaction, 'BP', not the Interaction Centre which iswhere this error is occuring.
    SAP have not been able to help because of its intermittent nature, it is not possible to create this error on demand, and as I am working on a secure site SAP cannot open a remote connection.
    thanks,
    Martin

  • Wls 10.0 - intermittent 401 errors

    I have a simple HelloWorld servlet that is configured to use CLIENT-CERT as the authentication mechanism.
    I am attempting to deploy this to a WLS 10.0 instance (though the problem I'm seeing also occurs under 9.2)
    When I access the servlet once from my web browser everything works fine, the 2-way SSL handshake takes place and I get the output from my servlet.
    However, if I attempt to access the servlet from multiple tabs concurrently, I get 401 errors intermittently. I can pick any one of the tabs that has a 401 error, hit 'reload' and get the correct output from the servlet.
    I'm concluding that this problem shows up when too many concurrent authentication attempts are made I get the 401 errors.
    This problem disappears if I remove the <security-contraint> section from the web.xml. This leads to the following questions:
    1) If the <security-constraint> configures the servlet to allow any authenticated user (i.e the role specified maps to <principal-name>users</principal-name> in weblogic.xml) AND my WebLogic server is configured to require client certificates (and only listen on the SSL port), is the <security-constraint> serving any purpose?
    2) How do I go about debugging this? Is this some sort of thread/resource issue that can be tweaked through WebLogic server settings somewhere?
    Thanks in advance,
    Bruce

    Probably too late for an answer but I try,
    We are not able to build our J2EE 1.4 application with weblo 10, we have to build them with weblo 8 which contains the xdoclet. then we deploy it in WL10. then sometimes we have to fix some build constraints that WL10 doesn't allow anymore.

Maybe you are looking for