0...unbounded RFC only called once

Hi All
I have a 0...unbounced RFC. In the MM I duplicated the subtree, Now if a field is = to 1,4,9,10,12 it need to call the rfc and then for 4 and 9 agian. Now what happens is when I use 1 header and one detail line with the field = to 4 or 9 it calls the RFC twice, but when I have 2 header line and 2 detail line with the field = 1 and 4 or 9 the RFC only get called once?
Any help will be appreciated
Regards

>
stephan claassen wrote:
> Hi All
>
> I have a 0...unbounced RFC. In the MM I duplicated the subtree, Now if a field is = to 1,4,9,10,12 it need to call the rfc and then for 4 and 9 agian. Now what happens is when I use 1 header and one detail line with the field = to 4 or 9 it calls the RFC twice, but when I have 2 header line and 2 detail line with the field = 1 and 4 or 9 the RFC only get called once?
>
> Any help will be appreciated
>
> Regards
ideally your condition for the first subtree sud be
create if source field is equal to 4 or 9
for the second subtree it should be
create if source field is equal to 1 or 10 or 12
Is this what you are looking for?
Else can you explain in a better way so we can help.

Similar Messages

  • SaveState and resetState only called once for a component in a dataTable?!

    I am fairly new to JSF and am trying to write some custom components using MyFaces 1.0.9.
    I am trying to write choose, when and otherwise components to mirror the functionality that XSL provides. I also created function and argument tags that allow me to call any method on a binding bean via a method binding. The when tag allows a function tag as a child so that instead of a test to a value binding, I can call a function on a bean to get the test value.
    Example:<x:choose>
    <x:when>
      <x:function name="#{myBean.myFunction}">
       <x:argument value="testValue" />
       <%-- I will render some components here --%>
      </:x:function>
    <x:otherwise><%-- here is the else components to render --%></x:otherwise>
    </x:choose>I am evaluating the UIWhen components in the encodeChildren method of my UIChoose component.
    Everything is working fine until I started using my tags/components in a data table. Now, I have not tried the normal dataTable, I am using the MyFaces extended one, but I haven't done anything that should make a difference.
    What is happening is that my UIWhen tag's saveState and restoreState methods are only being called once, despite the fact that there are 3 rows in my data table. So what happens, is that the isRendered() property of my UIWhen component is not restored per row, but only once. So my controls are either all validated or none are validated based on the rendered state of the last row only, not each individual row as expected.
    I may be able to "fake" this into working by saving hidden input tags when rendering my UIWhen components and then restoring the rendered property when the page is posted, but that seems like a hack to me. Isn't the purpose of the saveState and restoreState supposed to handle this?
    Is this a bug in the dataTable component/tag or is this a shortcomming of JSF?
    Either way, is there a better way then trying to save my rendered state per row as hidden elements?
    I looked at the code of the normal dataTable renderer in the MyFaces source, and it does not seem to call restore or save state that I could see.
    Thanks for the help,
    Andrew

    Hello!
    You can place in the data model editor formula and placeholder
    columns outside of any groups. I think you need for each of your
    summary-attibutes a placeholder column and one formula column.
    Use the formula column to populate the placeholders via PL/SQL.
    Afterwords you can reference the placeholders anywhere you want.
    Regards,
    Hajo Winkler

  • HT5463 my phone log also shows the call that made it through only called once...shouldn't it have shown twice?

    iphone 5 issue with DO NOT DISTURB feature.  Feature is ON, allowing FAVORITES to be able to call, I RECEIVED A TELEMARKETING CALL THAT BYPASSED THE SETTING as my phone log only shows they called once and the phone rang and I answered.  Shouldn't the phone log show they called twice?  Otherwise I have to consider this another failure by Iphone 5.

    Here's an update. I just did the Disk Utility tests, of basically all the elements that appear on the left of the window (3 available selections), including the Macintosh HD one. They all passed the verifying and repairing processes, no warnings or errors whatsoever. Yay. The point is, yesterday I was looking at my photos from the Finder. I wasn't doing anything at all, really, not even moving the cursor, when I suddenly heard the HDD making the working-noise without stopping, just that constant scratchy noise. This went for something like 7 seconds straight, and at the very next moment, it started making a consecutive and tempoed stream of this same sound, but a little bit less intense, with interlapses of about a sec. This continued for about a whole minute. I'd like to know if things are really fine.
    As I previously described, the guys at iShop almost don't want me there anymore, or at least that's what their distanced attitudes get my into thinking. I visited the place some days ago, to look at the new iPod Touch pretty quickly, and I clearly felt that the guards were watching me closely, you know, with a hostile mannerism, the kind of stance that you use, with arms folded, to look kind of intimidating. I really didn't do anything to deserve that paranoic and ridiculous behavior. What happened was, a bit hottened discusion with the manager, when I was telling him I needed a replacement, and he really wasn't giving me an empathetic and understanding attitude.
    If a call to Apple Support is required soon, and my computer needs to be repaired or the HDD replaced, they'll most likely send me there, since it's the most prominent place of recommendation. Sincerely speaking, they do seem like the most prepared personel, and they aren't great per se. If that is so, I really, really hope that the hard drive is the only part or detail that needs some technical considering, and deserves my stress.
    Thanks for your consideration, so far so good.

  • When people call my phone it only rings once and then goes silent until voicemail picks up?

    Is anyone having a problem with their voicemail on Iphone 4s.  When people call me it only rings once on their end and then goes silent until my voicemail picks up?

    Then get your iPhone checked out by an Apple Genius.. Or you can go online and Apple will check out your iPhone with an App sent via email.............

  • Can only call webservice once

    I can only call a webservice once, after that I get the following error, it works fine on the 1st call.
    java.lang.NullPointerException
         at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:45)
         at javax.servlet.GenericServlet.init(GenericServlet.java:241)
         at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
         at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
         at weblogic.servlet.internal.StubLifecycleHelper. (StubLifecycleHelper.java:48)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
         at weblogic.servlet.internal.ServletStubImpl.checkForReload(ServletStubImpl.java:465)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:240)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)

    This issue is happening with the following stack trace. We are trying to understand the causes.
    Help on this issue is very welcome.
    SOAPAction: "http://www.openuri.org/RequestAssegna"
    User-Agent: Axis2
    Transfer-Encoding: chunked
    ]] Root cause of ServletException.
    java.lang.NullPointerException
    at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:45)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
    at weblogic.servlet.internal.ServletStubImpl.checkForReload(ServletStubImpl.java:486)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:240)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3717)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)

  • FaceTime call to my iMac will only ring once then hang up and won't let me answer. How do I make it ring more times?

    FaceTime call to my iMac will only ring once then hang up and won't let me answer. How do I make it ring more times? I can call my iphone 4 from the imac with no problem but when I call my imac from my phone, it won't let me answer.

    This article is pretty long but it has a troubleshooting guide near the bottom, and especially mentions your problem with a few things to try.
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-facetim e-set-up-use-and-troubleshooting-problems/

  • Spry Tab link only works once... why?

    Hi all,
    I have a spry tabbed area with 4 tabs on my page. Each tab contains data that is dragged from an MSAccess table. A couple of the tabs have repeat regions. This all works fine.  One of my tabs has a repeat region where I can click on a button image to change a record status from True to False (or visa versa). The click runs the associated vbscript which executes the SQL update statement no problem. However I noticed that when I changed the data on this tab and reloaded the page using a Response.redirect after the sql update was executed, it would default to the 1st tab and not the one I was viewing that contains the repeat region. A quick search led me to the SpryURLUtils.js file which solved that problem by allowing me to specify which tab to load. I appended the relevant code to give me this:
    Response.Redirect("myrecord.asp?" & Request.QueryString & "&tab=1#TabbedPanels1"
    As I mentioned, the tab contains a repeat region. If I click on a button to change the status of that record the page reloads fine and displays the correct tab. But this only happens once... each subsequent time I try to change another record my tab contents disappear. The tabs are still visible and if I click on the tab where I've changed the data the tab content is dispalayed, but obvioulsy this isn't right... it should reload and display the correct tab with each call of the code.If I navigate away from this page and then come back to it I can successfully chnage one record and the results are displayed. Change another record and the changes are made, but the tab contents are not displayed again. The interesting thing is that if I reload/refresh the page the problem occurs staright away on the first record change.
    So my question is 2-fold... Why is this happening and how do I solve the problem?
    Here is the vbscript that updates the record and  does the Response.redirect
    <%
    'Change Notification
    If (CStr(Request("ToggleNotify")) = "ToggleNotify") Then
    dim strSQL
    'check to see if notification is currently true or false
        If cstr(Request.Form("NotifyChanges")) = Cstr("True") Then
        'change notifiaction to false
            strSQL = "UPDATE tblUserAccess SET NotifyChanges=0 WHERE AccessID = " & Request.Form("hiddenAccessID")
        else
            strSQL = "UPDATE tblUserAccess SET NotifyChanges=-1 WHERE AccessID = " & Request.Form("hiddenAccessID")
        end if
        Set MM_editCmd = Server.CreateObject ("ADODB.Command")
        MM_editCmd.ActiveConnection = MM_VBUsers_STRING
        MM_editCmd.CommandText = strSQL
        MM_editCmd.Execute
        MM_editCmd.ActiveConnection.Close
        Response.Redirect("myrecord.asp?" & Request.QueryString & "&tab=1#TabbedPanels1" )
    End If
    %>
    Here is my Repeat region with the associated form
    <%
    While ((Repeat3__numRows <> 0) AND (NOT rsAccessRights.EOF))
    %>
    <form name="frmNotifications" method="post" action="">
      <tr class="PageText">
        <td width="200"><%=(rsAccessRights.Fields.Item("SectionTitle").Value)%>
            <input type="hidden" name="hiddenAccessID" id="hiddenField2" value="<%=(rsAccessRights.Fields.Item("AccessID").Value)%>">
        </td>
        <td width="200">
                    <%If (CStr((rsAccessRights.Fields.Item("NotifyChanges").Value)) = CStr("True")) Then %>
              <input type="image" src="../sitegraphics/accept.png" alt="Submit button">
            <%else%>
              <input type="image" src="../sitegraphics/cross.png" alt="Submit button">
            <%end if%>
        <input type="hidden" name="ToggleNotify" value="ToggleNotify">
        <input type="hidden" name="NotifyChanges" id="test" value="<%=cstr((rsAccessRights.Fields.Item("NotifyChanges").Value))%>">
       </td>
    </tr>
    </form>
      <%
      Repeat3__index=Repeat3__index+1
      Repeat3__numRows=Repeat3__numRows-1
      rsAccessRights.MoveNext()
    Wend
    %>
    And here is the bit at the bottom that specifies the default tab if nothing is passed in the URL
    <script type="text/javascript">
    <!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1", {defaultTab: params.tab ? params.tab : 0});
    //-->
    </script>
    Sorry for the long post!
    This is my first dabble with Spry stuff, so I'm a bit green. If anyone can explain to me why this is happening that would be most apopreciated. If anyone can tell me how to solve the problem I'll send them a big e-kiss!
    Not sure how impotant this is but it happens in both Firefox and IE8.
    Thanks in advance
    Dan

    Hi Ben, thanks for taking the time to read my query.
    The site in question is an intranet site, so I am unable to give you a link to the page. Would the entire page of code rather than just the odd bits help?
    Cheers
    Dan

  • Http-xi-RFC synchronous call - multiple records ?

    Hi Gurus,
    Can we have multiple records processing in RFC synchronous call ? for ex, BAPI_COMPANY_GET_DETAIL. I want to feed multiple company ids and get the responses in browser.
    I have changed cardinality in message mapping and interface mapping as <b>o to unbounded.</b> Tested the same which works fine.
    But, <b>when I activated the interface mapping, I get an error</b> which says I can not use multi mapping in synchronous RFC call.
    what is the alternative ? please help.

    HI,
    It is better to use the RFC lookup in mapping and get the multiple records , i men each one for one lookup , so that in your mapping use UDF for RFC lookup.
    see the below link
    Lookup - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    Also read thru this to get more idea on lookups - http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0
    Lookup’s in XI made simpler - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    /people/prasad.illapani/blog/2006/10/25/how-to-check-jdbc-sql-query-syntax-and-verify-the-query-results-inside-a-user-defined-function-of-the-lookup-api
    Lookups - /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes
    Lookups - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    Lookups with XSLT - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
    Regards
    Chilla

  • Pinch zoom-in/out only works once in Safai

    Outside of Safari, the pinch gesture works normally. In Preview it will zoom in or out as deep as I need. But when I try and use the gesture in Safari, it will only work once until I 'CMD' + '0' or click "Actual Size" in the View tab. It doesn't zoom on a gradient either. Pinch-open is the equivalent of 'CMD' + '+' and pinch-close is the the equivalent of 'CMD' + '-'. After I make the gesture once, I can pinch all I want and nothing happens. I need to revert the page to its original size for the gesture to work again (still only once).
    I have an i7 Macbook Pro running 10.6.8. Can anybody help me out?

    Sorry, I didnt do a good enough job explaining my issue/bug above. I can't attach a screen shot becuase of where I work and what this content is so I will do the best I can explaining it in text.
    I have a row of buttons created in InDesign that have no effects, no rollovers and lets just call them Apple In, Apple Out, Orange In, Orange Out, Banana In, Banana Out, etc.
    The Apple In button invokes an animation called Apple Fade In. Apple Out simply fades out the content animation. All of the other buttons function the same way. In my exported .swf I can click Apple In and I get my content as expected, I click Apple Out and away it goes. All other buttons work the same way, as expected. If I go through all my fruit and now I want to go back and display the Apples again. I click Apple In and NOTHING happens! If I click Apple Out the fade out animation works just fine, as many times as I want to click it, I get a flash of the content and it fades right out. The "In" buttons no longer work for any of the fruit after the initial "In" animation plays.
    In the Animation Panel I have the animations set to Play Once and Dont Hide. In the Layers Panel I have a layer called Apple Fade. In that Layer Group/Set I have Apple Fade Hack which consists of a native ID square no stroke and no fill grouped with my Apple content on "the stage." Also in that Layer Group/ Set is a collection of bitmap images, text, and vectors called Apple. I created the content first on a layer Apple, when I created the group with the blank square ID bumped the original content group under the parent layer and added another sub-layer called Apple Fade Hack. These two are indented and under the top level Apple Layer. I could probably get away with attaching a screen shot of the timing, layer, and animation panels if I had to.
    Thanks

  • Command Windows.open only works once

    Hi all,
    Iu2019m using javascript command window.open to open a new browser window from a html link webui and is working fine.
    The issue I have is this only works once. If you close the window that you had opened, and click again in the link it doesnu2019t work. It only works if you call another link before. It seems there is a kind of cache in somewhere.
    Do you have any idea?
    Thanks in advance.
    Fernando.-

    Fernando,
      Change ur mywindow name every time.Kindly go through following code. 
    CALL FUNCTION 'GENERAL_GET_RANDOM_STRING'
      EXPORTING
      number_chars        = 3
      IMPORTING
      RANDOM_STRING       = mywindow
    var lr_window;
    lr_window = window.open("<%= lv_id%>","<%= mywindow%>","resizable=1,width=1100,height=674,fullscreen=yes");
    if (window.focus)
    {lr_window.focus()}
    lr_window.moveTo(0, 0);
    <%
      clear lv_id.
    %>
    <%-- delete lv_window; --%>
    <%-- mywindow.close(); --%>
    <%
      endif.

  • In the holster it vibrates fine but only rings once!

    Hi would appreciate some help. New to the forum so appolagies if this has been discussed before.
    My Storm 9500 vibrates fine in the holster but only rings once! I am continually missing calls.
    I can't find how to change it. Out of the holster i have set it to ring for 30 seconds and it does just that.
    Please help and advise. It is doing my head in to try and sort this problem.
    Someone on the web suggested putting the unit into the holster upside down????
    Tried it, but it did not work.
    Thanks in advance

    Perform the suggestions mentioned in the following articles:
    * [https://support.mozilla.com/en-US/kb/Template:clearCookiesCache/ Clear Cookies & Cache]
    * [[Troubleshooting extensions and themes]]
    * [[How do I use Zoom?#w_menu|Reset Zoom]]
    Check and tell if its working.
    Not related to your problem but your Firefox Plugins are out-dated
    * Update All your Firefox Plugins -> [https://www.mozilla.org/en-US/plugincheck/]
    * '''When Downloading Plugins Update setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, Google Chrome, etc.)'''

  • Why does my iPhone only ring once?

    Why does my iPhone only ring once or not at all on incoming calls?

    It is probably because you have switched off the notifications alerts.
    Check in settings-notifications center-message and there select the alert sound.
    Reply if it helps out

  • CS3 is only fast once I leave momentarily and come back

    As stated above CS3 is only fast once I leave the program and come back. For instance I use the eraser to delete a large area of a photograph, I used circular motions stopped and immediately selected the move tool. It takes about a minute for the operation to complete but if I leave the program and jump to another app and jump back the action is completed or just about to complete. Anyone else?
    MBP 2.4ghz
    4GB Ram
    OSX 10.5.6
    CS3 10.0.1

    vp25bez6 wrote:
    Thanks BalusC. I meant it is the standard behavior of session scope.This is in fact nothing more than obvious.
    I cannot make it request scope as I cannot add new rows because a new bean is created everytime, the add action is never called on the new bean. Any suggestion to my problem?You can. Just pass the amount of rows as hidden input value and prepare the list in the bean constructor or so.

  • Making the ChangeListener only fire once on a JTabbedPane

    Hi guys, I'm having a problem with the amount of times that a ChangeListener for a JTabbedPane is called. If the user clicks on a certain tab, a JOptionPane is displayed with a message. However, I can't figure out a easy work around to make it so the listener only executes the code within it only once - I don't want the JOptionPane to come up twice. I tried doing a not-so-great boolean method:
    private void setPass(){
         if (pass)
              pass = false;
         else
              pass = true;
    }and calling it from within the listener, but I'm having trouble with it. Anyone know how to make it so the lister only fires once, or at least only displays the dialog once? I tried searching the forums using keywords such as "JTabbedPane ChangeListener pass once twice... etc" but it didn't bring anything relevant up. Thanks!

    are you sure you're using a changeListener?
    works OK in this
    import javax.swing.*;
    import java.awt.*;
    import javax.swing.event.*;
    class Testing
      public void buildGUI()
        final JTabbedPane tp = new JTabbedPane();
        for(int x = 0; x < 5; x++) tp.addTab(""+(char)(x+65),new JPanel());
        JFrame f = new JFrame();
        f.getContentPane().add(tp);
        f.setSize(300,200);
        f.setLocationRelativeTo(null);
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.setVisible(true);
        tp.addChangeListener(new ChangeListener(){
          public void stateChanged(ChangeEvent ce){
            JOptionPane.showMessageDialog(null,tp.getTitleAt(tp.getSelectedIndex()));
      public static void main(String[] args)
        SwingUtilities.invokeLater(new Runnable(){
          public void run(){
            new Testing().buildGUI();
    }post a sample program so we can see what you're doing
    (by compiling/running the sample program)

  • Terminatio​nStateChan​ged Callback Only Fires Once

    Hi,
    I have a TestStand OI that has a callback VI registered for TerminationStateChanged event.  Essentially, I'd like to show an image anytime the user hits the terminate button to shutdown the sequence.  It seems that the first time I run the sequence, everything works fine.  I click terminate during a sequence, TS fires my callback VI -- I trap newTermState 2 (Terminating) and am able to display the image without a problem.  However, it seems that when the user runs the sequence again, the callback VI never fires on a termination.  If I click terminate this time, TS must have received the command because the sequence does in fact terminate... but the callback VI is never called.
    Am I missing something?   Does this callback only work once? 
    Thanks!

    Hi jplotzke,
    I just wanted to clarify from my earlier post that although using the Execution.GetTerminationMonitorStatus function will detect a termination state change in your sequence, you may simply be able to use the Execution.GetStates method instead as it does not require any initialization. Note however that we can use this function without any penalty in this case since the sequence runs inside of the TestStand engine and so there is no performance hit when calling this method. On the other hand, if you were to call this method from a UI, you will be crossing a client/server boundary, which in turn will result in some performance penalty. So if you wanted to make changes to the UI instead of adding extra steps in your sequence, I recommend using the ExecutionViewMgr methods to track the Termination State as it will have the smallest impact on performance.
    I hope this clarifies some questions.
    S_Hong
    National Instruments
    Applications Engineer

Maybe you are looking for

  • Customer Statement and DI API Invoices

    Hi, We are running SAP Business One 2007A PL5. We have a number of invoices that have been created by the DI API used by the Radio Beacon/SAP interface.  These invoices are not appearing on the customer statement. The only noticable difference in the

  • How are pictures in Photoshop elements 9 linked to program?

    I have 40,00 plus pictures shown in my elements program and since I bought and loaded Photoshop elements 9 (I previously had versions 3,4,5,6,7,8), I get the notice "searching for missing files" and can't use the program software for photo processing

  • User based authorization to create Purchase Orders out of Purchase Req.?

    Hello, I have the following requiment for my client: User based authorization to create Purchase Orders out of Purchase Req.? I am told the same can be achieved using same standard menu path in IMG/Customizing. Please advise with the menu path and de

  • Account Clearing/Maintenance

    Dear All, For Acoount Maintainance using  Bapi BAPI_CTRACCONTRACTACCOUNT_CLR, Can anybody who has already used this Bapi help me to execute this. I am getting the following error: E>0                  369 Internal error: Lock missing for change / cle

  • Radeon HD 3870 Experience...

    I finally received this card today from ATI directly. I bought this card to replace my Radeon X1900. The card worked great all day. My Mac seemed to be running a little smoother and I was very happy. I now have my X1900 back in the computer to type t