How can main vi detect whether sub-vi closes after opening and running it by user?

Hi I learned more using the call by reference node function.
From what I know is that, after opening and running subvi by means of method nodes.
So after running it, "call by reference" node stays active and there is no flow of data coming out of it till it is closed.
However what if I do not want to use this "call by reference" node as I have multiple sub-vis to choose. So how does the main program detect that any one of sub-vi is closed by user?
 regards,
Clement

Hi Clement,
first: you may run the vi with the option "wait until completion" set to false, the call-by-reference node will return promptly.
2nd:
There are many options to signal the completion of the subvi to the main vi: globals (easiest, but may lead to race conditions), LV2-style global, queues. You can even check the status of the subvi (running or not) via vi server.
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • How can I create an icon that when clicked will open and maximize an image file?

    How do I create a icon that when clicked will open and maximize an image file?  I have tried to use the simple image widget with maximize upon tap/click - however I am can only size the image really small and put on the page.  I'd prefer to have a graphic that when clicked it simply opens up the image.  This is for a very simple question/answer book.   The user is suppose to look at a picture and locate something.  I want to put an 'Answer' graphic on the image and then the user can click the 'answer' graphic and it will open up the picture with the answer identified. 
    Is this possible?

    Have yiu tried the PopOver widget?  You can drop an image into it, maximise the image and the widgets window...But, you cannot get it full screen.
    With iBooks Author, you either learn to use what is available within the app, or look online for third party widgets to purchase which suit your project.

  • How can i save job settings in Capture Perfect per computer and not only per user?

    Hi
    I got a production computer with capture perfect 3.0
    Is there a version where the job settings are saved per computer and not per user?
    This is a problem when i am creating  scanner jobs everybody on the computer should be able to use.
    TJ

    I'm having the same problem and I use the built-in camera app.  I have and iphone 4 and my friend uses and iphone 4s and his saves as JPEG.  Mine saves as png.  How can I get mine to save as JPEG?

  • HT1146 microsoft Outlook for MAC, how can I set "receive notification email sent has been opened and read" in Outlook?  Thanks

    Microsoft Office for MAC, how does the sender select a notification that an email has been opened and read in Outlook?  Thanks

    Since this question is about a Microsoft product, you might have more luck getting suggestions if you ask in Microsoft's own forums.
    Regards.

  • How can I navigate to a new page when after-submit process running proc

    I have a long running procedure and would like to provide the users with an animated gif to indicate progress that updates a description line to indicate the current step in the process.
    Currently I have a couple pages in this application in which a stored procedure in a package is called which performs a long-running process which updates progress in a table. These processes have a single parameter argument. In these cases I call the procedure via the Job Scheduler as part of my After-Submit process and the page navigation jumps to another page which shows a graphical representation of % complete based on the progress updates in the table and refreshes itself every 5 seconds until the job is complete. This works fine.
    I am now running into an issue where I have a more complex set of processes, with a number of parameters. To resolve this I used the same process as above, however, I first check to see if the process exists in the Job Scheduler, if not I create it. I then set all of the parameters and tell the job scheduler to execute the procedure. This should work similar to the process I am running on the other pages, however, in this page where I have multiple parameters and send an execute command rather than an execute immediate on job creation, the system runs the entire job prior to running the page branch, as a result the end user is stuck on a hanging page with no user feedback for two minutes after pressing submit.
    I am looking for how to call the procedure and have the branch execute so a progress screen can be viewed. I am not committed to the use of the job scheduler if there is a better way.
    Any help is greatly appreciated.

    The process involves
    (1) a detail table filled with phone usage data, approximately 175,000 records per month.
    (2) a table that stores what various combinations of codes in the detail table translate to for types of calls or data transmissions
    (3) a summary table for the months calls and billing
    (4) the E-Business Suite.
    (5) A GTT for temporary crossreference storage
    (6) A GTT for reporting data
    I have a parameter page where the user selects what data they are looking for and then submits it to generate the report.
    The generation of data is a four step process.
    (A) Retrieve the Code Combination ID's for the phone usage specified in the parameters from the summary billing table(1) into a GTT(5)
    (B) Query the department and Account Code Block Details from E-Business Suite(3) (using dblink) for the CCID's in step one and add to the GTT(5)
    (C) Run a query which uses the detail table(1), a function against the crossref table(2), and the crossreference GTT(5) to create the output in the report GTT(6)
    (D) An ApEx page process that counts the output and returns to a page without Export to Excel for over 65000 records or with Export for under.
    The parameter page is an ApEx page with some text fields, a couple date fields, and some checkboxes. An after submit process calls a packaged procedure which calls separate procedures for (A), (B), and (C), the page then branches to a page that shows an animated gif and current step of the process {this is what is not working right now}. Once the task completes this page branches as per (D) to a page that shows all the contents of the GTT report(6).
    The process works successfully with the exception that instead of going to a page to show the process the system simply hangs on the parameter page after the submit is pressed until the processing is done and then goes to the processing page just long enough to branch to the report page.
    I am beginning to think that I should alter the design to not use the GTT, but include the username as a field in the output table with a binary index on it for speed so that I can use the job scheduler to run a separate session and hence enable the processing page. The processing page is important as the query can take anywhere from 2 minutes to 2 hours to generate the report depending upon the parameters.

  • How can I get Back all of my data after restoring and back up ? I lost my data and I did back up

    when I did restore and update .. I lost all of my data , then I pressed to back up buttom , when I try to restore data , its disapper . is there anyway to get back all data lost ?

    If you are backing up to your computer, check iTunes/Edit/Preferences/Devices, if there are nay other backups listed.
    Since each backup replaces the old one if not used to restore from, your data might be lost since you seem to have backed up a phone without any personal data.
    Check this article about how to restore from backups:
    iOS: Back up and restore your iOS device with iCloud or iTunes

  • How can I re-use my ePrint email address after deleting and re-adding ENVY 110 print services?

    I recently had to delete and re-add my ENVY 110 series printer (D411c) to ePrint in an attempt  to solve a Web Services connectivity problem, and now I cannot re-use my original ePrint email address.  Is there a way to reset the address or am I stuck with a new one?

    You are stuck with the new one.  The old one will be released for use after 6 months.
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • How can I find out whether or not I already have subscribed to Creative Cloud.  I thought I had done so last year.  Marjorie Carr

    How can I find out whether or not I subscribed to Creative Cloud and Behance  last winter?  <Removed by Moderator>

    Sign in to your Adobe account online thru the main Adobe site and check to see the status of your subscription(s).  It should list any you have or had.

  • My main PC with my Itunes Library just crashed.  I still have all my music on Apple TV, Ipod Touch (Gen 2), and Iphone 4 (verizon).  How can I get everything set up on a new PC and working ?

    My main PC with my Itunes Library just crashed.  I still have all my music on Apple TV, Ipod Touch (Gen 2), and Iphone 4 (verizon).  How can I get everything set up on a new PC and working ?

    I downloaded Itunes 10.2 on new desktop, ran sync with my ipod touch (Gen 2) and have all my music on new PC.  Just can't get it to sync with my Apple TV (Gen1).  I have made music purchases on Apple TV and cannot get them to Ipod/Iphone?  Help

  • How can v differentiate that whether v hav to go for DBCONNECT OR UDCONNECT

    Hi all,
    how can v differentiate that whether v hav to go for DBCONNECT OR UDCONNECT.
    appreciate with points
    regards
    KK

    Hi,
    DB Connect :
    supports 8 sourcesystems only.
    Extaction will be faster than UD Connect.
    If small volume data is there then go for DB connect.
    UD Connect:
    It supports all sourcesystems.
    If data volume is high then this can be useful.
    UD connect is more expensive than DB connect.
    GTR

  • When clicking on an attachment to an email, it will only save rather than save or open. How can I change the setting to allow me to open an attachment before deciding whether or not to save it?

    There is a dialog box that appears when I click on an email attachment that asks whether to open or save a .pdf document, and whether I always want that action to be taken. However, when clicking a .doc or .docx document, I no longer have the choice. How can I revive the dialog box to choose to 'open' the file rather than being forced to 'save' the file?

    Try to clear the cache.
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    See also:
    * http://kb.mozillazine.org/File_types_and_download_actions
    You can rename such files with a .html file extension and give them a .jpg file extension to make applications see them as an image.<br />
    If Windows is stubborn and keeps the .html file extension and you end up with image.jpg.html then add quotes around the name ("image.jpg")

  • How can I find out whether I will be charged for texting somebody who lives in Canada and I live in the US?

    How can I find out whether I will be charged for texting somebody who lives in Canada and I live in the US?

    If you are on a More Everything plan, International texting is included at no additional charge.
    If you are on any other plan, there will be a charge.
    From Verizon FAQ
    If you have The MORE Everything Plan, unlimited international text and multimedia messaging is included for no additional cost.
    For all other plans, you can find pricing, dialing and coverage information for a specific country on our International Messagingpage.

  • I have  anew computer and my ipod was attached to the old one, how can i have my music download to the new computer and sincronize it.

    I have  anew computer and my ipod was attached to the old one, how can i have my music download to the new computer and sincronize it.

    If you no longer have the old computer this will be very helpful and If you have other content - apps, books, movies, that you want to transfer to the iTunes library - you need to transfer your purchases from the iPod to the computer as well.
    Take a look.
    https://discussions.apple.com/message/16153193#16153193
    This works the same way whether you have a Mac or a PC.

  • My hard drive has 70.93 GB available, yet when i have more than one internet tab open, i have to force quit google chrome because 'there is no more available application memory'. How can I solve this? I have a 2009 macbook pro running on 10.6.8.

    My hard drive has 70.93 GB available, yet when i have more than one internet tab open, i have to force quit google chrome because 'there is no more available application memory'. How can I solve this? I have a 2009 macbook pro running on 10.6.8. I have tried updating to mavericks through the mac app store but after it downloading for a day i got an error message saying there was a problem with the download. The same thing happens if i try to update itunes or the mac app store. After research, i have also tried repairing disk permissions, but every time they do get repaired the 'repair' button still appears, i'm not sure if it's because it was unable to repair the initial problems or if it just keeps detecting new ones.

    2 GBs is a minimum in which you can do many things, but not concurrently. Be very careful to not install third-party add-ons, limit the number of applications you choose to enter in Login Items, run as few applications concurrently as you demand.
    I would consider adding more RAM to your computer. Your model supports 8 GBs, so I would install that.

  • How can I set my database instance to start in OPEN mode after my computer

    Hi all,
    Sometime, I have to reboot my computer. After it rebooted, my instance is automaticaly executed. But, my database is not set to the OPEN mode (automaticaly). On some development computers, my status is set to OPEN after a reboot. On some computers, the local database is set to the IDLE instance.
    How can I set my database instance to start in OPEN mode after my computer has rebooted?
    Thank your for any help.

    but i could not run command emctl start dbconsolor lsnrctl..
    What error you are getting? If you are not able to run both of them then the ORACLE_HOME is not set properly.
    i set oracle_home and oracle_sid in thereWhere? Is it set in your user variable part of system variable. It is good to set it in the system variable, so that it will be common for all the users who use the system.
    To check whether the variable is set or not go to the command prompt and type
    setIf you see your ORACLE_HOME variable then it is set or else not.

Maybe you are looking for