My doubt is if I press a button, it will redirect you to the other side...

For a single application I need if I press a button, it will redirect you to the other side, how it is possible in LABVIEW

Thank you.

Place your Subvi inside your main diagram of vi.  Use a Structure of the event to capture the key event.

more information here:

http://forums.NI.com/T5/LabVIEW/how-to-open-a-subVI-on-a-click-of-a-button/TD-p/1082660

Tags: NI Software

Similar Questions

  • Unable to speak using the 'phone dialer', hear the ringing tone. can hear the person on the other side... but he can't hear me... and when I press talk the line disconnects... I have an internal modem Agere on laptop HP Pavilion DV6-TX1152... pls help

    I'm develpoing apps using the SAPI, TAPI, however, I'm stuck with a fundamental question... when I dial a number, I can hear the ringtone on the speakers of the laptop... and I can hear the person on the other side as well... but he can't hear me... and as soon as the others left up to the 'Phone dialer' pcks pops up a window with two buttons... 'Talk' and 'Hang up', when I press the talk button, the line is automatically disconnected. Pleas help to solve this problem...

    Hi abhi.jeet,

    Thank you for visiting the website of Microsoft Windows Vista Community.

    The question you have posted is related to application development and would be better suited to the MSDN Community. Please visit the link below to find a community that will provide the support you want.

    http://msdn.Microsoft.com/en-us/default.aspx

    Hope this information is useful.

    Jeremy K

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • can perform us two actions with a single button in two clicks, one after the other?

    Mr President.

    can perform us two actions with a single button in two clicks, one after the other?

    I want that when I click on the button Add once it add data to the database and when I click again on this button it clears the form data to the empty fields.

    Concerning

    Tanvir

    In the code, it should be easy.

    The following code adds that a button called butman with text 'ADD '.
    It then registers a listener that will be called if the user clicks the button.

    This listener then calls the runAddData method if you clicked butman while it contained the text of "ADD" and it calls the runClearData method otherwise.
    That's why he will swap the functionality of the button between ADD and CLEAR on each click.

    final Button butman = new Button("ADD");
    butman.setOnAction(new EventHandler() {
              @Override
              public void handle(ActionEvent t) {
                        if (butman.getText().equals("ADD")) {
                                  butman.setText("CLEAR");
                                  runAddData();
                        } else {
                                  butman.setText("ADD");
                                  runClearData();
                        } // END IF-THEN
              }});
    

    I hope that's what you wanted.

    Further reflection.
    You might want to run the ADD and CLEAR methods in their own son so that it can run in the background without slowing down your user interface.

    I also reuse rather a single button for several features instead of to apply with hundreds of nodes used only rarely with masses of code to show and hide as needed.

  • Need to reset the button by default when you use the structure of the event?

    When you use the buttons with a mechanical action "releasing lock" to only trigger the same structure with the same 'value has changed', the button does not jump upwards as you would expect.  I can get to behave as I want by adding a "default reset" invoke the node, but this seems somewhat exaggerated.  Is there an easier way to get the button to jump to the top after pressing on?

    The button will reset once it is read by the code. This means that the terminal is inside the structure of the event. If you move outside the terminal, it would read only the beginning of the race and then never and it will not be reset.

    If the terminal is learn the structure of the event, it is read by the code (even if it is not connected to anything) and it reset as soon as the event has a chance to run.

  • Script to make the button stay on State hit until the other is clicked!

    Hello

    Got a little problem that I can't solve.

    I have a line of 5 buttons including each links to a different page. These buttons are currently in a clip.

    However, I would like to create an effect where when a user clicks on it remains highlighted. that is still on the State of success, until the user clicks one of the buttons.

    I would have thought it would be somethink that I could find online, but carnt seem to find anywhere.

    I found the code to make a point to stay on when you click on it, but it works on its own in the entire movie clip, so it has no effect when you click on other buttons on!

    Have tried the script below, but I'm sure that this will not work because it is not a link to the other buttons at all.

    on {(press)

    if (this ._currentframe == 1) {}
    this.gotoAndStop (2);
    { } else {}
    this.gotoAndStop (1);
    }
    }
    Thanks for any help!

    You are welcome.  Here is a slightly condensed version of the same thing...

    var lastBtnUsed;

    Btn1.onRelease = btn2.onRelease = btn3.onRelease = btn4.onRelease = function() {}
    processBtns (this);
    }

    function processBtns (newBtn) {}
    If (lastBtnUsed! = null & lastBtnUsed! = newBtn) {}
    lastBtnUsed.gotoAndStop (1);
    }
    lastBtnUsed = newBtn;
    newBtn.gotoAndStop (2);
    }

  • Interactive PDF Web sound-problems buttons will not play on the other, and ugly gray boxes are visible

    When I export my interactive pdf file and open the html or swf file, it works exactly as I want it, but it works on my computer because I have all the links and resources on my computer included in a zip file. The only way I can get others to see it seems to be downloading the zip on dropbox and others who download and then extract files, which is not practical. I would like to integrate the interactive pdf on a Web site or a blog, so it does not directly on the page without having to download all the recources publishes the new web feature seems it might be a good solution, but when I try to publish, it is not working properly users.

    Screenshot (148).png

    My project is to play several audio files on the other, so if a user clicks a button sound is read, and if you click on another button, the first sound will not stop, they will play together. So, for example, if you click on the top button, a beat will play, and if you click on the guitar slot, a guitar sound will play on the beat. It works fine on my computer in the swf or html file, but for some reason any when I publish it to the web, it will only play a sound at the same time. The pace will just stop playing if you click on one of the instruments, which makes the entire project useless. Another problem is that I can't seem to remove the gray boxes without taking away his ability to make it sound. The first photo is that it is supposed to look like, and here's what it looks like when I publish it to the web:

    Screenshot (147).png

    In addition, as you can see, it does not export as interactive PDF, it exports an indd file. It's clickable and interactive however, just with a few bugs.

    Can someone either help me to correct the parameters in the function of online publication, or to teach me another way to incorporate the project on a blog or a website?

    Thanks in advance.

    [Read https://forums.adobe.com/docs/DOC-7273]

    [Ask in the correct forum allows... Left the connections for specific program forum forum... MOD]

    Interactive PDF is a roll of the dice in a browser and using SWF out from. He died a technology as it is and will work on any mobile system, or on a desktop computer that does not have flash player installed.

    Without knowing what you were doing, it is impossible to tell you why post them online does not work for you but you should really take the time to know what interactive feature are and are not supported with each format.

  • Please can you put the "Open a new tab" button back where he was on the right side of the tabs, or at least give the opportunity to put it there? Thank you.

    In the row of tabs along the top of the screen, there was an additional tab with a + in what you clicked to open a new tab at the far right of the tabs. As the tabs still float to the left and new tabs appear on the right, it was (in my opinion), the most logical place for it. However, the only two places I am able to put this "tab" are now on the far left, which is illogical, because the new tab appears on the right, or in the toolbar and other tools. It's enough, but I'd rather see the 'new tab' tab back where she was.

    Moreover, the option to put it on the right end of the Ribbon tab did not work up to this latest version of Firefox, but I'm sure you know this!

    Open the view to customize and use the default for "Open a new tab" button back where it belongs.

  • The action of the button Back/will not return to the first page open on a tab

    From a few weeks ago (I believe that when 3.6.16 is released), I lost the ability to return to the first Web site loaded on any tab by using the previous button or right click-> menu back.

    I upgraded to Firefox 4 and I still see the same question.

    This happens if the new tab is created from a link on another tab of an item in my toolbar bookmarks, or if I have on a button open new tab, then the initial Web page in the address bar or in my bookmarks toolbar.

    When I navigate to the second site in this tab via a link, manual entry or a bookmark, the previous button is active.

    If I navigate to other pages and a right click on the back button, the first page I have loaded is not listed in the history.

    It is possible to my modules or something is causing this issue? I can't think of any possible configuration setting that would entail.

    If not, should I submit a report in Bugzilla? I couldn't find a corresponding bug report, but it seems that it would have been stated several times if someone else saw this question.

    Edited to stop scrolling - Maurane

    With the back button does not, problems are caused by the McAfee Site Advisor, if you uninstall or disable this extension, the back button should work again.

  • How to hide the mess of buttons that occupy two lines on the right side of the Navigation bar? Customize does not affect the

    I just got an update 8.0.1 and now I have a set of not less than 20 icons at the top right of the Navigation bar.

    It's left arrow, right arrow, X, reload, home, Basel, clock, star, unjknown, unknown, window with + in it, scissors, two documents, Clipboard, four directions,-, +, two circular arrows, RSS icon, another arrow to the left.

    Some of them would be useful, but not two rows of them; However customize doesn't let me drag out - they move as a whole block and just snap back on the release.

    In addition, when I mouse over this area they Flash quickly on and outside.

    Can you advise how to choose which of these elements, I want to see: they take a lot of space and I only need about 3 - 4 of them.

    Thank you!

    Start Firefox in SafeMode (https://support.mozilla.com/en-US/kb/Safe+Mode) and the option "Reset tools and controls bars. This will return you to the stock icon set that you can then customize to your taste

  • When you use mail, my resizing button and my arrow down into the bar side schroll appear in the same position using the two impossible.

    It lacks a line at the bottom of the screen just above the dock on my macintosh window. Using Mac OS X, version 10.6.7

    Help if bring you up the module bar?

    View > toolbars > toolbar Add on

  • directional button does not work, but all the others are there other keys on my laptop that I can use?

    My 'high touch' directional arrow key does not work.  The arrows down and side are.  I spilled some coffee on my keyboard yesterday and it's the only thing that doesn't work now.  Is there anyway that I can fix this?

    Thank you. I came across this one play me with the Fn key.  Being a computer laptop and everything.  There can be no separate numbers.

  • I made a game on CC Flash Professional on a MacBook Pro, how can I make a button so that when you finish the game you can close? (An exit button)

    Captura de pantalla 2016-01-27 a las 8.03.59 AM.png

    you publish the html/swf files that open in a web browser and you want to close the html page?

    If so, you can do that except if you opened your page html with javascript.  in this case, you can close it with javascript (and the class externalinterface in your SWF)

  • How can I save link button to take back you to the original location on the page.

    So I have a very long home page and in the middle of this I have links to portfolio pages.  I need my portfolio page to post a link to the exact place on the previous home page. How do that?

    You can create an anchor element to the exact location on your home page and create a link to that anchor on your portfolio page.

  • How to wake up the iphone 6 sec without pressing any button

    How to wake up the iphone 6 sec without pressing any button, which will help you maintain your buttons on the iPhone. Please let me know if you have any ideas on this subject. Thanks in advance.

    You do not have.

  • (Help!) Have a loop in the scene, and when you press a button, it goes to another scene and ends (with a repeat button)

    I'm newer to ActionScript 3, so I am not sure that what I'm doing.  I hope someone can help!

    Scene 1 (which is long of 40 images), I have this code for the 4 buttons until framework 39-

    import flash.events.MouseEvent;

    Button1.addEventListener (MouseEvent.CLICK, goNormal);

    function goNormal(event:MouseEvent):void {}

    stage.frameRate = 20

    }

    Button2.addEventListener (MouseEvent.CLICK, goMedium);

    function goMedium(event:MouseEvent):void {}

    stage.frameRate = 38

    }

    Button3.addEventListener (MouseEvent.CLICK, goFast);

    function goFast(event:MouseEvent):void {}

    stage.frameRate = 60

    }

    Button4.addEventListener (MouseEvent.CLICK, goEnd);

    function goEnd(e:MouseEvent):void {}

    Stop ("scene 2", 1);

    }

    On the last picture (40), I have "stop();"

    Scene 2, I "play();", so that it plays, and then on the last image of this, "stop()";

    I'm quite confused.

    Basically, I want to make it to where I can have the first 3 buttons change the FPS of the first scene, but I want it loop back (and not go to the stage 2).  I want then press 4 to go to scene 2 and at the end of the file, but with a touch of repetition where it repeats the scene 1.

    Thanks in advance!

    Rather than use stop(); using try framework 40: gotoAndPlay (1);   Who takes care of the loop, that you say you want.

    For the button that will take you to the stage 2, you have the arguments in the correct order.  It should be Stop (framing, stage);

    Regardless of the button repeat you are planning you can have use: gotoAndPlay (1, "scene 1"); assuming that the scene 1 is named as such

Maybe you are looking for