Launch vi from vi

I have been looking through the forum but havent found an answer to my question.  I have a main VI that collects input from the user and reads an angle off of an encoder and logs data.  I have a second vi for controlling the motor that the encoder is connected to.  The encoder logging program opens first and there is a bit of user interface.  After the user interface the program starts logging the encoder values.  Once the program gets this far I want it to launch the motor control vi and have the motor control vi run in parallel.  I am not sure how to accomplish this as placing the motor control as a subVI inside the main VI causes the main VI to hault and wait for a return from the motor control.  Is there a way to launch a vi using a vi reference and have it run in parallel?  Any thoughts will be appreciated.
Cheers!
CLA, CLED, CTD,CPI, LabVIEW Champion
Platinum Alliance Partner
Senior Engineer
Using LV 2013, 2012
Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.

I suppose I should also ask about programmatically closing this vi, as I need to have control over that as well.  I am assuing that obtaining the reference stays the same, can I use the FP.Close method to close the VI cleanly and then close the reference after that?
Cheers!
CLA, CLED, CTD,CPI, LabVIEW Champion
Platinum Alliance Partner
Senior Engineer
Using LV 2013, 2012
Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.

Similar Messages

  • Get error message when trying to launch bridge from CC 64 bit.

    Get error message when trying to launch Bridge from Photoshop CC 64 bit.  "Cannot complete command because extension cannot be loaded."  Need fix.  Thanks.

    Hi Adobe Bubba,
    Please uninstall the software, run the cleaner tool, restart your machine and install again.
    Cleaner tool: http://www.adobe.com/support/contact/cscleanertool.html .
    Regards,
    Romt Sinha

  • Problem launching Campaign from UI

    Hi All
    We have a problem launching campaign from UI screen,as when we try and launch the campaign from the screen
    following error is coming:
    Cannot display view BSPWD_BASICS/WorkAreaHostViewSet of UI Component CRM_UI_FRAME
    An exception has occurred Exception Class CX_SHM_OUT_OF_MEMORY - Insufficient Shared Objects Memory Available
    Method: CL_SHM_AREA=>_ATTACH_WRITE70
    Source Text Row: 2
    Error occurred during navigation
    An exception has occurred Exception Class CX_BSP_WD_RUNTIME_ERROR -
    Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
    Source Text Row: 165
    Cannot display view BSPWD_BASICS/BreadCrumbView of UI Component CRM_UI_FRAME
    An exception has occurred Exception Class CX_BSP_WD_INV_VA_ASSIGNMENT - Assigned view in view area Root could not be loaded.
    Method: CL_BSP_WD_HIST_MANAGER_BASE=>GET_VIEW_ASSEMBLY
    Please suggest what should i do to correct this(we are working on CRM 2007)
    Any help will be highly appreciated
    Regards
    Ashish

    Hi,
    Would you please show your solutions? I am facing the same problem. Thanks!
    BR,
    Hao

  • Error coming while launching campaign from UI screen

    Hi All
    We have a problem launching campaign from UI screen,as when we try and launch the campaign from the screen
    following error is coming:
    Cannot display view BSPWD_BASICS/WorkAreaHostViewSet of UI Component CRM_UI_FRAME
    An exception has occurred Exception Class  CX_SHM_OUT_OF_MEMORY - Insufficient Shared Objects Memory Available
    Method:  CL_SHM_AREA=>_ATTACH_WRITE70
    Source Text Row:  2
    Error occurred during navigation
    An exception has occurred Exception Class  CX_BSP_WD_RUNTIME_ERROR -
    Method:  CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
    Source Text Row:  165
    Cannot display view BSPWD_BASICS/BreadCrumbView of UI Component CRM_UI_FRAME
    An exception has occurred Exception Class  CX_BSP_WD_INV_VA_ASSIGNMENT - Assigned view in view area Root could not be loaded.
    Method:  CL_BSP_WD_HIST_MANAGER_BASE=>GET_VIEW_ASSEMBLY 
    Please suggest what should i do to correct this.
    Any help will be highly appreciated
    Regards
    Ashish

    Hi Rohit
    Thats what i am really surprised off too,what we did was a little bit configuration for changing the skin of the screen,so a configuration request was created,now whatever changes i have done regarding the change in the skin etc. was not actually reflecting in the system & personalise button become ineffective on the main screen of UI.
    So to just go back to previous state ,i deleted that request.
    This is whatever we did,after that when we tried running campaign ,this error is coming,but i am not sure that whether this error is coming after this deletion of request or may be it was coming before too but i did not check campaign before these customisations.
    There is no Z object involved as role applied is Standard SAP Business Role & the probs coming is in the Viewset of standard Role.
    I have tried changing the role & created a Z role and applied it but of no use since the result is same,the error that i have already described.
    I am really clueless.
    Regards
    Ashish

  • Launching xcode from nfs share (Ensure that Xcode.app is installed on a volume with ownership enabled)

    Hi!
    We have mac mini (Yosemite) and NFS server under Ubnuntu 14.04.
    Also we have xcode resides on NFS share that mounted to mac.
    Problem: When I try launch xcode from nfs share I got error message:
    NSLocalizedRecoverySuggestion=Ensure that Xcode.app is installed on a volume with ownership enabled
    You can see full error here:
    https://gist.github.com/keferoff/fcfd3ea6c13f6ba481fa
    The question is:
    How I can launch xcode from nfs share? For some reasons I can't use xcode-select or store several xcodes locally.
    Thanks in advance!

    It's cool answer but I need solution how to accomplish my task. Maybe I can use iSCSI device or NBD device ot maybe there we have some NFS mount options?

  • I cannot launch bridge from photoshop cc 2014

    I cannot launch bridge from photoshop cc 2014

    If you have downloaded and installed Bridge CC and it worked with Photoshop CC,
    a common reason for this happening in CC 2014, is that you might have uninstalled Photoshop CC. If that's so, you need to reinstall Photoshop CC.
    Gene

  • Acrobat Pro 9 for mac won't launch, reloaded from disk when hard drive needed to be replace. It's in applications folder but there is an X on the Acrobat Reinstall icon. What should I do.

    Acrobat Pro 9 for mac won't launch, reloaded from disk when hard drive needed to be replace. It's in applications folder but there is an X on the Acrobat Reinstall icon. What should I do.

    Hi Janice,
    What version of Mac OS are you using?
    Adobe does not recommend migrating the software from one disk to the other.
    Please run the setup file for Acrobat and reinstall the software. You might want to delete the existing version of Acrobat installed before reinstalling it.
    Regards,
    Rave

  • To launch netscape from a java GUI on Windows NT

    Hi!
    I have some problems to launch netscape from my application. I searched and tried some tracks but it was unsuccessful. If someone could help me, I thank him by advance.
    Muriel

    import java.io.*;
    public class Tryout {
    public Tryout() {
    public void go() {
    Runtime rt = Runtime.getRuntime();
    try {
    Process newProcess = rt.exec("C:\\Program
    Files\\Netscape\\netscape.exe c:\\PathofMyForm\\MyForm.html" );
    catch (IOException ioe) {
    public static void main(String[] args) {
    Tryout tryout = new Tryout();
    tryout.go();
    // see Process and Runtime classes for other methods.
    // the format of Runtime.exec(String command) is:
    // rt.exec("c:\PathOfNetscape.Exe C:\PathOfFile");
    // Hope this helps.
    // Justin

  • I have multiple iPhoto libraries and when I selecting which library to view (hold down 'option' key and launch iPhoto from the dock) it automatically closes another open apps window eg. Chome, Word. 1 app closes every time I launch iPhoto this way.

    I have multiple iPhoto libraries on my Macbook Air 10.7.5 and when I am selecting which library to view (hold down 'option' key and launch iPhoto from the dock) it automatically closes another open application window eg. Chome, Word. 1 app closes every time I launch iPhoto this way.

    If you're pushing Option at the exact moment you're clicking the Dock icon, it's supposed to do that. Wait until just after clicking it.
    (112342)

  • HT5858 I have had difficulty launching sites from within my email messages.  So, in trying to revert to the default settings on my iPad I went into "Settings" and reset everything.  Now, I have a black screen with a white apple and a white line!  What do

    For the last severl weeks I have had difficulty launching sites from within my email messages.  Thinking that I may have gone into "Settings" and set something wrong, I decided to reset to the default settings.  So, in "Settings" I chose reset everything.  Now, when I turn my iPad on all I get is a black screen with the picture of a white apple and a white line below it.  Nothing else works.  What can I do?  Do I need to send this back to Apple to be restored?

    You will hopefully be able to restore it yourself. It sounds like you erased all constant and settings rather than resetting all settings. But I'm basing my theory on the fact that you are seeing the Apple logo with the white progress bar (the white line) on the screen. That's what you would see if the software was being reinstalled and then it stopped on you. If that is what happened, you need to restore again and most likely need to use recovery mode.
    You can read about recovery mode here.
    Recovery mode - Apple
    However ...... If you are seeing the white line when you turn the iPad, let it go for twenty minutes or so, before you try restoring again. There is possibility that the software is still be installed and it can take a while before you see that white line move at all indicating that progress is being made.
    Frankly, I don't think that the software is still being installed, but since you didn't say specifically how long the iPad has been like this, it could just be that the software hasn't finished installing yet. If you know better - meaning that it's been like this for hours or longer, then you do need to restore the device.

  • Launching Browser from Swing Applicaton....

    Hi,
    i am launching browser from my swing application.While opening HTML file, always the HTML file goes behind the application.Everytime i have to maximize the html file window.
    i want the HTML file to come up in front of the swing application.
    any help please ??? itz very urgent.....
    Thanks in advance.
    Manikandan

    Browser Utility - Class to launch a URL in a web browser in
    a platform independent manner. Includes an optional swing
    GUI allowing user customization. [Open Source - GPL]
    http://ostermiller.org/utils/Browser.html
    BrowserLauncher - Open the system web browser with
    particular attention paid to various Macintosh systems.
    (Freeware)
    http://browserlauncher.sourceforge.net/
    Java World - With a little platform-specific Java code, you
    can easily use your system's default browser to display any
    URL in Windows or Unix.
    http://www.javaworld.com/javaworld/javatips/jw-javatip66.html
    JConfig - Class Libraries that allow a URL to be launched in
    a browser on Windows, Unix, or Macintosh. [Commercial]
    http://www.tolstoy.com/samizdat/jconfig.html
    Apple - MRJFileUtils.openURL() not implemented in Mac OS X.
    http://developer.apple.com/techpubs/macosx/ReleaseNotes/JavaGMWebReleaseNotes.html#MRJToolkit
    Apple - How one would open a URL in a web browser on a
    Macintosh.
    http://developer.apple.com/qa/java/java12.html

  • Run time prompts not appearing when launching BR from a right click menu

    Hi!
    I have a problem when trying to launch a business rule from a right click menu which is assigned to a dataform.
    The rule launches but does not show/ask for the run time prompts as it should do. The run-time prompts should not be hidden (I checked also Eas and data form selections).
    When using the rule form the Tools-Business Rules menu, the rule works fine. It prompts for the required variables and as they are filled in, the rule does what it is expected to.
    Also, when using the same rule attached into a form (and selected "use members on form"&"run on save") the rule works correctly.
    We are using version 11.1.2.1.
    I already have tried restarting Planning services but without success.
    What might cause this?
    kind regards,
    user637777

    Hi!
    I found out from the Oracle knowledge base:
    This issue is caused by unpublished Bug 11064867 - RIGHT CLICK MENUS NOT RENDERING RUN TIME PROMPTS
    In version 931 run time prompts worked correctly when launching them from a right click menu, I checked this out.
    In our current version I got this working (this is kind of a workaround) by adding a new RTP variable (using the same dimension as the original RTP variable). This way I got the rule to "ask for more information" (like what were you asking for? ) and not running the rule without interruptions. This instruction was given in Oracle support (knowledge base).
    kind regards,
    user637777

  • Hello Mac heads.! I just downloaded Onyx for tiger.  All went well.  But I try to launch onyx from my applications and it doesn't offer checking the S.M.A.R.T. status so I can check my disk.  Everything else appears.  Uninstall only, forums, website etc.

    Hello Mac heads.! I just downloaded Onyx for tiger.  All went well.  But I try to launch onyx from my applications and it doesn't offer checking the S.M.A.R.T. status so I can check my disk.  Everything else appears.  Uninstall only, forums, website etc.

    I think you should get Applejack...
    http://www.macupdate.com/info.php/id/15667/applejack
    After installing, reboot holding down CMD+s, (+s), then when the DOS like prompt shows, type in...
    applejack AUTO
    Then let it do all 6 of it's things.
    At least it'll eliminate some questions if it doesn't fix it.
    The 6 things it does are...
    Correct any Disk problems.
    Repair Permissions.
    Clear out Cache Files.
    Repair/check several plist files.
    Dump the VM files for a fresh start.
    Trash old Log files.
    First reboot will be slower, sometimes 2 or 3 restarts will be required for full benefit... my guess is files relying upon other files relying upon other files! :-)
    Disconnect the USB cable from any Uninterruptible Power Supply so the system doesn't shut down in the middle of the process.

  • Launching WebDynpro from Universal Worklist

    Hello All,
        am trying to launch a Web Dynpro Application from the UWL but was not able to open the application.
    We are following the Launching WebDynpro from Universal Worklist blog. But we are not able to open. Can any one help on this?
    Thanks
    Gopal

    Hi ,
    check the defaultAction assigned to launchWebdynpro or not?
    <ItemType name="uwl.task.webflow.TS91000129.UWL" connector="WebFlowConnector"
    defaultView="Test" executionMode="default" defaultAction="launchWebdynpro">
    after modifying did you upload with previous name of xml file? If you give different name to xml file , set highest priority such that uwl will consider this xml file
    Koti Reddy

  • Can't launch executable from SQL Server Agent Job

    I'm trying to launch an .exe from SQL Server Agent Job and basically nothing happens. I created a job, with 1 step, type is Operating System (CmdExec), run as sql agent service account, and in the command box I typed "start notepad" (no quotes). The job owner is set to administrator. I manually start the job, it processes successfully yet notepad does not launch. I've tried with other .exe's and result is the same. Any advice? Thanks!

    I tried several things and not just with notepad, I tried a couple other small executables. I've tried:
    c:\notepad       --(I copied it to c:\ thinking it maybe it's not finding the file.)
    c:\notepad.exe
    notepad.exe
    start notepad
    start notepad.exe
    and also launching it from a batch file.
    If I use just notepad the job hangs saying it's executing and I have to stop it. If I use start notepad it comes back as executed but actually nothing happens, ie, notepad does not launch. I've tried different security settings within SQL Server (ie assigning all available default roles to the login at the same time and individually one at a time) with identical results. SQL Server is loging in with local administrator priviledges and so is SQL Server Agent. My settings are the default installation settings (for Windows Server 2003 and SQL Server 2005) except that I read the BOL page "Configuring SQL Server Agent" which indicates the permissions needed for the following:
    Adjust memory quotas for a process
    Act as part of the operating system
    Bypass traverse checking
    Log on as a batch job
    Log on as a service
    Replace a process level token
    And they have been set. Still the same. BTW, I get the same result when trying to launch the file using xp_cmdshell with all the variations, and the proxy account for xp_cmdshell has been set to a login with administrator priviledges....
    I think it's some security setting in Windows Server, if only because I think I've tried all the settings within SQL Server...
    BTW, also, nothing is setup for Proxies under the SQL Server Agent node, but I don't think I should need to if I'm using the administrator level login...

  • Launching FW from Flash Movie

    Is there a way to launch FW from Flash Movie when user
    presses a buttons?
    Bascially, when user clicks a button in Flash Movie, FW
    launches and execute some scripts.
    Thanks,

    Not a Flash expert, but I don't think so. Why do you want to
    do this?
    alex
    babo_ya wrote:
    > Is there a way to launch FW from Flash Movie when user
    presses a buttons?
    >
    > Bascially, when user clicks a button in Flash Movie, FW
    launches and execute some scripts.
    >
    > Thanks,

Maybe you are looking for

  • What is a saved search query? And can I delete it?

    I was making some back up disk and created a Saved Search Query. Can the file that's on my desktop be trash? What exactly is this, and what is it's purpose. Greg

  • Acquistion value negative in area 01 while doing MIRO

    Hi Gurus, Lot of threds were posted on this error message but my scenario looks different. We have acquired an asset through PO-GR. The sequence of GR transactions: 1. Acquistion posted through GR for $100. 2. Reversed the GR. 3. Acquisition posted t

  • Apache and JRun

    From the documentation it would appear that only Apache 1.3.9 and JRun 2.3.3 are certified to work with iFS. However, after reading a few messages posted here it would seem that some people have tried running iFS with JRun 3.0. Has anyone managed to

  • New entry for "What the Experts are saying.." on Spatial OTN

    http://www.oracle.com/technology/products/spatial/customer_success.html Hello, released last month was a review of eSpatial iSMART product suite which works and expands on Oracle Spatial. This was completed by Professor Frederick Limp for GeoWorld an

  • How to uninstall siverlight from my macbook pro

    how to uninstall silverlight