Asynchrono​us call of a re-entrant VI hangs

I am trying to use the Start Asynchronous Call Node to open a re-entrant sub-VI in "fire and forget" mode.  To get the hang of it, I put together the attached test application.  Clicking "Add Channel" in the main VI launches the subVI, passing it a different "ID" for each sub-VI call.  The subVI has an "Identify" button which is supposed to open a dialog with its ID, and a stop button which ends the subVI's event loop.
Trouble is that, although the subVI launches fine, none of the front panel buttons are functional.  Pushing either one causes it latch, but doesn't release or execute its function (sort of like the Event loop is locked up).  The subVI works fine when run independently at the top level.
This seems to be tied to the the fact that the sub-VI is re-entrant.  Running this with a single non-re-entrant VI works as expected.  Is there something I'm doing wrong?
Attachments:
main.png ‏47 KB
subvi.png ‏25 KB

OK, after looking at some other threads and the Open VI reference help more closely, it looks like the problem was that I had the 0x40 (enable simultaneous calls on re-entrant VIs) option enabled.  (0xC0 = 0x80 + 0x40).  This creates a reference to the target VI itself, not the clone that actually gets called, so if you pass that reference to FP.Open or to SubPanel.Insert, it will not do the right thing.  I will have to think through this a little more before I fully understand it, but changing the Open Reference to simply 0x80 seems to fix things.

Similar Messages

  • My conference call isn't working I can hang up on people individually

    My conference call isn't working I can hang up on people individually

    I would never recommend tinyumbrella. I've had to respond to hundreds of posts from people who used it and found the it trashed the network database on their computer.
    If you can't recover using approved methods rather than hacking your phone (which is what tinyumbrella does) then you've probably got a hardware problem.
    So what should you do? First, connect it to a charger for 15 minutes. If it doesn't recognize the charger try a different one and a different cable. Then hold the HOME and SLEEP buttons at the same time until an Apple logo appears. Hold up to 1 minute. If nothing happens your phone really is broken, either a broken connector or a bad battery.
    If you DO get some response see this: http://support.apple.com/kb/HT1808
    Of course, if you have already tried tinyumbrella this won't work until you repair the damage to your network database on your computer. But we'll cross that bridge when we come to it.

  • Post call survey subflow script after agent hangs up?

    Hi,
    I am trying to have the caller, whom is remaining on the line, sent to a post call survey subflow after the agent hangs up. However, the main script terminates upon the agent hanging up so the subflow script is not being called.
    I have been doing a lot of searching and scratching my head and I'm leading to believe that the On Exception Goto step may work? Although, it seems that this step is intended if the caller hangs up, not the agent. Or does it matter?
    I want the main script to call the subflow script seamlessly without any agent intervention (although this may have to be my last resort). Any insight?
    Thank you so very much.

    Simply stated, what you are trying to do is not possible.  The reason is because when the caller is connected to an Agent, the Contact for that script (--Triggering Contact--) is not active any longer, and therefore you have no control over it.  The caller would have to land on a Trigger a second time, in order for the Contact to become active once more.
    Now, let's talk about what options do exist.
    You can either:
    Have the Agent send the caller to the survey trigger via transfer
    Have the caller call back in to the survey trigger via verbal instructions during the initial IVR
    Have the IVR dial the caller back at a later time to take the survey (could use HTTP triggers or Outbound Campaign)
    This is a limitation of UCCX.  UCCE on the other hand maintains call control the entire time, so when the caller disconnects from the Agent, it can route the caller through another routing script if desred.
    Anthony Holloway
    Please use the star ratings to help drive great content to the top of searches.

  • Create a DLL with asynchrono​us calls in LabVIEW for use in another environmen​t.

    Hello All,
    I need to create a DLL in LabVIEW that is going to be used from inside a Delphi environment.
    The thing that confuses me is that I don't know how to create asynchronous functions.
    Let me further explain.
    I want to have an "Init" function.
    This function starts a continuous dataacquisition process. The dataacquisition process continuously samples data at a rate of 1Msamples/sec. (in blocks of 4096 samples each time)
    I want to have an "Abort" function.
    This function stops the continuous dataacquisition process.
    The third function I need is a "MeasureAndAnalyse" function.
    If this function is called, the following block of 4096 samples is processed (FFT, ...) to retrieve the valid data.
    The fourth function can be used to check if the MeasurementAndAnalyse function is ready and return the actual result if this function is ready.
    What I don't know is how I can do all of this asynchronously.
    In my opinion the LabVIEW vi's I make are all synchronous.
    How to do this asynchronously???
    Does anybody know of an example of a similar thing?
    Thanks in advance for all the help!
    Dennis.

    Ok, after somem ore searching I found an example called "Building Asynchronous DLLs in LabVIEW".
    I will give that a try.

  • Exec.State and Start Asynchrono​us Call

    In my application I like to start a VI asynchronously by pressing a button control. I just want to have one instance of the VI running so I let the caller test if the VI is already running. Unfortunately there seems to be a bug in the Exec.State property if you use it with a VI reference that has been built with a type specifier. It returns always "Running" as state.
    I found a workaround by first openening a "normal" reference to the VI, questioning the Exec.State property, closing the reference and opening the "typed" reference. That works like I think it should.
    My question: Is this difference in behaviour of the "VI" property node and the "VI Interface Type 1" property node by design or is this a bug in LV 2012 (I have not tested it with another version) ?
    Matthias

    I just wanted to point out about the very reason of the situation:
    These are the options you can read by the Execution State property. As already marked, "Running" indicates that the VI is (at least) reserved for execcution. It does not necessarily mean that the VI is actually executing!
    That being said, opening a typified reference to the VI already reserves the VI for running, hence your property node returns this value.
    Your workaround seems to be well-thought out and should work in any case. Y already gave another option of handling this situation.
    I doubt that there is another, better solution other to these two.
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Start Asynchrono​us Call Reentrant

    I've experimented with the new LV 2011 "Start Asynchronous Call" method on reentrant VIs.  I am able to instantiate multiple clones of the VI, but the input data is not propagated to the clone VI.  I have tried a few different 'options' flags on "Open VI Reference."
    Has anyone else observed this behavior?

    Hello Jonathan,
    This is Andrew Brown, an Applications Engineer from National Instruments. I will be happy to work with you to get the Start Asynchronous Call to recognize your inputs. 
    After examining your provided code and creating an example myself, I found one issue with your code. The only flag you should need to use for Asynchronous Call and Collect is x100. That is based off the Open VI Reference and Asynchronously Calling a VI and Collecting the Results documents located within LabVIEW 2011 Help. If you were going to pass in multiple flags, you would want to use the OR operator ( v ) rather than the AND operator ( ^ ). 
    I attached the example code provided by LabVIEW 2011 within the "Asynch Call and Collect.zip" file.
    Based off that code, I wrote my own example that asynchronously calls a subVI multiple times with different inputs. The code for my example is attached as "Multiple Asynch Calls - Diff Inputs.zip" 
    Please let me know if you are still having issues after working with these examples. Thanks, and have a great day!
    Regards,
    Andrew Brown 
    Applications Engineer
    National Instruments
    Attachments:
    Asynch Call and Collect.zip ‏14 KB
    Multiple Asynch Calls - Diff Inputs.zip ‏15 KB
    Asynchronous Call and Collect.JPG ‏58 KB

  • Asynchrono​us call

    Hello all,
                             Suddenly i encountered one strange problem in asynchronous call to rentrant VI, I have a reentrant VI which will read the data from TCP & write to the database,Now i have two method to implement this.
    #1. Using property & invoke node(Image is attached).
    #2 . Using asynchronous call(Image is attached).
    In both the method opening of database is same but problem is, in method 1 everything is working fine but in method 2 path of database is going wrong. I opted for 2nd methos because LAbVIEW suggests this. 
    Can anybody tell me where is going wrong
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet
    Attachments:
    Method 1.jpg ‏75 KB
    Method 2.jpg ‏68 KB

    HI Eric.M,
    You said ,
    Asynchronous calls can't be made on reentrant VIs. It just does not make sense because you don't know which reentrant instance of the VI is created/run, and when it is.
    please tell me why this application path directory is showing invalid path if i am calling my VI asynchronously.
    And one more thing i think that both the method is for parallel execution of same subvi.
    But in help file its mentioned that asychronously calling a vi is faster than. 
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet

  • Start Asynchrono​us Call available on Real-Time or not?

    If I work on code on an RT target the new Start Asyncronous Call nodes do not show up on the Application Control Palette.
    However, LabVIEW does not complain if I trick it to run such a node on RT by adding it while editing it for a Windows target...So, is the asyncronous call supported on RT, or not? Well, it does not seem to behave the way you would expect it to..as far as I've ben able to establish so far, but should it? Will it be fully supported (show up on the palette etc.) later?
    MTO

    I can't comment on whether Asynchronous Call is officially supported on RT in LV 2012 (because I don't know the answer).  However, I've used it extensively on RT, and I haven't experienced any problems.  Keep in mind that dynamically launching background VIs is going to introduce jitter into your RT system, but that is to be expected.
    -Chris M

  • Asynchrono​us Call - collect values without waiting for sub VI to finish executing

    Hi All, I'm relatively new to LabVIEW and for the first time I'm attempting to make use of Asynchronous calls in a program.
    What I would like to accomplish, generally, is this: At the beginning of the main vi, begin running a sub-vi in the background. This sub-vi is collecting streaming data from an instrument with a refresh rate of 50Hz. At various points in the main vi I would like to call the instantaneous value of that streaming data from the sub vi, passing it back into the main vi, while allowing the sub-vi (the streaming data collection) to continue running. The reason for this, is that I need to collect the data from this instrument many times wihtin a loop, and the connection initialization to the streamin data instrument is both slow and faulty, and takes too long if I have to initialize the connection, collect the data, close the connection, each time I wish to collect the data. I would prefer to initialize the connection once at the beginning, have a stream of continuous data being collected in the background, and then at certain points within the main vi loop, query that streaming data for its instantaneous value, but allow the streaming data sub vi to continue running.
    I recognize that a method to allow the streaming data collection sub vi to run in the background is to use the Asynchronous call method - however, to collect the data I need to use an asynchronous wait, which will only collect the data if the streaming data sub vi finishes executing. How can I collect the data at a particular instant while still allowing the subvi to keep running (thereby minimizing the number of times the connection to the instrument needs to initialized)?
    Any suggestions or alternative methods would be great!
    Thanks
    Jason

    This is typically solved in a different way than what you envision. Have your parallel deamon post its current values to a buffer. This could be a global variable (gasp!!) or an intelligent global variable (a VI with loop that executes always once and has an unitialized shift register that can either be initized or read based on a control input). You can add extra code to the read and write selection such as scaling etc to turn the intelligent global into an action engine that does extra things on its different methods.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions
    Attachments:
    Intelligent Global.vi ‏19 KB

  • Asynchrono​us call can not stop

    Hello! 
    When i start slave Vi by asynchronous call, slave Vi do not stop!  Slave Vi  is part of alarm system. I can not do any thing whith this problem (((
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    Asynchronous Call and Forget voice.vi ‏13 KB
    Speak Text777.vi ‏16 KB

    Ok, may be i do some thing wrong.
    when boolean x > y is true alarm must go ON always , when boolean x>y falshe , alarm must shut down.
    And clock must go on ))))
    What i do wrong?
    Thanks!!!
    Attachments:
    Speak Text777.vi ‏15 KB
    Asynchronous Call and Forget voice.vi ‏16 KB

  • Calling web service with SSL (HTTPS) hangs client stub

    If anyone can help it would make my day! I've spent way too much time on this!!!
    I'm running:
    - Web service is running on Linux RedHat with Oracle9iAS 9.0.3
    - Client is running from Windows XP under Jdeveloper
    I've successfully installed and run the web security demo "ws_security" at http://otn.oracle.com/sample_code/tech/java/web_services/wssecurity/ws_security.jar.
    This demo goes through installing the web service, certificates, etc... and the demo runs fine. I'm also able to connect to the web service from a browser using https://server1:4443/CreditCardValidator/CreditCardValidator. I can download the proxy, look at the WSDL, etc...
    Now I've written my own very simple stateless java class web service, deployed it to 9iAS , and then downloaded the proxy stub jar. Using the proxy stub I can call my web service and everything works fine.
    Then I configure the web service to use HTTPS by making the following changes to the proxy stub (per the ws_security demo).
    1) Copy the following 5 lines to the proxy stub
    System.setProperty("ssl.SocketFactory.provider","oracle.security.ssl.OracleSSLSocketFactoryImpl");
    System.setProperty("ssl.ServerSocketFactory.provider","oracle.security.ssl.OracleSSLServerSocketFactoryImpl");
    System.setProperty("java.protocol.handler.pkgs","HTTPClient");
    System.setProperty("oracle.wallet.location","C:\\Data\\Oracle\\WALLETS\\ws_security\\wallet.txt");
    System.setProperty("oracle.wallet.password","thewalletpassword");
    2) modify the "m_soapURL" by changing "http" to "https" and the port number to 4443
    3) add the following 3 jar files to my projects library class list:
    C:\Program Files\jdev9031\jlib\jssl-1_2.jar
    C:\Program Files\jdev9031\jdk\jre\lib\ext\jcert.jar
    C:\Program Files\jdev9031\lib\jsse.jar;C:\Program Files\jdev9031\jlib\javax-ssl-1_2.jar
    When I run the proxy stub it just hangs. I've traced the hang to the "Response response = call.invoke(new URL(m_soapURL), soapActionURI);" statement in the "makeSOAPCallRPC" method in the proxy stub.
    Again, this works fine if I simply change the "m_soapURL" to use "http" instead of "https". It looks like it's hanging on the client side and the call is never making it to the server.
    Any help is GREATLY appreciated!!!!!

    Could you explain it a little more, please.
    Since my first message, I used the wallet manager to add the certificate the server where the web service is at, uses.
    What else do I need to make it work??
    Thanks in advance again.

  • IOS 7 End Call Huge Box hits cheek and hangs up!

    The big Red End Call Box in IOS7 is to big and in a bad spot. When I put the phone up to my cheek, the button get hit and hangs up the phone, It's happen numerious times to me.
    Why can't it be smaller and in a different location?

    I'm afraid I don't understand your reply, AdeetyaVerma. Did you, perchance, mean to type: "Just dial RIGHT"? Either way, your reply makes no sense, nor does it provide any perceivable benefit. Nonetheless, I'm glad that it worked for YOU ;-)
    In the interim, however, I've discovered what may turn out to be a solution for this problem. For some reason, iOS7 has rendered the proximity sensor ineffective... or at least LESS effective. While searching for others with similar concerns, I came across a 33 minute video dissertation on the subject. It went into great detail on how to completely disassemble the iPhone 4 to fix the problem. It seems that too much light bleeds into the sensor, thereby negating its ability to properly detect that the phone is held up to the user's face. Apparently this has always been a problem with the iPhone 4, but one that was made more evident with the release of iOS7.
    As an alternate, and much less invasive solution, I simply changed my screensaver to a much darker one. This effectively reduces the light being created by the screen and thereby bleeding into the sensor. So far, this seems to work. I'll reply back, if it does not help over the long term.

  • Returning to Original Call after answering second call

    While on a phone call, I answer the second call, but when I want to hang up from the second call, and return to the original call, I lose both calls. Can someone help me with this problem please? Thank you.

    Hi and welcome to the BTSC forums.
    Enjoy your stay with us!
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Can't call or chat with Verizon because I can't use my cell (Account, not technical problem)

    Dear all,
    So I am living in Ireland right now.  NOT using my Verizon account at all.  (Phone still active, still paying, but using a European cell here.)  In the meantime, I need to make a change to my nephew's account, which I pay for on mine.  (He got a new carrier on his own a month or so ago and I need to cancel his line.)  If I dial any of the numbers for customer service from a land line or from my cell here, it says to hang up and use my cell phone.  And I can't do that!  I don't have it activated for global services because I'm not using it.  Then on top of that, the chat online function seems to be blocked in Ireland.  It won't work on any computer I try.
    So here I am, I can't call Verizon.  I can't chat with Verizon.  I can't find an e-mail address.  And in the meantime, for the last month I am paying for a phone that isn't being used.  Because I can't figure out any way to actually get Verizon to talk to me!!  I've tried googling numbers, etc., etc.  The 1-800-922-0204 number says I'm not calling from a Verizon cell and hangs up on me.  The 908-559-4899 number behaves exactly the same.  I tried the Global services number, but they said it's for technical support only, no customer help. 
    Help????
    Thanks,
    Jill

        @JillianTH
    I'm so sorry to hear of the trouble you're experiencing with reaching one of our Customer Support representatives!  Here's a link to our Global Support Contact Us page: http://vz.to/YXAFHw.  There's instructions included for using the Global Support Calling Card on this page.  This will allow you to reach one of our Global Support Team members and they can assist you with making any changes to your account.  Have a wonderful day and stay in Ireland!
    AnthonyTa_VZW
    Follow us on Twitter @VZWSupport

  • Months of frustration - can no longer use my Droid Razr M for calls at home

    I'm hoping that a Verizon customer support person will see this and contact me. As detailed below, because of cell reception issues in my neighborhood and especially at my house, I can no longer use my phone to make or receive calls in this area. I have been patient while working with customer support for several months, but my patience is at an end. If I can't get an immediate fix for this problem, then I request that the early termination fee waived.
    I've attempted to work with Verizon customer support for the last many months regarding poor cell reception in my area of Durham, especially at home. I get excellent reception elsewhere. During calls, people frequently have problems hearing me (I'm tired of having to repeat myself so often) and calls are frequently dropped. There have been a few instances when a single conversation will be conducted over three or four separate calls because of drops. Walking around my house -- even trying to walk outside in hopes of getting a better signal -- makes the problem worse.
    Here's the kicker: I've found a temporary solution in using a $10 Tracfone that gives me great reception. I've relied upon it for most calls at home over the last 6 weeks or so.
    Since October, following different phone or web conversations with Verizon support and visits to local Verizon stores , I've had the Preferred Network Mode reset to LTE then later reset back to Global (neither change made a difference)  I've replaced the SIM card (made no difference), I've rec'd a replacement phone (no difference). During the visit to the Verizon store about a half mile from my house to get a new SIM card, one of the sales associates warned that I wouldn't be able to determine right away whether it made a difference since reception in the neighborhood was so bad.
    I most recently contacted customer support on Feb 8, I spoke with someone who reviewed the record of my calls and could see several drops. He encouraged me to use my Razr at home more often so that Verizon could have as much data as possible to troubleshoot the issue and asked that I call back in a week or two. .
    So I've been using the Razr more often but to great frustration. I've had business calls drop several times back on Feb 12 & 13, and multiple drops again on Feb 25. Other calls did not drop but people would often interrupt me to say that I was breaking up or fading out, so I'd have to move around my house or go outside or come back inside until they could hear me more clearly again.
    What makes this worse is I've had no luck getting back in touch with customer service the several times I've tried over the last 4 or 5 days. I've tried calling several times but end up hanging up after being on hold for several minutes and I've tried the Live Chat but always get the "all agents are busy" message. Have tried mornings mid day, evenings, but it makes no difference.
    So if I can't get an immediate fix for this problem, I would request that the early termination fee (I'm just shy of 13 months into a 2-year contract) be waived in light of the frustrations and the long period over which I've tried to work with Verizon to find a solution but without success.

    I'm adding screen shots taken from this afternoon showing connection that varied from non-existent to 1X.

Maybe you are looking for