SRQ event not received when multiple process open VISA instrument

I'm having two different processes opening VISA sessions to the GPIB instruments.
This first process install SRQ handler on the ressource and just wait for those events to occurs.
The second process is basically a test program using standard read/write to my instruments.
Provided my instrument is correctly configured, I've found that my first process won't see any SRQ when the second process generate badly formatted commands.
However if the first process send badly formatted commands, then it will see those events.
I've reproduced this easily with the VIC panels and I can't find any explanation for this behavior.
I've hooked an AT-GPIB+ to the GPIB bus and confirmed that the SRQ occurred has expe
cted; I've also confirmed that the GPIB controller do the serial pooling to identify the SRQ origin.
Furthermore this problem is only reproductible with instrument who do not have secondary address :
GPIB::4::INSTR => SRQ not detected
GPIB::5::0::INSTR => SRQ detected
I've tried different instruments without much differences.
Finally, writting my first process using the GPIB library instead of VISA seems to works correctly (i.e. it always detects SRQs on the GPIB bus); the only difference being that in that case my callback is installed on the GPIB board instead of the instrument.
Is it a bug in the VISA library ? How do I work around it ?

Hi,
I've further investigated the problem.
I've upgraded to NI-VISA 2.6.1 and NI-IVI 3.3. This gave better results in the event handling mecanisms, but my issue still exist.
I've tried to narrow the problem further and it seems that the issue isn't related to instruments with secondary addresses; in fact, it seems related to instruments session which already have seen SRQs before I open a second session on the same instrument.
Let me try to explain :
Process A start
open instrument GPIB0::4::INSTR
open instrument GPIB0::21::INSTR
acknowledge SRQ on both instruments
send "*SRE?" then read response
call viReadSTB()
install SRQ handler on both instruments
call viEventHandler()
call viEnableEvent()
configur
e both instruments for SRQ handling
send "*ESE 52"
send "*SRE 32"
send invalid command to instrument at address 21
send "xxx"
=> SRQ handler called for the correct instrument
acknowledge SRQ on the instrument at address 21
send "*SRE?" then read response
call viReadSTB()
Process B start
open instrument GPIB0::4::INSTR
send invalid command
=> no SRQ handler called !
install SRQ handler on this instrument
call viEventHandler()
call viEnableEvent()
=> SRQ called in process B (not in process A !)
acknowledge SRQ on this instrument
send "*SRE?" then read response
call viReadSTB()
close instrument
open instrument GPIB0::21::INSTR
send invalid command
=> SRQ handler called in process A
acknowledge SRQ on this instrument
send "*SRE?" then read response
call viReadSTB()
close instrument
I hope this detailed test sequence will help you to reproduce my problem more easily.
Sincerely,
Rémi THEVENI
N

Similar Messages

  • SRQ event not received when handling VXI interrupt event

    Hi,
    I'm writting a VISA server to handle and dispatch VXI events to other applications in my test system. Amongs those events are VI_EVENT_SERVICE_REQ and VI_EVENT_VXI_VME_INTR.
    However, i've found that installing a VI_EVENT_VXI_VME_INTR will prevent VI_EVENT_SERVICE_REQ to occurs.
    Is it a bug ?
    Is it the intended behavior and why I can't find any informations on this in the VISA programmer manuals ?

    Hi Remi,
    I have been speaking with the Product Support Engineer about this issue and he informed me that we have just released the latest version of our NI-VXI software (version 3.3). This release makes some fixes to some known event handling issues (I did not find your specific problem, but there were other similar issues). I think it is likely that this new release will fix the problem you are encountering. If not, let me know and we will try to continue to investigate the problem.
    I also noticed that you are using NI-VISA 2.5.2. Up until today the latest version for this driver was 2.6 however, we also have a new version of this driver (2.6.1). NI-VXI 3.3 installs NI-VISA 2.6.1 (refer to section 5.1.2 of the readme.txt file for the
    NI-VXI 3.3 driver). Note: If you already have VISA 2.5 installed, your configuration settings (aliases, serial port settings, etc.) will not be preserved. However, your old VISACONF.INI will be backed up as VISAINI.BAK in the same directory.
    My suggestion is to uninstal your current VISA and VXI drivers and install NI-VXI 3.3 with NI-VISA 2.6.1. Be sure to look over the NI-VXI for Windows Read Me First document first.
    You can access this download with the link below. The files should appear at the top under the title (you may need to scroll down to the bottom and click on "continue the download process" link first).
    http://digital.ni.com/softlib.nsf/websearch/30FDBEF97419A01686256D120061CBEA?OpenDocument&node=
    Let me know how it goes. Have a great day,
    Julia Dinolfo
    Applications Engineering
    National Instruments

  • OnChange Event not working when portlet is opened in Page

    The onChange event is working well in a Portlet. When a user selects a value from an LOV it is updating other LOVs. However, when that portlet is brought into the main page, the onChange event only resets the page. Is there a workaround for this?

    Hi Jerry,
    Iam also facing the same problem ....were you able to get solution ..if yes plz share...
    When I Clikced on Add Macros button in Workbook Settings ,i was able to access the buttons ..but once i close and open the workbook iam again getting the same error..
    Iam not able to Save the Workbook settings afte Clicking on ADD Macros...
    Regards,
    Ravi

  • Getting error "Object variable or with block variable not set" when trying to open a FR report in studio

    Problem Description
    We are on FR 11.1.2.2.305 installed on AIX. a user is getting this error: "Object variable or with block variable not set" when trying to open a FR report from FR studio client installed on windows xp . Initialy, we thought it may be a FR client installion issue. We uninstalled and cleaned up registry and did a fresh installation of the client but the issue still persists. The FR server and the client are on the same version.
    The user is a LDAP user who is facing the issue. We have confirmed with other users and they dont have any issue accessing FR report from their own client but when they try to connect from the users machine who is having issues, the others users also see the above error. All the users are ldap users and all belong to same shared services groups so the provisiong is the same.
    Any input will be appreciated.
    Thanks

    OK, in this case of one single computer, please make sure that settings as per below KB document as in place and then validate the issue:
    Internet Explorer (IE7, IE8, IE9 and IE10) Recommended Settings for Oracle Hyperion Products (Doc ID 820892.1)
    The information in this document applies to the following Enterprise Performance Management products:
        Calculation Manager
        Data Relationship Management (DRM)
        Enterprise Performance Management Architect (EPMA)
        EPM Workspace
        Essbase Administration Services (EAS)
        Financial Data Quality Management (FDM)
        Financial Management (HFM)
        Financial Reporting
        Foundation Services
        Interactive Reporting
        Planning
        Shared Services
        Web Analysis
    Thanks!

  • I started setting up a web page with iWeb. Auto play box is checked, but music will not play when page is opened.

    I started setting up a web page with IWeb.
    Several proplems so far:
    1) Auto Play box checked for music, but music does not start when page is opened.
    2) Can't get Quicktime "start/stop" slide to start and finish a section within a long piece of music (classical for example).  How does one work the slide bar to do this?

    Yes the audio file plays on the iWeb page when I click the play button.  I even made sure it played both without the “little boxes” that surround the icon (don’t know the technical name for those), and when I click the music icon without the little boxes.
    I did note that the iTunes window that appears when I open the Inspector is not highlighted until I click the music icon and those little boxes appear.  Then the Start/Stop, Auto Play,  Loop, and Show Movie Controller are highlighted —  and work properly.
    One other thing.  I see that the iWeb icon I am working from says “Domain copy.sites2.”  Does that have a bearing on anything?

  • Recent podcasts of podcasts I subscribe to are not downloading when iTunes is opened

    recent podcasts of podcasts I subscribe to are not downloading when iTunes is opened or Touch sync is attempted. 

    Presumably, you normally open iTunes and let it automatically check for new epsiodes. (The frequency with which it does this can be changed, see below.) Have you allowed it time to think about checking? My iTunes is set to check only once a day.
    First of all, make sure that the Settings for Podcast downloads are still set the way you want. (Settings have been known to change - especially after iTunes updates).  Look in Library/Podcasts/Settings (which is at the bottom of the Podcasts window) and makes sure that Check for new episodes: is not set to "manually" and that When new episodes are available is not set to to "do nothing".
    If those settings are okay, make sure that your iTunes can still access the internet. (Can you get the the iTunes Store front page?) If other programmes can access the internet, but iTunes cannot, check that your firewall will allow iTunes access.
    Let us know how you get on.

  • Why do I get Error -1073807343 when calling the open visa function ?

    Hello,
    I am running a Labview 6i under Linux (kernel 2.4) and I have Error -1073807343 when calling the open visa function. I have verified the name of the session (GPIB0::9::INSTR), and I can communicate with my instruments with ibic.
    More informations : I use NIVISA 2.5 and nigpib-0.8.2. I have downloaded the lastest drivers of my instruments but it doesn't work better.
    Thanks very much for your help.

    We've had several NI-VISA releases since 2.5 - so I suggest you upgrade to NI-VISA 3.0. While there isn't anything specific to your type of problem in the Linux version of our readme.txt, I know we've made a number of other fixes.
    While the most recent release is NI-VISA 3.1, I still recommend you upgrade only to 3.0.
    This is because NI-VISA 3.1 requires the new NI-488.2 release for GPIB-ENET to be installed (even though you aren't using that product). This is due to some internal rearchitectures, and the PCI-GPIB product is not released. If you do want to go with NI-VISA 3.1, the new NI-488.2 release for GPIB-ENET on Linux will still work with the PCI-GPIB beta driver that you have installed.
    Dan Mondrik
    National Instruments

  • I keep getting result code -43 not found when trying to load certain instruments. Any idea why

    I keep getting error code -43 not found when trying to load certain instruments. Any ideas?

    Errors 3000-3999 (3004, 3013, 3014, 3018, 3164, 3194, and so on): Error codes in the 3000 range generally mean that iTunes cannot contact the update server (gs.apple.com) on ports 80 or 443.
    Update to the latest version of iTunes.
    Verify the computer's date and time are accurate.
    Check that your security or firewall software is not interfering with ports 80 or 443, or with the server gs.apple.com.
    Follow Troubleshooting security software. Often, uninstalling third-party security software will resolve these errors.
    An entry in your hosts file may be redirecting requests to gs.apple.com (see "Unable to contact the iOS software update server gs.apple.com" above).
    Internet proxy settings can cause this issue. If you are using a proxy, try without using one.
    Test restoring while connected to a known-good network.

  • On my ipad mail, the attachment pdf bill with password is not visible when I am opening the mail

    On my ipad configured mail, When I am receiving an attached monthly bill pdf with password, I find that the attached file is not even visible when I am opening the mail. Hence, I am not able to see the attachment to open.
    Can anyone suggest the way out please.

    Open with free Adobe Reader.
    https://itunes.apple.com/sg/app/adobe-reader/id469337564?mt=8

  • BSEG.CREATED event not triggering when a document is posted in FB60

    Hi All,
    I have a requirement in which i need to post documents in FB60/FB65/FB01 tcode. But when i post the document in FB60 the event BSEG.CREATED is not triggering. I could not see any trace in SWEL. But when i park the document in FB60, FIPP.CREATED event is getting triggerd.
    Can anyone tell me why this BSEG.CREATED event is not triggering.
    Thanking you in advance,
    satheesh.

    Hi Viji,
    Thanks for your quick reply.
    We have maintained the required configurations in the system related to this. But still the event BSEG.CREATED is not triggering.
    for this the alternative solution is to implement the BTE '1030'. But our functional team is asking us to check whey standard business object BSEG.CREATED is not triggering when we post a document. So that particular reason we are not able to find out.
    Configuration maintained.
    1) Created a workflow variant and assigned it to particular company code(OBWA and OBWJ).
    2) Checked the 'Posting' release' and 'Release payments' checkboxes in the OBWA transaction.
    3) Event linkage for BSEG is active.(SWETYPV)
    Thanks,
    satheesh

  • Cs5 gives error that camera type is not supported when trying to open raw files but worked fine earlier

    Could not complete your request because the file appears to be from a camera model which is not supported by the installed version of Camera Raw.
    Please visit the Camera Raw help documentation for additional information.
    THis is what I get when trying to open files. Half my session opened fine then all of a sudden i get this error. Won't open in LR5 Either. HELP! using LR5 AND CS5 ON A IMAC with a canon 5dm3. everyhting is up to date as i I checked..

    I will try that now. It reads that it is up to date but I will reinstall. The session after it loaded just fine on the same card

  • Ribbon not showing when form is opened

    I have a 2007 application.  In it I have create the Usys... table and created 3 ribbons.
    1- Hide everything
    2- Ribbon for my forms
    3- Ribbon for my reports
    I set my db option to startup with Ribbon 1, and this works.  I associated ribbon 2, in my form's properties "Robbon Name", but when the form open, the ribbon does not display?  Anyone have any ideas?
    I can set any ribbon as my startup ribbon, they all appear to work.  The issue is that it won't switch to ribbon 2 when the form is opened.  When a report is opened however, ribbon 3 does appear.  Why won't ribbon 2 appear when my form opens? 
    I have validated my XML using the Custom UI Editor & all 3 ribbons validate (Custom UI XML is well formed!).
    Now I know ribbon 3 works, but if I associate that ribbon to the form, it will not display either.  So it appear that it isn't because of the ribbon, but something else?
    Another question while we are on the subject of ribbons.  I litterally copy/pasted ribbon 2  to create ribbon 3 and then edited it as required, but some tabs, groups,... have the same names between the ribbons, can this be an issue or since they
    start for scratch = true, it will have no impact?
    Thank you,
    Question.Boy

    Hi,
    the two best sites (in my opinion) to learn about ribbons:
    www.accessribbon.de
    www.andypope.info
    and indispensable:
    http://soltechs.net/CustomUI/AllGal.asp
    I use the technique of just one ribbon (one XML file) edited with notepad ++ and the invalidate method conjungate with Application.CurrentDb.Properties("ribbonXXX").Value  to change the tabs.
    See the start of my xml (all I'vd learn so far...)
    <customUI
    xmlns="http://schemas.microsoft.com/office/2006/01/customui"
    onLoad="XXX_onLoad">
    <commands >
    <command
    enabled="false"
    idMso="ApplicationOptionsDialog"/>
    <command
    enabled="false"
    idMso="Help"/>
    </commands >
    <ribbon startFromScratch="true" >
    <officeMenu>
    <button idMso="FileOpenDatabase" visible="false" />
    <button idMso="FileCloseDatabase" visible="false" />
    <button idMso="FileNewDatabase" visible="false" />
    <splitButton idMso="FileSaveAsMenuAccess" visible="false" />
    </officeMenu>
    <qat>
    </qat>
    <tabs >
    <!-- _____________________________________________________________ TABS PARA APLICAÇÃO XXX -->
    <tab
    id="tb_XXX"
    getLabel="CB_getLabel" getVisible="CB_getVisible">
    <group
    id="gp_FICHEIROS_XXX"
    getLabel="CB_getLabel">
    <button
    id="btn_CRIAR_FICHEIRO_XXX"
    getEnabled="CB_getEnabled" getImage="CB_getImage" getLabel="CB_getLabel"
    getScreentip="CB_getScreentip" size="large" getSupertip="CB_getSupertip" onAction="CB_onAction"/>
    </group >
    </tab >
    </tabs >
    </ribbon >
    </customUI >
    then I have those subs CB_getEnabled, CB_getImage, CB_getScreentip in a module call AllCallbacks...
    Read this just like an example or hints, not the best way to go. 
    HTH
    João

  • Top Sites Not Visible When Safari is Opened by a Link

    When Safari is opened via a link, such as a link within an email, clicking on the Top Site button in the menu bar does not show my Top Sites (the starting web page remains visible). The Top Sites are there because you can click in the location where you know a Top Site should be and you will go to that linked page. In order to get this working properly again, you have to close Safari and reopen. I have tried resetting Safari/Top Sites but no success. I hope this is clear; it's easier to demonstrate than to describe.

    Since the problem started ocurring after installing another application, I would suspect something with that last installation. Without knowing more about the installations, I would not be able to help much. Did the other installation perhaps install another DLL of the same name? Try uninstalling the last app to see if the problem goes away.
    - tbob
    Inventor of the WORM Global

  • E -mail is froze up and will not respond when trying to open a message

    Was de
    Letting messages from email and app froze up and will not respond to try and open up or delete messages

    Try resetting your device. Hold down the sleep and home keys, past when you see the red power down slider and until you see the silver apple. Let it reboot and try again.

  • Mail Not Launching When Trying to Open from User Folder

    Mail is not launching when I try to open it from within the home folder in my user folder. I have reported the problem to Apple.
    It does, however, launch when I try to open it from within the Applications folder.
    Any ideas why?
    Thanks in advance.
    Russell

    I do have a MS Intellipoint driver of some kind, what do you mean by "check for it"? Try a different mouse? If I uninstall the driver, will any mouse still work?
    This might not have any effect on your Adobe programs, but earlier InteliPoint drivers have caused major issues with several Adobe programs. Going back a couple of years, MS did change the InteliPoint drivers, and all was good for about a year. Then, recently, a change was made, and other problems developed with Adobe programs. Most of these were noted in Adobe PrPro. I do not recall any here.
    In those other cases, the users replaced the InteliPoint drivers with the generic mouse drivers, and the problems disappeared. Do not know if this will have any impact on your issue, but GUI problems have been cleared up with the replacement of the InteliPoint drivers.
    All that I hope is that you will find a cure to this issue. I would be very nervous, should my Assets disappear from my Windows Explorer, or similar.
    Good luck,
    Hunt

Maybe you are looking for