Make a subVI do something on first call

Hello,
I have a SubVI I made and I want it to do one thing the first time it's called and then as long as the program is running it should do another thing.  Right now I have a  "First Call" function wired to it, and that passes it a tru the first time my SubVI is ecounterd and a flase every other time... this works... but I was wondering if there is a way to do this from within the subVI itself?
Thanks!
Solved!
Go to Solution.

Why don't you place the "first call?" primitive inside the subVI?
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Cannot pick up calls on wait, Cannot make a second call holding the first call

    I have a really weird problem with my iPhone 5S. (iOS 7.1)
    1. When I am on a call, I am not able to pick up a second call that is on wait. I can see the second call, I can hear the beep sounds but as soon as I pick up, the call freezes in 00.00 time, and My first caller is still active, not on hold.
    2. When I am on a call, I am not able to make a second call placing the first call on hold. The second call disconnects immediately with 3 beeps.
    3. I am able to see the incoming calls on wait, when I am already on a call. I am able to hear the beeps coming in. SO it means the call waiting is on (Tried turning it on/off/on too.) But when I pick up the call, the above problem comes in.
    What have I tried to solve this: (None of them helped)
    1. I tried a hard reset of my iPhone (Holding Power and Home button)
    2. I tried toggling the Call waiting button
    3. I tried resetting network settings.
    4. I called my Operator for assistance. I am using Airtel, India. They told me to dial this code - *43# . I tried it and it gave me this screen. But the problem is not solved yet.
    Is there anybody here who is facing the same issue with your iPhone? I never had this problem with my iPhone 4.

    Make sure you do not have "Do Not Disturb" turned on. This feature will block the first call, but is someone calls right back it will be put through.
    On the iPhone, go to Settings/Do Not Disturb
    Make sure you do not have Do Not Disturb turned on manual or scheduled.

  • My Skype crashes whenever I make the first call/re...

    My Skipe crashes whenever I make the first call or receive the first call. Whether it be by skype to phone or from skype to skype.
    I have to sign out from skype and then sign in again for every call I want to make.
    Solved!
    Go to Solution.
    Attachments:
    DxDiag.zip ‏15 KB

    Please,  run the DirectX diagnostics tool.
    Go to Windows Start and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post.
    Be aware that you will have to zip this file before attaching it here.

  • [svn:bz-trunk] 21286: Also need to change 2 more private members to protected in order to make the first call after login

    Revision: 21286
    Revision: 21286
    Author:   [email protected]
    Date:     2011-05-20 11:43:00 -0700 (Fri, 20 May 2011)
    Log Message:
    Also need to change 2 more private members to protected in order to make the first call after login
    Modified Paths:
        blazeds/trunk/apps/ds-console/console/ConsoleManager.as

    Revision: 21286
    Revision: 21286
    Author:   [email protected]
    Date:     2011-05-20 11:43:00 -0700 (Fri, 20 May 2011)
    Log Message:
    Also need to change 2 more private members to protected in order to make the first call after login
    Modified Paths:
        blazeds/trunk/apps/ds-console/console/ConsoleManager.as

  • Why poor WCF performance for first calls?

    I'm seeing some weird WCF call timings that I can't explain, and it is causing some real issues in my application. My WCF service calls seem to be taking hundreds of milliseconds if not seconds longer than they should.
    I've set up a simple SL5 project hosted in a web app project just to reduce the variables, and I still see terrible timings.
    I've got a very simple WCF service call, and I'm using ClientBase to instantiate the service instance, then I'm calling the service in a tight loop 30 times (asynchronously).
    The problem is that the first handful of calls take extremely long, according to the IE F12 tools. I'm seeing network times of between 500ms and 2000ms. After that, all of the service call times drop down below 100 ms. The problem for me is that,
    when I am just calling the service once in an application, I am seeing these initial delays, meaning every time I call the service it tends to take a really long time. I only did the tight loop test to see if things get better over time, which they do.
    I would imagine it is doing something like establishing the initial channels, and that is what is taking the hit, and then calls after that just reuse them, but is there anyway to reduce that initial hit? Adding tons of extra time to each of my
    calls in the real app is killing my performance.
    Here is a screenshot of F12 with the call results. You can see the first bunch of calls take an extremely long time, then everything gets nice and quick after:
    Here is the calling code in the test app:
    Private Sub TestWcfClientBase()
    Dim client = ServicesCommon.GetService()
    client.Proxy.BeginGetCurrentUser((AddressOf OnGetUserCompletedCommon), Nothing)
    End Sub
    Public Shared Function GetService() As ServiceClient(Of IServiceAsync)
    Dim service As New ServiceClient(Of IServiceAsync)("IServiceAsyncEndpoint")
    Return service
    End Function
    Public Class ServiceClient(Of T As Class)
    Inherits ClientBase(Of T)
    Implements IDisposable
    Private _disposed As Boolean = False
    Public Sub New()
    MyBase.New(GetType(T).FullName)
    End Sub
    Public Sub New(endpointConfigurationName As String)
    MyBase.New(endpointConfigurationName)
    End Sub
    Public ReadOnly Property Proxy() As T
    Get
    Return Me.Channel
    End Get
    End Property
    Protected Sub Dispose() Implements IDisposable.Dispose
    If Me.State = CommunicationState.Faulted Then
    MyBase.Abort()
    Else
    Try
    Catch
    End Try
    End If
    End Sub
    End Class
    The client config is as follows:
    <system.serviceModel>
    <bindings>
    <basicHttpBinding>
    <binding
    name="NoSecurity"
    closeTimeout="00:10:00"
    openTimeout="00:01:00"
    receiveTimeout="00:10:00"
    sendTimeout="00:10:00"
    maxBufferSize="2147483647"
    maxReceivedMessageSize="2147483647"
    textEncoding="utf-8">
    <security mode="None" />
    </binding>
    </basicHttpBinding>
    </bindings>
    <client>
    <endpoint
    name="IServiceAsyncEndpoint"
    address="http://localhost/TestService.svc"
    binding="basicHttpBinding"
    bindingConfiguration="NoSecurity"
    contract="Services.Interfaces.IServiceAsync" />
    </client>
    </system.serviceModel>
    Here is the stripped down service code:
    <AspNetCompatibilityRequirements(RequirementsMode:=AspNetCompatibilityRequirementsMode.Allowed)>
    <ServiceBehavior(InstanceContextMode:=InstanceContextMode.PerCall)>
    Public Class TestProxy
    Implements IServiceAsync
    Public Function GetCurrentUser() As WebUser Implements IServiceAsync.GetCurrentUser
    Dim user As New WebUser
    With user
    .User_Name = "TestUser"
    End With
    Return user
    End Function
    End Class
    And here is the service config:
    <system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
    <bindings>
    <basicHttpBinding>
    <binding name="NoSecurity" closeTimeout="00:10:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" textEncoding="utf-8">
    <readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
    </binding>
    </basicHttpBinding>
    </bindings>
    <behaviors>
    <serviceBehaviors>
    <behavior name="TestProxyServiceBehavior">
    <serviceMetadata httpGetEnabled="true"/>
    <serviceDebug includeExceptionDetailInFaults="false"/>
    </behavior>
    </serviceBehaviors>
    </behaviors>
    <services>
    <service behaviorConfiguration="TestProxyServiceBehavior" name="TestProxy">
    <endpoint address="" binding="basicHttpBinding" bindingConfiguration="NoSecurity" contract="Services.Interfaces.IService" />
    <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
    </service>
    </services>
    </system.serviceModel>

    Hi ChrisMikeC,
    Based on your description and config file, it seems that you host your WCF Service in IIS and you try to consume this WCF Service in a SL5 project, if I do not misunderstand you, in my mind when we are hosting our WCF service in IIS, there is a high
    cost for the first call. On the first call to our WCF service, IIS must compile our service. Then IIS must construct and start the service host, so it will be slow in the first call. For more information about how to improve the time for the first call, please
    try to refer to
    this article. Meanwhile please try to host your WCF Service in Windows Activation Services or Windows Service in where you will have greater control on the service host startup.
    Besides, since your SL5 project hosted in a web app, then in my mind ASP.NET applications always takes longer in first call because it includes JIT compilation step, and ocne the code is compiled, all the calls thereafter are faster than first one, so please
    try to use the Console application or a Windows Forms appliction to test if the time can be slow down.
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I made my first call!

    So this is my 4th iPhone. I've owned all prior versions. Today I had to visit an Apple store because I had an issue with my computer. After taking a look and fixing the issue, the Genius said I could also call Apple Care. I told him I don't have a phone at home. At this time he glanced at my iPhone and said what about calling from it. I said, you can actually make calls from it? I thought it was a PDA device!
    So I went home afterwards and made my first call! I wish Apple would've advertised this as a phone too. I always see commercial for using apps.

    Modular747,
    Lately I am having allot of fun in this Forum, in the iPad Forum I found someone that was trying to insert a CD on the iPad 2 to play music, an he was complaining that the hole at the botton of the iPad was to small and asking if Apple would fix that for him.
    Now I find Someone that says that he already is in his 4th iPhone and post something like we can read above.
    meaning that he have being using all his iPhones as a PDA and never made a Call in one Before.
    I am curios to know what kind of problem he had with his computer.
    I need to believe that he is just making a joke, please this is better than going to a stand up comedy show.

  • On my iPhone 4, people cant hear me when I make and / or receive normal (GSM) phone calls. But when on calls using internet based / native apps like viber or skype, people can hear me just fine. Voice memos work too and have already tried different SIMs

    On my iPhone 4, people cant hear me when I make and / or receive normal (GSM) phone calls. But when I make/receive calls using internet-based / native apps like viber or skype, people can hear me just fine. I have tried recording my voice using voice memos - this works. And have already tried different SIM cards but the problem persists.
    I have taken my phone to an authorized Apple service center, where they restored my phone to factory settings, but still facing the same issue. They service center directed me to Apple Customer Care Hotline, where I have now spent 3+ hours explaining my issue and yet no one can resolve it. The easy answer if to replace the phone - and since it is out of warranty, I am expected to pay for it.
    Additionally, the customer service has been so rude and confrontational that it has completely changed my view of Apple and its customer focus. I am a disappointed and angry customer today - people would be surprised to hear just how rude customer service was including making statements such as "Apple doesnt make infallible products, that's why warranty is needed for our products" and that "every product undergoes a problem at some stage, so do ours!" There goes whatever confidence I had...
    My concern is simple - if no one at Apple and / or its CS hotline is able to address my issue comprhensively and keep telling me that they have never encountered a precedent before, then with what right can they expect me to pay for a replacement?! I am NOT here to fund Apple's research into their product faults and manufacturing.
    And even though a customer is out of warranty, is it too much to expect an Apple product to work well for at least a 'reasonable' period of time. My phone is less than 18 months old and has been facing this issue for the past 2 months - surely the longevity of Apple products is more than 18 months!
    Just a sad sad day for an Apple customer, compounded by unjustifiably rude and aggressive staff. And still no resolution to my problem.

    I am having the same issue - with my last 2 iPhone 4's. My first handset each time I was on a call wether it was up to my ear or on loud speaker, the call would automatically mute even though the mute button wouldn't show up as highlighted. Pressing the mute button on and off during the call doesn't fix it either. I rang Apple and asked what some of their trouble shooting solutions were. I got told that it might be a software issue and to install the latest software update. This failed. I then got told to uninstall the software on the phone and do a complete restore. This also failed. After trying the troubleshooting suggestions, I took the phone into my provider and they sent me out a new phone within a week under warranty claiming it was a hardware issue and probably just a "glitch" with that particular phone. This was not the case....
    After receiving my second iPhone 4, I was hopeful that it would work. For the first couple of days, making/receiving calls was not an issue. Until after about a week, the same problem started again. In one instance I had to hang up and call back 4 times and the call would still automatically mute after about 5 seconds. Also on the second handset, the main camera located on the back of the phone has red and blue lines running through it and can't take a decent picture. So back to the store I go to get another replacement - Again.
    For a phone that is rated highly and as a keen Apple product purchaser, I am a bit disappointed with the experience I have had with the iPhone 4. Let's hope they find a fix sometime soon because this is becoming a bit beyond a joke.....!!

  • CoCreateInstance returns 0x8007007e (Module could not be found) for the first call only at system startup on Windows 2008 Enterprise SP2

    Hi Guys,
    I'm experiencing a problem with CoCreateInstance, where it returns error 0x8007007e.
    The code is something like this:
    HRESULT hRes = S_OK;
    CComPtr<IMyInterface> spObj;
    if(FAILED(CoInitialize(NULL))) { /* quit */ }while(FAILED(hRes = spObj.CoCreateInstance(CLDIS_MyClass, NULL, CLSCTX_LOCAL_SERVER)))
    // LogFailure(hRes);
    Sleep(10);
    The problems occurs only on a single machine having Windows 2008 Enterprise SP2 installed (it works fine on other machines / OS versions). It happens only during the system startup (this is a Windows Service) and only for the first call of the CoCreateInstance.
    The second call always succeeds.
    The problem does not occurr when starting the service manually from Services.
    I did some investigation using Process Monitor and found that the HKCR\CLSID\[CLSID of MyClass]\LocalServer32!LocalServer32 registry value is accessed before the failure. The registry value exists - it is added by the Windows Installer during
    installation.
    If I remove the registry value then the CoCreateInstance always succeeds.
    I've been trying to lookup for some documentation on HKCR\CLSID\...\LocalServer32!LocalServer32 but haven't found anything useful other than it's a "Windows Installer Entrypoint". I assume that the Windows Installer does some integrity checks when
    calling CoCreateInstance for such class and this fails for some reason but currently I fail to find the reason.
    Can anyone help finding out what's the root cause of the 0x8007007e error here, please? Any help or tip is much appreciated.
    Many thanks!
    Marcin.

    Hi Marcin,
    This forum is mainly for talk about the product use related issue and not the best place to talk about the develop issue, for the develop issue we can post in MSDN forum for
    the further help and your issue may need capture a dump then for the further analysis it is not an efficient way to work in this community since we may need more resources which is not appropriate to handle in the community. I‘d like to suggest that you submit
    a service request to MS Professional tech support service so that a dedicated Support Professional can further assist with this request.
    MSDN forum
    https://social.msdn.microsoft.com/Forums/en-US/home
    Please visit the below link to see the various paid support options that are available to better meet your needs.
    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
    Thanks for your understanding and support.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Verizon's iPhone 4S is dropping the first call almost all the time?

    Hi.
    I have a verizon iPhone 4S.
    Everytime I make the first call to someone, I don't hear anything.
    When I end that call and try calling again, it works.
    This has been happening almost all the time.
    I tried letting the phone app turned on but it doesn't solve the problem.
    I'm not sure if other carrier's iPhones are having this problem.
    Does anyone know what the problem is to this?
    Thank you very much.

    I tried letting the phone app turned on but it doesn't solve the problem.
    What does that mean?
    Try a reset by pressing the home and sleep buttons until you see the Apple logo, ignoring the slider. Takes about 5-15 secs of button holding and you won't lose any data or settings.
    If still a problem, restore.
    If still a problem, take it in to Apple for a warranty replacement.
    IMO, you'll probably end up taking it in to Apple but the other steps are worth trying.

  • CME - Second Call Drop the first call

    Greetings,
    Anyone ever seen something like this?
    I get a call on my extension, and when I receive a call on another phone, the first call (in my Phone) drops.

    I'm seeing this also with IPC softphone version 8.6.
    Has anyone resolved this issue?

  • The ATA only rings the first call

    HelloI've just had instaled an ATA Linksys SPA2102 conecting it to a DSL modem CTC UNION model ATU-R130. The SIP is INPHONEX.COM
    My ISP had to redirect some ports to a fixed IP address in order to make the ATA RING.
    I make a call to the number assigned to the ATA and it rings ok the first call (many rings but only the first call).
    After that I make as many calls as I can, but the ATA doesn't detect that a call is going on. Then I must reset the ata with the factory default values and re-enter all the SIP information in order to get the ATA ringing again.The ATA works fine making calls.  The problem is receiving them.Does somebody know what's wrong?
    Thanks
    Juan

    On your next attempt on calling the ATA , try checking the Info page under the Voice tab then look for Hook State, you may want to check first if the ATA disconnected the last call properly. Try checking also if you're using the latest firmware on the unit.

  • First call attempt fails with 12000; reason="Routes available for this request but no available gateway at this point"

    We've installed a new Audiocodes Mediant 1000B gateway for our customer.  They only have about 6 users enabled for Enterprise voice and using Lync for all calls.  They have an intermittent problem whereby the first call attempt to a number on the
    PSTN fails with 12000; reason="Routes available for this request but no available gateway at this point".  There is only one PSTN gateway installed.  All routes point to this gateway.  What I found initially is that the calls
    were failing after 10 seconds which is the default "failovertimeout" in the OutboundRouting.exe.config.  I found this post http://voipnorm.blogspot.co.uk/2012/06/lync-2010-gateway-timeout-call-failures.html and
    changed the value to 20 seconds.  Subsequent failures failed after 20 seconds (the new value).  The interesting thing is that the second attempt even a couple of seconds later succeeds.  My Lync server event log has 46046 "A call to a PSTN
    number failed due to non availability of gateways." for the failed call and 46047 "A PBX gateway is now responding to requests after some failures." for the successful call moments later.
    My environment is Lync 2010.  A single enterprise edition Front End with collocated mediation.  The server is virtual and in a different physical location to the gateway.  The two sites are connected via a LES1000.  The RTT between the
    sites is very low so it isn't necessarily networking.
    In the Syslog output on the Audiocodes we don't see the call even reach the gateway.  It's likely that Lync has simply marked the gateway as down and doesn't route the first call.  Then it wakes up and marks it as up and routes the next call.
    Update wise I'm on 4.0.7577.183, 199 and 217 for those that are up to date and the only components that are behind say that 223 is available.  Those being Core Components, Lync Server, Conferencing Server and Web Components.
    As I said, this is intermittent, apparently doesn't happen for every user (which I don't buy), but is easily replicated on request.
    I definitely think changing the failovertimeout value has reduced the number of failures.  But realistically I don't want users sitting there for 20 seconds before their call fails.  Or 19 seconds for the call to route.
    I've found a few posts on this and similar issues.  I don't get the 25051 or 25052 errors.
    Any help gratefully appreciated.
    Regards
    Randy Chapman
    Best Regards Randy Chapman

    Try to change the value of Failovertimeout to 1000.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Re-seting "first call?" in sub VI

     I am trying to use the 'first call?" thinger in a sub-VI.  I thought it would re-set when the sub-VI was closed, but when it is called again, the "first call?" thing does not give me a true.  Is there any way of correcting this?

    The state has nothing to do with the visibility of the front panel, it will reset every time you newly start the toplevel VI.
    For any given run (not subVI call!), "first call?" will be true exactly once.
    If you want your case to be true every time the subVI is called, replace it with a TRUE boolean diagram constant Another option would be an initialized shift register. It really depends on the details of your code.
    LabVIEW Champion . Do more with less code and in less time .

  • Remote vi first call very slow

    My sequences include multiple call to vi's on a PXI chasis.  The PXI is running Labview.  The first time a step with a remote vi executes, nothing seems to happen for as long as 30 seconds.  Subsequent  executions of the same step occur instantly unless the module code is unloaded.  My hunch is that PXI Labview is searching for all the subvi's of the remote vi.  Optimizing the PXI search path may have helped a little.  But what helps enormously is to explicitly call the PXI Labview vi server within a code module running locally using vi references.  In this case even the first call is apparently instantaneous.  Has anyone experienced this?  Does anyone understand it?
    Solved!
    Go to Solution.

    Hi htan,
    I believe what ken was refering to when he mentioned explicitly calling the vi from a local code module was that he had created somewhat of a wrapper VI which uses a VI reference in order to call the remote VI.  He then instead referenced his local wrapper VI from his Teststand sequence.
    I will try to address your question posed to CorbinH on how his first suggestion will be beneficial.  I believe his suggestion on creating a source distribution was aimed at getting all the VI dependencies in the same location on the local machine.  This would hopefully allow all of the VI dependencies to be located quickly as they will all be located in the VIs current directory rather than searching in various directories and on the remote machine.
    Creating a Source Distribution in Labview:
    http://digital.ni.com/public.nsf/allkb/F3DC40A6E3F3B25B862570AD005D1D3D
    Justin D
    Applications Engineer
    National Instruments
    http://www.ni.com/support/

  • Multiple calls to execute() on an OperationBinding fail after first call

    (I am using jDeveloper v11.1.1.5.0.)
    I have a method in a ViewObjectImpl class that does a simple "findByKey", using a string that is passed to the method as the key, and returns the found row. I have the method bound to a page, and in a backing bean, I am trying to call the method. I get a handle to the OperationBinding for the method, get the ParameterMap object, and add (put) a parameter of the string I want to pass to the method. I then call execute() on the OperationBinding and get back the Row (if found).
    This all works the first time.
    The problem is that in my bean, I am actually doing this iteratively. The first time, everything works. The second time I call execute(), it appears that the parameter map is not getting passed to the method, as all of the parameters are 'null' from within the method.
    Below is the code for the method in the ViewObjectImpl class for my view object:
        public Boolean isCommonWord(String word) {
            System.out.println("Checking word: " + word);
            if (word == null) return false; // short-circuit for null values
            Object[] keys = new Object[1];
            keys[0] = word.toUpperCase();
            Row[] rows = this.findByKey(new Key(keys), 1);
            System.out.println("Found " + rows.length + " matching words.");
            if (rows.length > 0) System.out.println("Word row 1: " + ((CommonWordsLOVRowImpl)rows[0]).getWord());
            return (rows.length == 1);
        }As you can see, "word" is the single parameter to the method. I dump the value to the console for debug, then (if not null) use it to create a Key object to use in findByKey, then return the row, if found.
    Here's the relevant code from my bean:
                    OperationBinding isCommonWord = ADFUtils.findOperation("isCommonWord");
                    params = isCommonWord.getParamsMap();
                    // Loop through all words in the string 'searchStr'
                    StringTokenizer st = new StringTokenizer(searchStr);
                    Collection<String> wordList = new HashSet<String>();
                    while (st.hasMoreTokens()) {
                        String s = st.nextToken();
                        _logger.finest(this.getClass().getName(), "findUserAndPlan","Checking word: " + s);
                        // Look up word
                        params.put("word", s);
                        _logger.finest(this.getClass().getName(), "findUserAndPlan","Parameters: " + params.toString());                   
                        if (!(Boolean)isCommonWord.execute()) {
                            // nope - add to collection
                            _logger.finest(this.getClass().getName(), "findUserAndPlan","Word OK");
                            boolean add = wordList.add(s);
                    }If 'searchStr' is "delta 36 inc", my output on the console is this:
    <CreateAccountBean> <findUserAndPlan> Checking word: delta
    <CreateAccountBean> <findUserAndPlan> Parameters: {word=delta}
    Checking word: delta
    Found 0 matching words.
    <CreateAccountBean> <findUserAndPlan> Word OK
    <CreateAccountBean> <findUserAndPlan> Checking word: 36
    <CreateAccountBean> <findUserAndPlan> Parameters: {word=36}
    Checking word: null
    <CreateAccountBean> <findUserAndPlan> Word OK
    <CreateAccountBean> <findUserAndPlan> Checking word: inc
    <CreateAccountBean> <findUserAndPlan> Parameters: {word=inc}
    Checking word: null
    <CreateAccountBean> <findUserAndPlan> Word OKAs you can see, it calls the method three times, once for each word. In all three calls, you can see that the Parameters Map has one item in the map called "word", and it is set to the actual word from the searchStr (e.g. "delta", then "36", then "inc"). However the very next line is the output from within the method itself. The first time, the method shows it got the word ("Checking word: delta"), but in calls 2 and 3, the value it receives for 'word' is null! This is the problem.
    I'm sure I'm doing something wrong, but don't know what that is! :-) Thanks in advance for any suggestions.
    Edited by: Karl C on Mar 21, 2012 5:04 AM

    So, after sleeping on it, and having a clear(er) head this morning, I tried a few things. I was obviously setting my value in the "params" map, but it was not getting through to the method after the first call. So, I theorized that perhaps I couldn't reuse the "params" map on each call, and that the framework generated a new parameter map for each call.
    To test, I moved the one line of code where I get a handle to the parameter map to be inside the loop, as follows:
                    OperationBinding isCommonWord = ADFUtils.findOperation("isCommonWord");
                    // Loop through all words in 'searchStr'
                    StringTokenizer st = new StringTokenizer(searchStr);
                    Collection<String> wordList = new HashSet<String>();
                    while (st.hasMoreTokens()) {
                        String s = st.nextToken();
                        _logger.finest(this.getClass().getName(), "findUserAndPlan","Checking word: " + s);
                        // Look up word
                        params = isCommonWord.getParamsMap(); // <<=== This is the line I moved
                        params.put("word", s);
                        _logger.finest(this.getClass().getName(), "findUserAndPlan","Parameters: " + params.toString());                   
                        if (!(Boolean)isCommonWord.execute()) {
                            // nope - add to collection
                            _logger.finest(this.getClass().getName(), "findUserAndPlan","Word OK");
                            boolean add = wordList.add(s);
                    }Guess what? It worked!
    So, I solved my own problem. I hope that this post perhaps can save someone else from beating their head against a wall for hours wondering why things aren't working! :-)

Maybe you are looking for

  • Firefox 4.01 various problems - Any Ideas please?

    OK so I have had Firefox 4.01 Installed for several days now and it is certainly far from the best browser I have used is a fair statement I think. I have tried 4.0 and that lasted less than 5 minutes! 4.01 is here and I am SO trying to get it to wor

  • Recipient verification on Exchange 2013 SP1

    Hello, we use 3rd party tool for antispam and I'm unable to configure recipient verification on Exchange 2013 with SP1. Basically i have done all steps described in article http://technet.microsoft.com/en-us/library/bb125187.aspx and still i am able

  • PDF output characters right hand side getting truncated using --PASTA

    H All, DB:11.1.0.7 Oracle Apps:12.1.1 O/S:Linux Red Hat 86x64 We are getting right hand side characters truncated for PDF output when Conc Prog is run through EBS.This is the problem. But while saving the file on dektop and printing both left and rig

  • Error connecting to stored procedure in crystal report

    Hello I'm using crystal reports 2008 with the latest service pack. i'm trying to access stored procedure using the mysql jdbc driver 5.17. The crystal report has been designed which works fine with a login that created the stored procedure but when i

  • Need help regarding the location of Exchange 2013 Logs for parsing

    Hi, I am trying to create reports based on the logs that are created on my exchange server. I am using exchange 2013. My problem is that I cannot handle every log, and instead want specific types of logs. I need help finding the specific locations of