NI I/O Trace VISA Open question

Hello,
I have a big application which has quite a few threads (timed while loops). One of the while loops is communicating on a specific COM port with a timed wait of 100 ms. This is the only loop which uses this specific COM port. When I look at NI I/O Trace, I see VISA Opens to this COM port every 2 ms. I have NI MAX closed. I tried changing my timed wait to 5000 ms but it had no effect.  I am trying to see if something is slowing down my application and would like to reduce these number of calls. Is NI MAX or something else trying to communicate via this COM port?
Thanks

In IO Trace, if you navigate Tools >> Options >> View Selection, you can select the ProcessID and ThreadID Column headers to see which process and thread the calls are being made from.
Also, to verify the results of IO Trace, you could run a Portmon scan while the application is running.
'Portmon for Windows v3.03'
https://technet.microsoft.com/en-us/library/bb896644.aspx

Similar Messages

  • Erreur -1073807343 dans visa open

    pour ouvrir une application (sur un systeme branche en serie) j ai regulierement l erreur  -1073807343 dans visa open==> les informations concernant la position sont insuffisante
    ou peripherique absent....alors que celui ci est present
    merci

    Hi Akim_10,
    This part of the Forum is in English; please refer to this part of the Forum
    to write in French.
    Concerning your question:
    When entering
    the VISA resource name input for the VISA Open function or the VISA Serial
    Config function, do not use the standard port names (COM1, COM2, LPT1, etc.).
    Instead use the VISA resource name for these ports: COM1 is ASRL1::INSTR, etc.
    For example:
    Place a VISA Open
    function on your block diagram and use the wiring tool to right-click on
    the VISA resource name input.
    Select Create » Control
    from the right-click menu.
    Go to the front panel
    and right-click on the newly created control.
    Select Allow Undefined
    Names from the right-click menu (if it isn't already selected).
    Enter the VISA Resource
    Name for your port. The name should look something like
    "ASRL1::INSTR". Note: This name can be found in the Measurement
    & Automation Explorer (MAX) under Devices and Interfaces » Ports
    (Serial & Parallel). For example, click on COM1 and you will see its
    VISA Resource Name in the right-hand portion of the MAX window.
    Benjamin R.
    R&D Software Development Manager
    http://www.fluigent.com/

  • NI-VISA 5.1.2 exits/closes right after launching it on a Linux CentOS 6.2 PC, also crashes LabVIEW when trying to create VISA ref constant for VISA Open.

    After installing LaBVIEW 2011 and NI-VISA 5.1.2 on a CentOS 6.2 PC, I had noticed a problem with trying to use the VISA vi's in LabVIEW, basically it's not working for me, LabVIEW crashed when trying to create a control or constant for the VISA Open vi.  Tried to launch the VISA tools, they all start and then close abruptly.  NI I/O Trace only shows one line.
    I did read though many threads and decided to collect the NI system.log, which is attached. (system.log.gz).  I did notice a strange message in here about nivisaserver:
    /usr/bin/tail --lines=25 /var/log/messages:
    May 22 11:18:48 localhost abrtd: Package 'nivisaserver' isn't signed with proper key
    May 22 11:18:48 localhost abrtd: Corrupted or bad dump /var/spool/abrt/ccpp-2012-05-22-11:18:48-3258 (res:2), deleting
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    system.log.gz ‏621 KB

    MountainMan12 wrote:
    After installing LaBVIEW 2011 and NI-VISA 5.1.2 on a CentOS 6.2 PC, I had noticed a problem with trying to use the VISA vi's in LabVIEW, basically it's not working for me, LabVIEW crashed when trying to create a control or constant for the VISA Open vi.  Tried to launch the VISA tools, they all start and then close abruptly.  NI I/O Trace only shows one line.
    I did read though many threads and decided to collect the NI system.log, which is attached. (system.log.gz).  I did notice a strange message in here about nivisaserver:
    /usr/bin/tail --lines=25 /var/log/messages:
    May 22 11:18:48 localhost abrtd: Package 'nivisaserver' isn't signed with proper key
    May 22 11:18:48 localhost abrtd: Corrupted or bad dump /var/spool/abrt/ccpp-2012-05-22-11:18:48-3258 (res:2), deleting
    Hi MountainMan,
    Thanks for attaching the system report log -- I believe I have a solution for you :-) Let's look at a few of the lines:
    890: /proc/meminfo:
    891: MemTotal: 3894712 kB
    1726: /proc/iomem:
    1784: 100000000-12dffffff : System RAM
    1807: /bin/dmesg:
    1820: BIOS-provided physical RAM map: 2576: [nipal] More than 4GB of addressable memory detected.
    1838: BIOS-e820: 0000000100000000 - 000000012e000000 (usable)
    2576: [nipal] More than 4GB of addressable memory detected.
    2577: [nipal] This configuration is not supported. Check the release notes for more information.
    Starting at the bottom at lines 2576..2577, dmesg had more than just the NI-VISA server signing notification. At system boot, the NI kernel modules refused to load because they detected more than 4 GB of addressable memory. But, if you look towards the top at lines 890..891, meminfo says you have less than 4 GB of system memory, which makes it seem like the NI modules don't know what they're talking about. However, if you look at the report from iomem a little further down on lines 1726..1784, system RAM has been re-mapped above the 4 GB boundary. While your system doesn't have more than 4 GB of RAM, some of its memory has addresses above 4 GB, which the NI modules cannot use and so they refuse to load. How did that happen? Your system BIOS provided a physical RAM map with usable addresses above the threshold (line 1838).
    The fix here is simple -- you need to tell the kernel to reserve addresses above 4 GB [1] so that it won't remap the RAM to higher memory. Once all of the RAM has addresses below the 4 GB threshold, the modules should load and VISA/LabVIEW/et al should stop misbehaving.
    It seems to me that LabVIEW is not handling this situation very gracefully, and maybe you can work with Kira to file a bug report.
    [1] Re: Successful SUSE linux and DAQmx install; nilsdev and other utilities missing.
    http://forums.ni.com/t5/Multifunction-DAQ/Successful-SUSE-linux-and-DAQmx-install-nilsdev-and-other/...
    Joe Friedchicken
    NI VirtualBench Application Software
    Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
    Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
    Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
    Senior Software Engineer :: Multifunction Instruments Applications Group
    Software Engineer :: Measurements RLP Group (until Mar 2014)
    Applications Engineer :: High Speed Product Group (until Sep 2008)

  • Old visa open, error code 1073807343, using VISA with a GPIB device, and VISA resource names

    Hi everyone,
    I'm trying to get a SRS model SR720 LCR meter (manual on this page) working with LabView, connecting it to my PC with an Agilent 82357A GPIB/USB interface (manual on this page). I'm running MAX version 14.0, and NI-VISA version 14.0. I'm running LabView version 13.0f2, 32 bit.
    I followed the directions on this page, and I'm pretty confident I can communicate with my LCR meter, because I can go to NI MAX->GPIB0::17::INSTR under "devices and interfaces", then go to the VISA test panel, go to the I/O tab, and I can enter a few commands from the SR720 manual, like changing the frequency, and I see the light on the LCR meter change to what I just told it to do. Here is a picture, just to illustrate it:
    Also, if I do the *IDN? command, it returns "
    9: Write Operation (*IDN?)
    Return Count: 5 bytes
    10: Read Operation
    Return Count: 41 bytes
    StanfordResearchSystems,SR720,08087,1.03\n
     So, that's good too. I also made the alias of this device "MyLCRmeter", but that shouldn't matter for now.
    Now I'm trying to get it to work in a more usable way. The SR7xx drivers that LabView found for me came with a couple sample programs, one called "Getting Started.vi". I tried to just simply see if it worked, changing the "instrument descriptor" field to "GPIB0::17::INSTR", since that's the one that seemed to be the right device in MAX. Here is a picture of the front panel of "Getting Started.vi":
    Trying to run it like this gave me this error (code -1073807343):
    Old VISA Open in SR715/720 Initialize.vi->SR715/720 Getting Started.vi
    Doing a bit of searching on these forums, I found these few threads (1 2 3), which seem to tell me that, since this program was written, the way you open VISA has changed. In the 2nd of those links, one guy said:
    You just have to replace the Old VISA Open function with the VISA Open that is on the Instrument I/O>VISA>VISA Advanced palette. When you do that, the wire to the string that was used for the resource name will be broken. Delete the string and make the actual VISA Resource Name visible on the front panel. Wire the VISA Resource Name control to the connector pane where the string control was (upper left connection).
    So, I went into the sub-VI Initialize.vi, and did that. Here is a picture of what the front panel and block diagram of the sub-VI Initialize2.vi (I changed the name in case I screwed things up, but I'm pretty sure the new one is the one being called by Getting Started.vi) looked like before I changed anything (you can see the Old VISA Open):
    and here it is after replacing that with the regular VISA Open, deleting the instrument descriptor string and replacing it with a VISA resource, and connecting that to the VISA Open:
    However, as you can see in the image above, and it seems like someone else had this problem in the 2nd thread linked above, I don't see my device listed in the drop-down menu (even if I refresh), only "LPT1" (I don't even know what that is):
    No, I wasnt able to select the visa resource from the pull down menu. somehow it seems disabled or something.
     If I just enter the VISA resource name from MAX manually, GPIB0::17::INSTR, and save and try running that, I get the error(code -1073807346):
    VISA Open in SR715/720 Initialize2.vi->SR715/720 Getting Started.vi
    So I'm not sure where to go from there, or why it's not in the drop down menu to begin with. I'm sorry if I've missed something but I've searched about as far as I can go. If I had to guess, maybe one thing could be that in MAX, under Tools->NI-VISA->VISA Options->My System->Conflict manager, I have both Agilent VISA and NI VISA enabled; I know sometimes problems arise from conflicts between different software fighting over the same hardware. Is this okay, or do I need to change it?
    Thank you and please let me know if there is any other code/screenshots I could provide that could help!

    Hi, I did indeed enable NiVisaTulip.dll under MAX->Tools->NI-VISA->VISA Options->My system->Passports->List of passports. Sorry, I should have mentioned that explicitly.
    By install as primary, do you just mean as it is here, where it is selected as the "Preferred VISA"?
    Or somewhere else? I installed NI-VISA first I believe, and then the Agilent one, and during the installation of the Agilent one, I'm pretty sure I made it not the primary. Here's what I have in the Agilent (it's called Keysight now) Connection Expert software:
    I also have this under the "Keysight 488 options" tab:
    Should that be checked? I don't actually know the role of VISA vs 488 here...
    What could I try?
    Thank you!

  • Visa Open and Close on every iteration of loop

    I have noticed that when you open the front panel of the Instrument I/O Assistant, the diagram starts with a visa session open, sets timeout property, writes, reads, parses data and ends with a visa session closed.  If I were to place this into a while loop the visa session would open and close on each iteration of the loop. 
    Is it common practice to open and close the visa session on each iteration?

    No you would not want to open and close that often. If you want to use the Instrument I/O assistant what I would do is configure it the way you want and then save it under another name so you can open the block diagram. Pull the VISA open and close outside of your loop.
    Using LabVIEW 2010SP1 and TestStand 4.5

  • When trying to work with Agilent 34401A multimeter (serial RS-232 connection), HP34401A Getting Started.vi gives always the message: "Error 1073807369 occurred at Old VISA Open ".

    Baud rate and parity are set correctly, RS-232 cable is also connected correctly. My QuickBasic program has no problems to read and write to the Multimeter. It is obviously a software problem: the same error is persistent if I disconnect RS-232 cable.
    I downloaded NI-VISA 2.6 for Windows 95/98/NT/ME/2000/XP frorm digital.ni.com and installed it. But it did not help.
    Thank you in advance
    Best regards
    Alexei Soloviev

    Hi Steve
    I have problems with the 34401A and serial communication. Do you remember
    where the error was in the code ?
    Thanks
    Klaus
    wrote in message
    news:[email protected]..
    > Alexei,
    > This may or may not help, I was tasked to do something similar
    > recently and found an error in their driver. The GPIB VISA worked
    > fine, but when I tried it on serial it played up. There was an errant
    > carriage return (or CR/LF I can't remember). GPIB liked one and Serial
    > liked the other. It always amuses me that we never have problems with
    > Quickbasic!.
    > If you want me to dig deeper give me a shout.
    >
    > Steve Watts
    >
    > On Thu, 24 Jan 2002 06:16:55 -0800 (PST), "Alexei V. Soloviev"
    > wrote:
    >
    > >When trying
    to work with Agilent 34401A multimeter (serial RS-232
    > >connection), HP34401A Getting Started.vi gives always the message:
    > >"Error 1073807369 occurred at Old VISA Open ".
    > >
    > >Baud rate and parity are set correctly, RS-232 cable is also connected
    > >correctly. My QuickBasic program has no problems to read and write to
    > >the Multimeter. It is obviously a software problem: the same error is
    > >persistent if I disconnect RS-232 cable.
    > > I downloaded NI-VISA 2.6 for Windows 95/98/NT/ME/2000/XP frorm
    > > digital.ni.com and installed it. But it did not help.
    > >Thank you in advance
    > >Best regards
    > >Alexei Soloviev
    >

  • Visa open problem

    Hi 
              I'm using  labview2009. I've connected 8593E spectrum analyzer using GPIB interface to my PC.The problem is the instrument address is not coming automatically in the VISA open function input when I connect the instrument to my PC. can anyone sort it out. I've installed Agilent IO libraries suit15.0 and NI device drivers.
    Regards
    RobinHood

    Hi,
     If you are using Agilent GPIB then i guess u need passport tulip. Steps to do it i will attached here the manual.I guess it should work. 
    Attachments:
    Steps_for _Installation_of Intru_Labview.pdf ‏712 KB

  • Open question on lines TOUCHing or CONNECTing

    posted as an open question/discussion:
    the TOUCH mask for spatial operators between lines is both valid (among others) for
    |
    |
    |--------------
    |
    Horizontal Line boundary intersecting with Vertical line interior
    as
    |
    |
    |__________
    Horizontal Line boundary intersecting at Vertical line boundary
    The question is:
    could it be useful to have a specific operator distinction between the first and second situation, to distinguish those situation?
    this could allow for quickly query/analyse lines that are CONNECTing excluding the first situation, using only sdo_relate with a CONNECT mask?
    this means the following 9i element matrix cases (now all TOUCH) could be CONNECT:
    10*0*1*11, allowing only 1 or both line boundaries intersecting at another line boundary(ies).
    (I know an alternative is using sdo_relate with one of the spatial functions in the select clause.)

    Luc,
    Thanks.
    I think that it would be a good idea. I am sure if I sat down and thought for a moment I would come up with a good business situation that it would help with.
    My current client is a UK environment organisation and they capture certain environmental features as invidual lines which join together to make a feature. Within the Oracle table the component parts are stored in separate rows with attributes to piece them together. I am sure your proposal would help to provide another easy solution.
    Ivan

  • Open Question: question to those who comment about the lack of apps for Windows Phone 8

    We have read every Lumia review and we are listening. An open question to those who comment about the lack of apps for Windows Phone 8.Tell us which apps you miss? Nokia/MSFT Customer Care

    The major apps that are missing are Banking Apps.  There are a few, but major banks like Regions Bank, Capital One Bank, are nowhere to be found for Windows Phone.  Microsoft should be pursuing these banks to develop apps for the platform.  Maybe bribe them with free software or tech support or something.  Also some of the dating apps like Grindr for the gay community, Blender for the straight community, are lacking as well.  Perhaps Microsoft could assist them in developing the "unified" app for both Windows and Windows Phone?
    In fact, Microsoft would do well to begin a "Developer Assistance Program" where developers could (for a small fee) contact the DAP Center and get assistance with issues creating apps for the Windows Platform.  If developers know they have a source to go for assistance, they may be more inclinded to develop better apps.

  • LV5 VISA Open vs LV6 VISA Open

    Currently have TestStand feeding the VISA Resource Name (string) into a LV5 VISA IO Open. We have upgraded to 6i and would like to re-use our current VI's. How do I mimic this same interface using the LV6i VISA IO Open. Specifically, how do I convert the TestStand string into the VISA Resource Name, such that it is controlled thru TestStand.

    In my LV5 VIs I wrote for TestStand, I had string constants wired to the VISA Open and when I converted to LV6, it used a new function called Old VISA Open. However, I have no idea where to find this function on any of the pallettes. I've had to do a copy and paste for new VIs when I've wanted the same functionality.

  • DETT - navigate to call chain VIs opens in RT target

    Minor annoyance here. Have spent a little bit of time the last couple of days tracking down reference leaks in an application.
    Naturally, the Desktop Execution Trace Toolkit is the weapon of choice here. Running a trace and running the main VI in the development environment has allowed me to track down the reference leaks, but I find it odd that right clicking on one of the entries and selecting a VI in Navigate to Call Chain VIs always opens the calling VI in my real time target...even if it's not used there.
    Can I change the default 'target' on which to open it when selecting this? Most of the VIs involved have never even been introduced to the RT target, let alone being run there at the time.
    A minor annoyance, but an annoyance all the same!
    CLD

    Running on localhost, within the application instance for the particular project I'm running.
    Here's a screen of a DETT session window for a VI (SPC Example.vi, which calls the Database Manager VI) that has never been run on the RT or FPGA, just in the development environment on the PC:
    Right clicking through the call chain to Database Manager.vi, it's opened on the FPGA Target rather than the main project where it's called...despite neither being used there nor supported on that target:
    Odd!
    Edit - last week, some VIs I checked via Navigate to Call Chain open them under the RT target, when again they aren't deployed there.
    CLD

  • Titanfall Midnight Opening Question

    I just joined GCU recently and attempted to preorder Titanfall in store but was told it was too close to release to preorder. So I went home and preordered Titanfall from bestbuy.com with in store pickup on release day.
    If my Best Buy does a midnight launch what is the chance that I will be able to pick up my copy at midnight? Thanks.

    Hello hoofrog,
    I wanted to chime in real quickly to let you know that we have posted the store listing for the Titanfall Midnight Opening so you can check to see if your local store is participating. To do this, visit the Titanfall landing page and scroll down to “Related Offers.” You’ll see a link for “March 11 Midnight Store Openings” there that you can click on and select your state. The stores that populate for the chosen state are the ones that will be participating.
    Thanks again for posting and let us know if you have any questions!
    Regards,
    Matt|Senior Social Media Specialist | Best Buy® Corporate
     Private Message

  • Closed Auto Loan Reporting As Open Question

    I have an auto loan reporting across all bureaus as open but in good standing. I suppose that is well and good except for the fact that the loan was closed in Dec of last year. My question...would having the loan shown as open reduce my credit score or do you think it's helping? I've heard having a loan of that nature close can reduce your score so I'm not sure what to do about it. Any input is appreciated. Thanks!

    Well, see whether you get any other feedback from other folks on here.  But if I were you, I'd just end up having some low grade anxiety if I had a record on my report that claimed I owed a big chunk of money for something I didn't.  The explanation, I assume, is that the creditor never updated the record to show that you paid off the loan. Unless someone here tells you differently, I'd reach out to the lender and confirm with them that they agree that you paid off the loan in December.  If they do agree, explain that they haven't yet updated the final status of the account to show that you paid it off -- and ask them to do that.  That way you'll end up with an accurate report that shows future creditors that you can manage and pay off a car loan. I have allowed incorrect data to stay on my report when it is absolutely 100% positive.  This is a bit of a mixed bag: a record that falsely asserts you still owe a creditor a good chunk of change.  Whetever benefit you get out of it being "open" doesn't seem worth it to me.  But see what other people say.

  • Exception stack trace while opening the file in JDevloper

    Hi,
    When I want to open .jsp file from Application Navigator to Editor then this error appeared
    Exception stack trace:
    java.lang.NullPointerException
         at oracle.jdevimpl.webapp.design.util.InvisibleJspElementsUtil.applyInvisibleJSPElements(InvisibleJspElementsUtil.java:108)
         at oracle.jdevimpl.webapp.design.util.InvisibleJspElementsUtil.applyInvisibleJSPElements(InvisibleJspElementsUtil.java:78)
         at oracle.jdevimpl.webapp.design.util.InvisibleJspElementsUtil.applyInvisibleJSPElements(InvisibleJspElementsUtil.java:47)
         at oracle.jdevimpl.webapp.design.view.DesignTimeFixedViewDocument.rebuildTree(DesignTimeFixedViewDocument.java:162)
         at oracle.jdevimpl.webapp.model.content.dom.view.proxy.ProxyViewDocument.initialize(ProxyViewDocument.java:80)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.rebuildViewDocument(AbstractWebAppEditor.java:686)
         at oracle.jdevimpl.webapp.editor.html.HtmlEditor.rebuildViewDocument(HtmlEditor.java:621)
         at oracle.jdevimpl.webapp.editor.jsp.JspEditor.rebuildViewDocument(JspEditor.java:209)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.createDocuments(AbstractWebAppEditor.java:1206)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.open(AbstractWebAppEditor.java:393)
         at oracle.jdevimpl.webapp.editor.html.HtmlEditor.open(HtmlEditor.java:172)
         at oracle.jdevimpl.webapp.editor.jsp.JspEditor.open(JspEditor.java:113)
         at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:239)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:90)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:275)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1261)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1196)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1131)
         at oracle.ideimpl.editor.EditorManagerImpl.whenOpenEditor(EditorManagerImpl.java:2332)
         at oracle.ideimpl.editor.EditorManagerImpl.handleDefaultAction(EditorManagerImpl.java:1893)
         at oracle.ide.controller.ContextMenu.fireDefaultAction(ContextMenu.java:343)
         at oracle.ideimpl.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1576)
         at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:1913)
         at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:1934)
         at oracle.ideimpl.explorer.CustomTree.processMouseEvent(CustomTree.java:176)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    What is the problem in my JDevloper 10.1.3.2?
    Regards,
    Rajendar.
    Edited by: Rajendar Are on Nov 28, 2008 1:28 AM

    I don't have that version.Please tell me why this problem is occurring?
    For rectifying this error I stopped all processes in JDeveloper and restarted.Still it gives me error alert.
    Regards,
    Rajendar.

  • Window.opener question

    Hello,
    I understand that the windeo.opener reference the parent window. My question is, if I have a parent page and this page calls page2 and page2 calls page3, how can I reference the parent page from page3?
    I am using window.opener."the applet name" but I get an error:
    Something like:
    The callee server is unavailable and has disappeared.
    Can anyone help me solve this problem??? Please let me know if I can provide more information..

    When working with javascript in multiple windows like this, it is very easy to get lost.
    I think what you missed in accessing your applet was a "document" object.
    There are a couple of hints for writing javascript:
    1 - you can type javascript into the address bar like so:
    javascript:alert(window.opener)
    You then follow the path to the object you want as long as you can. Build it up slowly, so you see where the chain breaks.
    javascript:alert(window.opener.opener)
    javascript:alert(window.opener.opener.document)
    javascript:alert(window.opener.opener.document.applets)
    javascript:alert(window.opener.opener.document.applets.length)
    2 - General design: Don't reference stuff on other pages - call functions on the page only.
    Rather than calling window.opener.opener.document.applets[0]. (ie referring to the applet from window 3)
    do this
    window.opener.opener.saveApplet() (from window 3 call the saveApplet function on window1)
    and on the first page have
    <script>
    function saveApplet(){ 
    document.applets[0]. ...
    </script>
    This provides a sort of interface for other pages to use, so they don't have to refer to details on the page.
    If you change the layout of the page, or the name of the applet etc etc, you only have this one place to modify it. It can save you a nightmare in javascript errors later on.
    Good luck,
    evnafets

Maybe you are looking for