Create a VI by Clicking

Hi. I'm quite new with Labview.
Does anybody know how to create/ duplicate a VI by clicking a button in the front panel?
What I mean is: I have created a template, and I want to write a program such that whenever I click a control button in the front panel, a new VI will be created  automatically, exactly like my template. Can anyone tell me how to do this? I know I can programmatically create a new VI by using Labview VI scripting, but it seems very complicated.
Thank you.

By the method you proposed you will be able to create a new vi but you will not be able to do any coding there you can simply see the front panel and check the values. And Without running the VI you cannot pop up another VI's Front panel.
By using the Open VI Reference you can invoke the VI into the main VI and can do some operation with respect to the VI and it has nothing to do with coding while the Main program is running..
The best solution is the one you find it by yourself

Similar Messages

  • How do I create buttons that once clicked and un clicked, alter an image? ...

    How do I create buttons that once clicked and un clicked, alter an image?
    So for example if I imported a psd file into Muse with 5 layers, could i create 5 buttons which, when clicked, each individually took off and added 1 layer?
    Basically this should make what i'm trying to say clear (when it's loaded click the arrow and you'll see): http://lust.nl/lustArchive/noordzee/noordzee.html
    Appreciate any help

    Hi Joe,
    Please use this option to hide the target on click - http://prntscr.com/3plqn0
    - Abhishek Maurya

  • Deploying AAMEE 3.1 created MSI by double clicking it in UI mode

    With the release of AAMEE 3.1, AAMEE created MSI supports both silent and UI based installation.
    For UI based install of AAMEE 3.1 created packages, run the MSI as an administrator. If you are logged in as Admin user, you can double click it, otherwise right click the MSI and run as administrator. A minimalistic UI will be shown with just a progress bar. Any error during MSI install will cause a roll back and the user should check the logs to see what went wrong. You can also run the MSI in UI mode through this command line –
    msiexec.exe /i <path of msi>
    AAMEE still supports silent installation as the standard way of deploying the packages. Silent installation can be done only through the command line option –
    msiexec.exe /i  <path of msi> /qn.
    Make sure that the command line is invoked with admin privileges. For users using SCCM 2007 for deploying AAMEE created packages, make sure to check “Allow users to interact with this program” checkbox in Environment tab of the SCCM Program for UI based installation. The corresponding checkbox for SCCM 2012 is “Allow users to view and interact with the program installation”.
    For uninstallation of MSI in UI mode, there is only a command line option –
    msiexec.exe /x <path of msi>
    For silent uninstallation, add the /qn switch with the above command line –
    msiexec.exe /x <path of msi> /qn
    This UI based installation is only supported by the packages created using AAMEE 3.1. If you are using AAMEE 3.1 beta or AAMEE 3.0 for CS6 packaging, please download AAMEE 3.1 from http://www.adobe.com/devnet/creativesuite/enterprisedeployment.html.
    Feel free to mail me at [email protected] in case you see any issues.
    Thanks,
    Saransh Katariya | Member of technical staff | Adobe Systems | [email protected]

    I want to revisit this. You can also see my related posts here:
    http://forums.adobe.com/message/5073735
    I had contented myself that I would use a batch file and require users to right-click and run as admin on the batch file. This was so that I could get Acrobat 10 installed at the same time. However, now that I have Acrobat 11, and I can separate out the installers, I would like to get back to this "double-click" method. I've verified that my new package (without Acrobat) works using the msiexec command. However, it still doesn't work as a double-click.
    Here are the key lines from PDApp.log:
    3/8/2013 07:54:21 [ERROR] Setup - Error parsing command line arguments at - "DISABLE_CCM_DESKTOPSHORTCUT".
    Expected arguments are -
              --mode=silent
              --overrideFile="<FilePath>"
    3/8/2013 07:54:21 [FATAL] Setup - Administrative Privileges required to continue
    3/8/2013 07:54:21 [FATAL] Setup - End Adobe Setup. Exit code: -10
    However, I am an admin on the machine, just as I am on all the machines that I've tested this on. And when I use a batch file with the msiexec and right-click and run as admin, I don't have to put other credentials in, verifying that I am, in fact, an admin on the machine.
    Thanks for your assistance.
    Mark

  • Need to create a pdf on click of link

    My requirement is to create a PDF file with some fixed amount of information being displayed in the PDF, on the click of a link...
    Currently,ive created links on first column of table, and on click of which, a new page opens up (usnig factory method), i even pass parameter to the page. Now instead of a .htm file, i want a pdf file. How can i achieve this? Thanks in advance.

    Hi,
    By triggering some events, you can display a PDF file. Use the below piece of code for you requirement.
    In the triggering event,
    write the code for the smartform data to be displayed.
    Ex: EXPORT <structure1> FROM <structure1>
          TO MEMORY ID '<Memory>'.
    CALL METHOD current_activity_object->process_document
            EXPORTING
              channel  = '<Event ID>'
            IMPORTING
              document = lv_document.
    Reward points if helpful.
    Gokul.N

  • Prob in displaying the dynamically created ui elements on click of a button

    hi all
    i created 1 inputfield, 2 buttons & i wrote the following code in wddomodifyview() of view.
    IWDInputField inf1=(IWDInputField)view.createElement(IWDInputField.class,"inf1");
        inf1.bindValue("Student.name");
        IWDButton but1=(IWDButton)view.createElement(IWDButton.class,"button1");
        but1.setText("Button1");
        IWDButton but2=(IWDButton)view.createElement(IWDButton.class,"button2");
        but2.setText("Button2");
        IWDTransparentContainer tc=(IWDTransparentContainer)view.getElement("TransparentContainer");
         tc.addChild(inf1);
        tc.addChild(but1);
        tc.addChild(but2);
         IWDButton button1= (IWDButton) view.getElement("button1");
         IWDAction theAction=wdThis.wdCreateAction(IPrivateDynCompView.WDActionEventHandler.DISPLAY,"");
                        but1.setOnAction(theAction);
                             IWDParameterMapping bm1 = button1.mappingOfOnAction();
                             bm1.addParameter("id", "b1");
                   IWDButton button2= (IWDButton) view.getElement("button2");
                   IWDParameterMapping bm2 = button1.mappingOfOnAction();
                   bm1.addParameter("id", "b2");
    and i wrote the following code in onactiondisplay()
    if (id.equals("b1"))
         wdContext.currentStudentElement().setName("First Button Clicked");
         else
         wdContext.currentStudentElement().setName("Second Button Clicked");
    when i run the application, the following error is displaying.....
    The initial exception that caused the request to fail, was:
       com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: View: Cannot add element with duplicate ID "inf1" of type com.sap.tc.webdynpro.clientserver.uielib.standard.impl.InputField
        at com.sap.tc.webdynpro.progmodel.view.View.addElement(View.java:481)
        at com.sap.tc.webdynpro.progmodel.view.ViewElement.<init>(ViewElement.java:43)
        at com.sap.tc.webdynpro.progmodel.view.UIElement.<init>(UIElement.java:188)
        at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractInputField.<init>(AbstractInputField.java:143)
        at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.InputField.<init>(InputField.java:71)
        ... 35 more
    com.sap.tc.webdynpro.services.exceptions.WDCreationFailedException: Cannot create view element implementation com.sap.tc.webdynpro.clientserver.uielib.standard.impl.InputField
         at com.sap.tc.webdynpro.progmodel.view.ViewElementFactory.createElement(ViewElementFactory.java:75)
         at com.sap.tc.webdynpro.progmodel.view.View.createElement(View.java:89)
         at com.sap.dynactions.DynCompView.wdDoModifyView(DynCompView.java:140)
         at com.sap.dynactions.wdp.InternalDynCompView.wdDoModifyView(InternalDynCompView.java:240)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doModifyView(DelegatingView.java:78)
         at com.sap.tc.webdynpro.progmodel.view.View.modifyView(View.java:190)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:398)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.modifyView(ClientApplication.java:679)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:381)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at com.sap.tc.webdynpro.progmodel.view.ViewElementFactory.createElement(ViewElementFactory.java:65)
         ... 30 more
    Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: View: Cannot add element with duplicate ID "inf1" of type com.sap.tc.webdynpro.clientserver.uielib.standard.impl.InputField
         at com.sap.tc.webdynpro.progmodel.view.View.addElement(View.java:481)
         at com.sap.tc.webdynpro.progmodel.view.ViewElement.<init>(ViewElement.java:43)
         at com.sap.tc.webdynpro.progmodel.view.UIElement.<init>(UIElement.java:188)
         at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractInputField.<init>(AbstractInputField.java:143)
         at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.InputField.<init>(InputField.java:71)
         ... 35 more
    pls tell me how to run this application without errors.....
    thanks & regards,
    vila.

    Hi Vila,
    Issue here is you are trying to create Input field with already used id "inf1" in first line of code
    IWDInputField inf1=(IWDInputField)view.createElement(IWDInputField.class,"inf1");
    Please change it to
    IWDInputField inf1=(IWDInputField)view.createElement(IWDInputField.class,"inf2");
    and correspondingly line
    tc.addChild(inf2);
    Your code will work.
    Please note that you should follow....following code style in wdDoModifyview
    if(firstTime)
    //dynamic view elements creation

  • How do I create an object with "click and drag" interaction?

    I want do make an object that I can move around the screen at will, so, I need a way to make a click and drag object in adobe edge.
    I also need this to work with touch devices and also to limit the movement of the object to one direction (x or y).
    Thank you all in advance.

    Thanks for your reply.  I tried doing what you said, creating a command by opening a new flash file, etc.  For some reason, I could make a rectangle and save that as a command, but making a shape using the polystar command didn't work - there was a red "x" next to it in the history panel.
    Anyway, even if I could do that, it's not what I want to do.  I want to be able to create a shape and then be able to change the shape dynamically.  For instance, I want to be able to create a series of points and draw curves between them to create a closed curve shape.  Then I want to be able to change the positions of the vertices so that the shape changes as the .swf is running.  Thanks.

  • How do I create a clickwrap, or click through agreement so visitors can "agree" to leave my site?

    My website provides some links to other related websites whose content is outside my control. I need to create a "yes" or "no" agreement for my visitors to indicate they know they are leaving my secure website.
    How is this done in Dreamweaver? Thanks in advance for any advice you might be able to offer.

    Thank you, Nancy!
    That is so very helpful!
    Joe Klimavich
    Vice President, Communication
    Hometown Bank - A Cooperative Bank
    27 Sutton Avenue
    Oxford, MA 01540
    (508) 987 - 1200 Office
    (508) 987 - 7023 Fax
    (508) 769-8391 Cell / Text
    [email protected]
    www.hometowncoop.com
    Hometown Bank, the Way Banking Should Be.
    This e-mail message is generated from Hometown Bank, A Cooperative Bank, and contains information that is confidential. The information is intended to be disclosed solely to the addressee(s). If you are not the intended recipient, be aware that any disclosure, copying, Distribution or use of the contents of this e-mail information is prohibited. If you have received this e-mail in error, please notify the sender by return e-mail and delete it from your computer system.
    >>> "Nancy O."
    Nancy O.
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4874665#4874665
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4874665#4874665
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4874665#4874665. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Dreamweaver General by email ( mailto:[email protected].adobe.com ) or at Adobe Community ( http://forums.adobe.com/choose-container!input.jspa?contentType=1&containerType=14&contain er=2240 )
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How do i create this kind of click box?? HELP

    Hi There,
    How do i create a click box that when you double click it a
    black dot is displayed. Im sorry if im not being clear. I mean a
    dot in the middle of a circular click box. When you click multiple
    choice, sort of.
    Any help would be appreciated! Thanks
    Simona

    Hi Simona
    If I'm understanding you correctly, you are referring to what
    used to be known as a "Radio Button" and is now preferred by
    Microsoft to be called an "Option Button". Captivate doesn't allow
    these to be created. One possibility is to use two images to
    achieve the effect. The "Unfilled" or "Un-Selected" image on one
    slide and when clicked it would display the 'Filled" or "Selected"
    image on the next slide.
    Cheers... Rick

  • Firefox will not start. Open profile manager. Delete old profile. Create new profile. Click start firefox. Firefox starts. Close firefox. Click start, "Mozilla Firefox", FireFox DOES NOT start. Help!?

    Firefox will not start.
    Run profilemanager and delete old profile - create new profile - click run firefox from profile manager and firefox opens.
    Close firefox and try to reopen. Will not open. Follow above procedure again and foerefox opens until closed them will not open.
    == This happened ==
    Every time Firefox opened
    == Last week ==
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8

    Thanks for your help. I had tried starting Firefox in safe-mode before I posted this request, but it did not work. I tried to restore the system to an earlier version, but that made everything worse. Two accounts were unusable and one sort of worked, so I reloaded the operating system and now firefox works, for how long, I don't know. But thanks again for your suggestion.

  • Create image on mouse click

    Hello,
    I'm trying to create an applet that will have a dot (any color) appear when the mouse is clicked. Most places have examples of buttons, but I am having a tough time figuring this one out.
    Thanks,
    -Rain

    Hi,
    you have to divide the process into several steps:
    get the image tag at the caret position
    read it' properties
    bring up a window with ooptions to change those properties
    remove the existing image tag
    place a new image tag with the new properties at the caret position
    alternately you can change the properties of the existing image tag.
    There a reloads of threads in this forum about how to change tag properties or the tag structure of a HTML document, so I omit this. Please try to do a search for such topics in this forum.
    A GUI (Java classes ImageDialog and ImagePreview) for entering image properties is available at http://www.calcom.de/eng/dev/index.htm
    Directly changing a table's width with the mouse is more complex, because you'd have to constantly write new width properties for the table and update the document while the mouse is moved. Probably better would be to bring up a dialog window to change the table properties instead.
    Hope this helps
    Ulrich

  • IPhoto creates duplicates when I click "Edit"?

    I've just upgraded to iPhoto '11 and installed it on my new 15" MBP, imported my old iPhoto library, and everything seems lovely.
    BUT: whenever I click "Edit in external application," iPhoto creates a duplicate of the photo, and sends the duplicate to Photoshop. When I quit photoshop, the duplicate image remains in iPhoto. This duplicate remains even if I don't make any changes in Photoshop.
    Is this a new behavior? It's pretty frustrating. Any way to turn it off?

    Very frustrating. I make a lot of panoramas, and I need to open four or more adjacent images at once to perform Photomerge in Photoshop. So now every time I do this, I'm going to have a whole bunch of pointless duplicates cluttering up my drive? What was the thought behind this?
    Yes, I'll certainly provide feedback, and I also hope/trust Apple is reading these discussions...

  • Create Shortcut for Right-Click Menu

    I know you can create shorcuts from System Pref. - Keyboard - Keyboard shortcuts.
    But this only works with commands that are on the menu bar, but not with menu that only appears when you click the right button of the mouse (or two finger tapping on trackpad)
    I'd like to know if there is any way to make a shortcut (like apple + D or sth) for the mouse menu. I suppose Automator can give us some way to work it out?
    Thanks

  • Fw Pen Tool Bugged - Can't Create Points w/ a click

    So I don't use Fireworks much, but am trying to start. Am I wrong in thinking that just CLICKING somewhere on the canvas with the Pen Tool should add a point? Because it's not happening for me. The only way it adds a point is if I click and drag - which always creates a curve with handles. In Photoshop and Illustrator just clicking on the canvas creates a point that you can continue. What could be the problem?
    I've tried restarting my Mac, trashing Fireworks' preferences, fiddling with the mouse/touchpad click settings, ... nothing seems to work. And I know it can't be the Mac itself because this function works in AI/PS. Do I have something accidentally enabled that doesn't allow you to create a bloody point? I can't even believe I have to post on here for such a simple task.
    Any help would be appreciated...

    Re-installing Fireworks seems to have done the trick.
    Just posting this solution for the rare few that may ever have this problem... I have no idea what was wrong, though. I actually couldn't click ANYTHING - the zoom tool didn't work either unless I clicked and dragged.
    Scratch all that, re-installing had no effect whatsoever.
    The problem is with a program I have running, SweetFM that plays music from Last.fm. There seems to be some sort of conflict between it and Fireworks! So yeah... don't run SweetFM while using Fireworks, I guess.

  • Create new vi by clicking on a button in front panel

    Hi. I'm quite new with Labview.
    I have to use an if statment to enable a button(I dont know whether it is possible or not in LabVIEW) then when the button is enabled to user should click on the button(lets say NEXT button) to close that vi and open another vi from a specific address.I don't need to save anything from the previous vi I just need to close it and open another one .
    Does anybody know how to first enable a button as a result of getting correct answer from an if statment and also how to close and open new vi by clicking on that button.
    Many thanks.
    Solved!
    Go to Solution.

    I think that the attached will help you a lot further.  I've documented where needed.  If you have any more questions, don't hesitate to ask.
    Open Main.vi and run it
    Kind regards,
    - Bjorn -
    Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's
    LabVIEW 5.1 - LabVIEW 2012
    Attachments:
    en99.zip ‏32 KB

  • How do you create Thumbnails that, whn clicked-on, triggr a  video to play?

    ...i.e. like the way it is on YouTube? So Say I want to have one main video area at the top of the screen, and smaller thumbnails below it, and when those thumbnail is clicked on, the video plays in the main area? I hope this makes sense. How do I set this up in iWeb?

    One of the methods on this demo page might work for you: Opening Item in a New, Precisely Sized Window.
    OT

Maybe you are looking for

  • ERROR IN DOWNLOADING FILE

    hi guru's,     I am facing a problem in calling gui_download function it creates a file but not download the content of file in it. the code is DATA : BEGIN OF T_SOLI OCCURS 0,           LINE(255) TYPE C,        END OF T_SOLI. T_SOLI-LINE = 'HAHAHJSH

  • SQL Server 2012 Management Studio: Import XML File to SQL Table - XML parsing: illegal qualified name character

    Hi all, In my SQL Server 2012 Management Studio, I executed the following code: CREATE TABLE Products( sku INT Primary KEY, product_desc VARCHAR(30)); INSERT INTO Products (sku, product_desc) SELECT X.product.query('SKU').value('.', 'INT'), X.product

  • Workbook Precalculation: "Message text too long:

    Good day I have setup the precalculation server/services and all is well except for the size of some workbooks.  I receive the following message: u201CThe message could not be delivered to recipient  because the message     text was too long. The nod

  • MDD USB does not wake

    There are some related threads to this, and I've also posted a similar problem (left unresolved) in the past, but the symptoms are alive and well again. I recently purchased a new ATA100 hard drive, formatted it, installed Tiger, did the updates, and

  • Cascading Select list in tabular from

    Looked at Denes example on Cascading Select Lists - http://apex.oracle.com/pls/otn/f?p=31517:119:2294401989620845. Want to have the primary select list as an item in a region, then the secondary select list as a column in a tabular form in the same r