How can I run a SubVi in background when a sequence is running in the main VI

What I want to do is this
When I push a button on the main VI, a SubVI (#1) must run and take data.
At the same time, a sequence, in which there are other subVIs must run.
My problem is that the subVI #1 does not run when I push the button. The sequence is running well. How can I run both the sequence and the subVI at the simultaneously?
Solved!
Go to Solution.

Hey Hugo,
Sounds like you'll just want to do some parallel loops. I'll attach a screenshot of a VI that has a sequence where the counter goes up to 3, then restarts, each time it reads the iteration count from the subVI above. (The subVI is just a while loop with the iteration count attached to the global)
Each iteration of the sequence shows an increased count from the subVI via a global variable.
Is this what you are looking for?
Keep in mind that I just threw this together to show functionality, its got a lot of rough edges to it.
Message Edited by Chris_VH on 03-30-2009 03:59 PM
Chris Van Horn
Applications Engineer
Attachments:
iteration.jpg ‏43 KB

Similar Messages

  • Hello! I was on my Mac and then I clicked on iTunes. Then I clicked on iTunes, and accidentally removed my device from my Mac, how can I get it back? Also when I plug my iPod into the computer, it downloads everything, how can I stop this. please help!thx

    Hello! I was on my Mac and then I clicked on iTunes. Then I clicked on Account, and accidentally removed my device from my Mac, how can I get it back? Also when I plug my iPod into the computer, it downloads everything that is on my computer, how can I stop this. please help! please help!!!!!!thank you

    Is the iPod still singed into the account isn Settings>iTunes and App Stores and SettingsZ>iCloudl? If it is then I would not be concerned.
    Also see:
    iTunes Store: Associating a device or computer to your Apple ID
    since you may have started the 90 day window.
    For the other "problem", go to iTunes>Preferences>Devices and check the box that says Prevent iPod....automatically syncing.

  • HT201363 How can I reset my security questions even when it doesn't give me the option to send the answers to my email???

    How can I reset my security questions even when it doesn't give me the option to send the answers to my email??? I honestly dont even remember doing any security questions. This has just now become an issue since it has stop letting me purchases music on my Mac or IPhone.

    To Reset Your Security Questions, You will need to call Apple (0800 048 0408) and Reset them, you'll need for verification access to the apple id web page (myappleid.apple.com) and it will ask for a temporary pin and also a iDevice on hand to recieve a code from Apple in order to reset your security questions

  • How can I get my music files back when they are no longer on the computer?

    So the problem I am having is that I cannot play songs on the playlist because "the file cannot be located" error.  I checked the iTunes media folder and they weren't there. I searched my whole computer and they still could not be found.
    The story behind the problem is that I pretty sure all the songs I am having troubles with were ones I purchased on my iPod Touch itself. Several months ago when I plugged my iPod into the computer so it could sync ( my iPod is old and can't connect to the WiFi anymore forcing me to buy songs on my computer again.) The songs purchased on my iPod showed up on my playlist on my computer but they had the "!" next to them and they were no longer on my iPod and when I tried to get them back on I got the "cannot be located" error. I then checked the iTunes music folder again and the only songs there were songs I purchased on my computer.
    I am extremely frustrated. When I go to the iTunes store under "Purchases" they all show up however there is no way for me to download them again onto my computer because the "download" button cannot be clicked on because I am assuming it thinks the songs are already on the computer, but I know they aren't. I tried organizing my songs option and that didn't do anything.
    Is there any way to download them again? Or at least tell the iTunes store that they aren't located on my computer anymore so I can download them again?
    If I lost hundreds of dollars of music because the iTunes software is a piece a ****...

    You might want to post this question to the iTunes Windows forum rather than the iPod forum - try iTunes for Windows
    Just a note of encouragement - I doubt very much you've lost your music - they remember what you've purchased forever and as long as the content is still on the iTunes store you should never loose anything (however sometimes content is removed from the store for various reasons and in that cause if you don't have a local copy on your iTunes library it is not recoverable - but that issue is relatively infrequent) - it's just a question of why iTunes won't let you download it again. good luck...

  • 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 stop Firefox 34 from crashing when I click a button on the NOrton 360 toolbar??

    I have the latest Norton 360 and fully updated. Also have FF 34.05. After anywhere between an hour and 3 hours, clicking any of the Norton Toolbars buttons that open options and provide multiple log in options FF crashes and when I reopen it it brings up my old tabs and at the end it brings up the FF welcome screen. In the options, it changes my opening page to the Norton Welcome page and the option to open previous tabs which was there with open default site which now it the welcome screen. Need help as have tried several fixes from the net and none so far work. Have allowed FF to reinstall the pref file, have removed hardware acceleration as well as put flash into a non protected mode and none help.
    Don't know if it is a FF or Norton issue but, it is a real issue. Please help.

    Thanks for your quick turn around. I'd be surprised if corrupt files as I only got the machine last Thursday but, it was a refurb so perhaps issues from the previous owner.
    Do have some questions as follows:
    It is a Windows 8.1 64 machine so will the fix recommended work??
    looking at the page, appears option 2 is my best bet but, won't start until I get the go for Win 8.2. Assuming this is a good fix and since I would be doing it with the system and not a program, no malware??
    As far as drivers, do have a app from HP that updates drivers and I updated everything after I got it going so should have the latest drivers and I did try alone unclicking the machine acceleration and no change there but, with the scan, might help. I have run all of the Windows updates which were quite a few with a new computer and do have Windows set to perform automatic updates so don't think I need to worry about graphic drivers??
    Your thoughts on my questions before running the scan at the elevated admin level. By the way, I am the admin so do I simply run as admin or is there a higher thing I need to do to run at High Administrator???
    Also, if after I run the scan and repair, if OK on Win 8.1 should I send your results to Norton for them to look at since almost all of the problems are with Norton and perhaps they have a fix with those issues and having running the driver fix should help them?? Also will the scan and repair indicate what was fixed and what wasn't.
    Sorry so many questions but, don't want to mess up my new machine.
    Thanks so much,
    Dave

  • HT1414 How can I get into my iPod Touch when its disabled because I forgot the password?

    Hi,
    My name is Amanda Davis and my daughter, Sydney Davis, got an iPod Touch. A few days ago, she changed her password to what she thought was her name, but instead she changed to something else and she can't get into it. She tried to put her password in it and it locked her out every single time. Now it is disabled.

    1: Connect the device to your computer and open iTunes.
    2: If the device appears in iTunes, select and click Restore on the Summary pane.
    3: If the device doesn't appear in iTunes, try using the steps in this article to force the device into recovery mode.

  • How can we use cl_gui_html_viewer      in a background process.

    Hello,
    Refering to this thread: Pie chart using Class cl_igs_chart ??
    How can we use cl_gui_html_viewer     in a background process.
    I want to execute a html code in bakground process in abap program.
    but using cl_gui_html_viewer   I have an error with CNTL_ERROR in the method CONSTRUCTOR;
    Thanks

    Marie,
    I don't know about HTML viewer specifically, but whenever a GUI object is needed to be used in background, there is a standard method to avoid CNTL_ERROR.
    When a program runs in background, there is no "screen" and hence no GUI, and hence a custom control can not be displayed. That is why the program generates an error.
    The trick is to avoid creating the custom control in background.
      if sy-batch = 'X'. "background mode
    *   We don't want to create the custom control
      else. "dialog mode
        create object l_container exporting ...
      endif.
    * We really don't need a container for using CL_GUI_ objects
    * Proceed with the normal coding
      create object l_html_viewer
      exporting
        parent = l_container

  • How can i know what SubVI is on SubPanel?

    How can i know what SubVI is on SubPanel?
    In the main of my application i have three subpanels that open many different SubVI, i need to know what reference of subvi is actually open
    what could be the best way to do it?
    thanks,
    Andres

    I'm not aware of a way of directly getting the VI reference from the subpanel control after a VI has been inserted into it. Seems like an oversight to me if it's not there. This means you will either have to create a mechanism for saving the reference that's currently open at the time that you invoke the "Insert VI" method, or you can use a roundabout means like getting the run state of a VI or reading an indicator's value, as mentioned in this thread.

  • How can i display image in RTF template when Oracle Apps running in Windows

    Can any body help how can i display image in RTF template when oracle apps running in Windows Server.
    Thanks
    Ravi

    Hi Ravi,
    You can add images into your rtf template using MS Word Insert Picture feature.
    Did you try this method?
    Thanks
    Ravi
    [email protected]

  • How can i update my old 2006 iMac Intel core 2 duo running 10.6.8 to OSX Lion so that I can sync using iCloud with my newer devices?  Mountain Lion is not an option for my older model and Lion is no longer available at App store.

    How can i update my old 2006 iMac Intel core 2 duo running 10.6.8 to OSX Lion so that I can sync using iCloud with my newer devices?  Mountain Lion is not an option for my older model and Lion is no longer available at App store. 

    Call Apple's online store's telesales agents: 1-800-MY-APPLE (1-800-692-7753) or Customer Service and Sales Support at 1-800-676-2775. For Lion you'll get a redemptions code via e-mail and need to DL from the Mac Apple Store (requires SL 10.6.6+).

  • I'm told there is a virus associated with Adobe Reader. How can I tell if my machine is effected and if so what is the cure. I'm running OS X10.6.8 on an iMac with safari 5.1.5

    I'm told there is a virus associated with Adobe Reader. How can I tell if my machine is effected and if so what is the cure. I'm running OS X10.6.8 on an iMac with safari 5.1.5

    There are no viruses currently affecting the Mac but there is something called Flashback which is malware that has been doing the rounds and affected many Mac users. Apple have released some updates to Java that should remove it and improve protection. Run Software Update to see if there is anything for downloading.
    A few precautions that can help prevent your Mac becoming infected:
    If you use Flash only download it directly from Adobe.
    In all web browsers disable Java (but do leave Javascript on as that's something else).
    In all web browsers make sure downloaded files aren't set to automatically open after downloading.
    Consider disabling Java completely (launch Java Preferences in the Utilities folder and disable it - you'll likely rarely, if ever need it. If you do just turn it on and off again when your done).
    You can also check out this link:
    http://lifehacker.com/5900434/how-to-find-out-if-your-mac-was-infected-by-the-fl ashback-trojan-in-one-click

  • 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.

  • Trying to install OS X Yosemite but it keeps failing - how can I tell if my iMac is too old? Currently running on OS X 6.8

    Trying to install OSX Yosemite but it keeps failing - how can I tell if my iMac is too old?  Curently running OS x 10.6.8

    Hold on.
    7,1 is a mid 2007 model (20 or 24")
    It can run Yosemite, make sure that you have at least 4GB of Ram.

  • How can I specify relative SubVI file path in VIs?

    I use LabVIEW 2009 Service Pack 1.
    SubVIs are referenced by absolute paths, so when I move them to a new folder I may need to set their paths again.
    How can I make a SubVI reference a relative path so that I don't have to set its path after moving VIs to a new folder or a new drive?
    Solved!
    Go to Solution.

    altenbach wrote:
    [...]Where did you encounter any problems?
    From my experience, most of those problems occur when moving VI files directly on disk (Windows File Explorer) individually.
    @OP:
    Altenbach brought up a good point: When moving/copying the project, take care that all project related sources are within a single project folder. Move/copy the whole project folder, keeping its internal setup. In most cases, that is doing fine.
    When moving individual files (VIs), make sure that you use the LV Project Explorer to do so. Add all files used in the project into a single lvproj and then swap to the "Files" tab. Rightclick the individual VI you want to move and select "Move on Disk" from the context menu. This will auto-update all (known) callers as well.
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

Maybe you are looking for

  • When trying to play videos I get the message "requested URL is not supported on this network" how do I fix this?

    I receive the error "requested URL is not supported on this network" when trying to play videos on my iPhone. Can you please advise how to fix this problem?

  • Why no redo for font changes?

    When adjusting things like font tracking in Keynote, one has to go several layers deep in the Format menu each time, and each time one gets only a tiny change. Thus in such a circumstance, one typically needs to redo this cumbersome process over and

  • White Balance Adjustment question

    I have about 800 images from a wedding, and am now ready to go thru them and adjust the white balance. However, am I missing something? I click on the white balance option, then the dropper, then click on the image to adjust the white balance ... But

  • Standard account user is able to search my files

    Even after 5 years of using a mac I must ask a rookie question. I've given a lend of my old PowerBook to my friend and set up a standard account for him. I've just noticed that when he searches for something in the finder and chooses to search mac, h

  • How-to interrupt a hanging methodcall

    I wonder if someone from you now, how one can interrupt a method while it is hanging for some reason. This is the problemdescription is as following: If the method has longer then 10 seconds, it needs to be interrupted. Any ideas? Thanx, nils