How do i open a new window? serial communication problem

I am trying to make a serial communication interface, with changeable settings,
but i wanted it to be that the settings to be openend in a new window, how am i able to do that.
I tried to make a separate subvi, but unable to do that, here is my explanation in images and the vi files.
-Just a student-
Attachments:
LVTerm.vi ‏50 KB

Hello Nandha,
SubVI's can be created by selecting the part that you want in the subVI and than select "create subVI" from the "Edit" menu.
Or cut the selected part and open a new VI and paste in the code. Then you have to connect all the controls and indicators to your connector pane. To do this right click the icon in the upper right corner and "Show connector". Select a pattern that has enough connectors, my personal favorite is the 4x4x4. Select the wire tool and select a connector and then the control or indicator you want to connect. Try to keep controls to the left and indicator to the right.
Now you have to figure out when you want to show the settings window. Is it necessary that the communication goes on during manipulation of the settings?
Kind regards,
André
Regards,
André
Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

Similar Messages

  • How do I open a new window in Adobe Acrobat using the plugin sdk

    I would like to create a new menu item that when clicked it will open a new window (e.g. winform). What I'd like to do is pull data from a server and interact with the user in that window.  Basically show the user a list of PDF files to pull from the server.  Once the user is done selecting which file to pull to have the file pulled from the server into the local drive and have it opened in Adobe Acrobat.  The problem I'm having is that I don't know how to invoke a winform or something like it to place my lists of files and UI controls. I've looked at the samples in the SDK and don't see anything that deals with this particular issue.  I'm a newbie so I'm sure I'm missing something here.  I tried creating a new WinForm in a sample example and ran into errors and the form is not functioning.  Any help is much appreciated.

    Thank you Dan_Korn,
    This suggestion is very helpful.  I like the idea of creating the new functionality in the language/environment of my choice and simply call it from the plugin.  The only issue I have is that when I start the other gui app from within the plugin I don't know how to communicate with it.  I would like to do these things with it:
    1. For the spawned off app to be able to tell Adobe Acrobat to open a file in a certain location.
    2. For the spawned off app to exit if Adobe Acrobat is closed.
    3. Also if the spawned off app closes for the handles to it to be desposed of and cleaned up to avoid leaks.
    Any ideas on the easiest approach to the above behaviors?
    Here's  my code so far in the plugin:
    void StartApp1()
              STARTUPINFO info={sizeof(info)};
              PROCESS_INFORMATION processInfo;
              if (CreateProcess(NULL , "myexe.exe", NULL, NULL, TRUE, 0, NULL, NULL, &info, &processInfo))
                        ::WaitForSingleObject(processInfo.hProcess, 0);
                        CloseHandle(processInfo.hProcess);
                        CloseHandle(processInfo.hThread);
              else {
                             AVAlertNote("Couldn't luanch the exe");

  • How can I open a new window with the same website like the one I have open?

    In safari I can open a new window with the same website like the one I have open, that makes it easy continuing to navigate on a website and to go back to the original website

    Hello Andieas
    Why open a new window for fast browsing??
    Open new tabs.
    Just right click on what you want to open and click "Open in new Tab"
    It is easy and doesn't consume memory from your computer as well as easy to navigate.
    Hope you'll like it

  • How do I open a new window (cmd + N) on the current page (url) NOT my homepage?

    Before I updated to firefox 28, I was able to hit cmd + N and it would open a new window with the exact same webpage I was on. Now it opens a new window with my homepage. I'm assuming I had an add-on or extension, but I am desperate to be able to do this again. Ideas?

    This is an oversight by the developers of the latest FireFox revision: a great shame, as the overall feel of the browser has patently been improved.
    Xabolcs has come up with a nice fudging idea; if it were to work; but sadly it doesn't for me....
    As mentioned by MGprof, the latest version of FireFox (May'14) now opens one's "homepage" instead of a new blank window.
    As my "homepage" is almost a dozen tabs; this is worse than useless. It's like starting FireFox again; and then having to close a whole string of unwanted tabs!
    To compound my frustration, the "move to a new window" option disappeared on another recent FireFox "upgrade"; but I managed to get round that by copying an url from a tab, then opening a new blank window, to paste the url into.
    So, is there any possible way to open a new window in this latest version of FireFox?
    I just want to be able to open a new FireFox window; and I'd be happy with it being either blank, or duplicating the url of a currently-showing tab.
    This would allow view of one trimmed-size webpage in front of another one, showing in a selected tab in my normal-use multi-tab window: useful when comparing complex images, for example.
    I have just installed the above-recommended "duplicate-2-window"; but can't make it work for me.
    I've assumed "no-restart-necessary" claim is correct; but using cntrl+N, I now get a new blank TAB!
    I'll try rebooting next, and post here again if that improves the situation; but don't hold your breath!
    Meanwhile, if the developers are watching out for feedback..................................... please sort this, by putting back the "open a new window" option: I do NOT want to have to use Gugl-Krohm!

  • How do I Open a New Window to the Same URL?

    When I click CTRL-N to open a new WINDOW, is there a way to have that new window open to the SAME URL as the one I was on (instead of opening to my Home Page)?

    Hi jpeg,
    Not exactly what you want but it may help.
    You can right click a link or middle click it to open in a new tab, so that is an indirect method of duplicating a tab.
    *[[Keyboard shortcuts - Perform common Firefox tasks quickly]]
    *[[Use mouse shortcuts to perform common tasks in Firefox]]
    A more direct method is to drag a tab with a Ctrl + Left Click
    Alt+Enter creates a new tab from the search or address bar.
    It is possible to customise the newtab page. It is even possible to set it to any chosen URL, but I am not aware of a method of setting it a dynamic tab in current focus, which is what you may wish for.
    * [[New Tab Page – show, hide and customize top sites]]

  • How can I open a new window based upon input in an existing window

    Hi,
       I'm pretty new to LabVIEW and I've run into a slight problem that I having trouble finding information about.  My LabVIEW application will present a user with several configuration options.  Depending upon the options the user chooses, a new window/panel will need to appear with an entirely different set of options.  Is this possible?  If so, how?
    Thanks,
    Al

    Hi Al,
    you can call subvis in a case structure ("when button is true then call subvi"). In the subvi's properties you have to set "open front panel when called" and "close afterwards" (window appearance settings).
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How do I open a new window in safari on the iPad?

    How do I open multiple windows in safari using the new iOS7 on my iPad? It looks different than my iphone5

    Try a reset then try Safari ...
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If that doesn't help, tap Settings > General > Reset > Reset All Settings
    No data is lost due to a reset.

  • How can I open a new window for a (calculated) PDF?

    Hi,
    I have a BSP application with MVC. The start page is a HTML/HTMLB page with some buttons. If you click on the buttons, you get a PDF document in the same browser window. I generated the PDF over smart forms from table/Cluster data.
    I call the controller in the OnInputProcessing event handler of the page and give it the parameters.
    The problem: if you are on the PDF you cannot come back to the start page. I think, it is better, if the PDF gets a new window. The user can open on this way many PDF docs.
    I tryed with navigation->next_page(...) or call_view etc. but all this dosn't work. Only the PDF will be show and in the same window!
    Do I have to separe the application in two applications and use the CALL_APPLICATION method?
    Or does anyone know a better way?
    Thank you!
    Regards
    Patrizia

    HI Thomas,
    I send you a fragment of the code. It does work well.
    Thank you for the links!
    The data are read, convert into a otf, then in pdf
    CALL METHOD me->print_otf_2_pdf
          EXPORTING
            otfdata    = model->otf
            response   = response
            navigation = navigation.
    METHOD print_otf_2_pdf .
    generated result: PDF format
      DATA: l_pdf_xstring  TYPE xstring,
            linetab        TYPE tlinetab,
            l_pdf_len      TYPE i.
    Conversion of output format OTF into PDF format
    now convert the final document (OTF format) into PDF format
      CALL FUNCTION 'CONVERT_OTF'
           EXPORTING
             format                      = 'PDF'
           MAX_LINEWIDTH               = 132
           ARCHIVE_INDEX               = ' '
           COPYNUMBER                  = 0
           IMPORTING
             bin_filesize                = l_pdf_len
             bin_file                    = l_pdf_xstring       " binary file
           TABLES
             otf                         = otfdata
             lines                       = linetab
           EXCEPTIONS
             err_max_linewidth           = 1
             err_format                  = 2
             err_conv_not_possible       = 3
             err_bad_otf                 = 4
             OTHERS                      = 5
      IF sy-subrc <> 0.
      ENDIF.
      CALL METHOD me->open_pdf
        EXPORTING
          pdf_xstring = l_pdf_xstring
          pdf_len     = l_pdf_len.
    ENDMETHOD.
    METHOD open_pdf .
      DATA: l_pdf_len  TYPE i,
            runtime    type ref to if_bsp_runtime,
            filename   type string,
            guid       type guid_32.
      response->set_header_field( name  = 'content-type'
                                value = 'application/pdf' ).
      response->set_header_field(
                        name  = 'cache-control'
                        value = 'max-age=0' ).
       l_pdf_len = XSTRLEN( pdf_xstring ).
      response->set_data( data   = pdf_xstring
                          length = l_pdf_len ).
      navigation->response_complete( ).
    ENDMETHOD.
    Regards
    Patrizia

  • How do I open a new window in Mail with AppleScript?

    I have an AppleScript that opens Mail, but if Mail is open in the background, but no window is open, then the "activate" command simply brings the application to the front, instead of creating a new window. Is there another command that will open a window if there is no existing window?

    You could also use any one of the following six “keystroke” commands:
    tell application "Mail"
        activate
        tell application "System Events"
            keystroke "0" using {command down} --> Message Viewer ⌘0
            keystroke "1" using {command down} --> Inbox ⌘1
            keystroke "2" using {command down} --> Drafts ⌘2
            keystroke "3" using {command down} --> Sent ⌘3
            keystroke "a" using {option down, command down} --> Address Panel ⌥⌘A
            keystroke "0" using {option down, command down} --> Activity ⌥⌘0
        end tell
    end tell

  • How can you open a new window in the new iTunes 11 ???

    In the old version, you can open a list in a new window. But I don't find this option in the iTunes 11 -.-  Can somebody help me ???

    Tony T1 wrote:
    Also, ⌘T for a new Tab (also File->New Window, File->New Tab)
    This is what I always use. You can also click on the plus sign at the far right, that will also give you a new tab/window. And if you want that tab to be a separate window, then once you've created it, just go up to that tab (avoid the little x that will appear--that deletes it), click on the tab, hold and drag it down. It'll leave the other tabs behind and become a window all on its own.

  • How can we open a New Window on click of a button

    Dear All,
    Please can anyone guide me how to open a page in A new pop up window.
    Application Express 4.0.1.00.03
    Thanks & regards
    Arif Khadas

    Assalamwalkeum Tauceef,
    Thanks for your reply.
    For the second query where you want to refresh parent window and close the popup window,
    Create a html region and give a condition to this region that it should display on a particular request and pass that request on your button click and write this javascript code in your Region SourceAccordingly I created a Region on the Calling Page and have the condition Request = REFRESH.
    Now my problem is on the pop-up window how can I pass the Request as the action when button pressed is Submit and I am using an SQL Insert Action.
    For such an action for button click the Request field is hidden.
    Also please help me through this one for setting the Item values in the pop up window:
    I have the following in Execute When Page Loads
      var total = 0;
      var inv   = '';
      var selected_inv = '';
      total        = opener.document.getElementById('P24_PAY_AMOUNT');
      selected_inv = opener.document.getElementById('P24_PAY_INV');
      $s('P23_RCP_AMOUNT_PAID', total);
      //setSessionValue ('P23_RCP_AMOUNT_PAID', total);
      $s('P23_INVOICES', selected_inv);
      //setSessionValue ('P23_INVOICES', selected_inv);The value that I am getting for the above Items is "     [object HTMLInputElement]" in Mozilla Firefox and "[object]" in Internet explorer, not sure why?
    Please guide.
    Thanks & Regards
    Arif Khadas
    Edited by: Arif Khadas on Apr 27, 2011 9:51 AM

  • How do I open a new window at the bottom of my page... not just opening a new tab at the top... I used to hit "control N" and a new window would appear as "Firefox Homepage" but now nothing happens since I upgraded Firefox...

    thats the problem... what other info can I give ?

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.<br />
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.<br />
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")<br />
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    # Shockwave Flash 10.0 r32
    # Next Generation Java Plug-in 1.6.0_21 for Mozilla browsers
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version (10.1 r85).
    *http://www.adobe.com/software/flash/about/
    Update the [[Java]] plugin to the latest version (6 U22).
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)

  • Open a new window in xml

    hi all,
    i have an xml file with lots of stuff in it that uses an xsl to display...my question is how can i open a new window by clicking a button ...may be if i click the button name "new" it open a new window with www.yahoo.com. The button is already there only need help to find the perfect code to open a new window.

    Buttons and windows don't have anything to do with XML and XSL.
    Perhaps you are generating some HTML, and you want to know how to cause an HTML button to open a new window? Nothing to do with XML or XSL. Ask the question in a forum about HTML and Javascript.

  • Open a new window with data in jsp

    Hi,
    I am an absolute beginner.
    I get data from DB in a pipe seperated string
    retval = abc|123|xyz|999
    I need to open a new window and populate the data in it.
    1. How do i open a new window
    2. How do i pass data to the new window
    3. How can i display the formatted data in the new window

    response.sendRedirect("newwindowurl.jsp?arg=" + retval);
    This will direct users to a new window and pass the retval arg to it. On the other window, use request.getAttribute("retval"); to get the value passed in.
    colr__

  • Since upgrading to FF v4, every time I open a "new window", all other instances of FF windows open, how can I keep this from happening?

    Since I started using FireFox version 4, every time I open a "new window", all other instances of FireFox windows open up. This is annoying as it often covers up instances I am currently using with instances that I don't wish to use right now. I can't seem to find a way to keep this behavior from occurring.

    Try go to '''about:config''' search for '''browser.startup.homepage''' change its value to:
    '''about:home''' - default page<br>
    '''about:blank''' - blank page<br>
    '''url''' - a page that you want
    Also:
    *[https://support.mozilla.org/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in safe mode]
    *[https://support.mozilla.org/kb/reset-firefox-easily-fix-most-problems Reset Firefox]
    *[https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware Problems caused by malwares]
    *[https://support.mozilla.org/kb/how-to-fix-preferences-wont-save Preferences won’t save]
    *[http://kb.mozillazine.org/Preferences_not_saved]

Maybe you are looking for