Simply way to make sub vi and call it form main vi

I'm a beginner and have major problems to make a sub vi and call it from main vi. I'm going to do a save dialog where is extra info for my saving and want to call dialog from main vi and after that save info to a file or database. I want that save dialog appears after i press button. I attach sub vi where is no functionality yet.
Attachments:
save_dialogsub.vi ‏21 KB

The first step is to connect the controls and indicators that you want to pass information to and from your main vi.
You right-click on the icon at the top right corner of the Front Panel and select "Show Connector". Typically put inputs at the left and outputs at the right side of the connector pane. Save it.
Open the main vi. Go to the block diagram. Click on "Select a vi" inside the Functions Palette. And choose the sub vi you prepared. Then wire it up inside your main vi.
-JLV-

Similar Messages

  • How to make own editor and call it?

    could you please tell me how to make own editor and call it on a clicking of a push button corresponding to an test Item

    In the Object Navigator... just click on the 'Editor' Node and press the '+' (Create) button....
    Set then any properties as you like....
    So simple...
    Greetings,
    Sim

  • Is there a way to make the #'s and symbols come before the letter A?

    So say I wanted the 13th Floor Elevators to come before AC/DC, not after ZZ Top on itunes and my ipod and stuff. Is there a way to make that happen? On the old version of itunes it was automatically like that, but they changed it.
    Also, would this work on songs and albums too?

    You can adjust how iTUnes sorts albums by editing the sort fields for the affected albums.

  • Best way to make a 1-800 call to usa

    How do I use my mac to make a 1-800 call to America? I want to start a conversation with a 1800 number but don't have a clue, and I am in Nepal. Thx for you advice!

    How do I use my mac to make a 1-800 call to America? I want to start a conversation with a 1800 number but don't have a clue, and I am in Nepal. Thx for you advice!

  • Loading independent sub vis in sub panels and calling from main vi

    Hi all,
    I have trying to work on the following requirement.
    I have a main vi with a file browzer and sub panel - Channel . I will select a channel configuration text file which contains Analog and digital channels names. ''
    My vi will read that file and loads and Channel VI in the sub panel - Channel.
    Now the CHANNEL VI has a tab control with 2 pages analog and digital. Each page again has sub panels i,e. sub Panel - Analog and sub-Panel-Digital.
    Analog VI with some knob controls which are binded to Signals are displayed in the sub Panel - Analog.
    Digital VI with some boolean controls  which are binded to Signals are displayed in the sub Panel - Digital.
    These vis will show the values acquired from the hardware.
     I want to provide the user to load any channel configuration file and acquire the data. For the first time the execution is working fine. The next time when I tried to load a new configuration file. it says "Invoke node in main cvi <Append> Method Name <b>Run VI</b> and the new configuration is not loaded.
    The following logic is implemented as a sub vi to load and close the sub panel vi.
    VI Load logic:
    VI CLose Logic
    So please let me know where am i doing wrong.
    Before loading the new configuration file Iam calling the close logic . But still is not working.
    Thanks in Advance.
    Ramesh.

    Can you post a vi snippet? It would be helpful to see your logic flow, I'm wondering if your problem is that you've got "remove vi" node at the end after you have already closed the vi reference - but can't tell if same vi reference are used as in the case of top diagram.
    -DP
    New Controls & Indicators made using vector graphics & animations? Click below for Pebbles UI

  • Is there a way to make rotated Buttons and ones that overlap??

    currently, im working on a dvd menu, and i want it to look like a stack of Polaroids,
    so i made the menu in photoshop with all the codes, like (+)(%) ect.
    though now i want the buttons to be overlapping and all tilted to a random direction,
    like a real stack of polaroids, i've tried making a "straight" menu and then rotating the buttons, but it didn't work.
    is there a way that you can rotate buttons and have the thumbnail footage also be rotated?
    and is it possible to have buttons that overlap at some point?
    (note that i want the Animated thumbnails)
    here's a random example picture i found online
    though i know it might be possible by making them all by manually in AfterEffects,
    by using the original footage with lots of masks to make thumbnail movies,
    but im not looking for such a tedious job, also im not very skilled in AfterEffects

    In DVD-Video, buttons cannot overlap, and their hit area will always be a rectangle...even if the contents of the button are rotated, it will result only in the rectangle becoming larger, to fit the rotated graphics.
    Regarding button thumbnail layers, they show similar behavior - they will always render out as a rectangle.
    If you don't use thumbnail layers (try a replacement layer), you should be able to rotate the button without the replacement layer getting re-adjusted. But note replacement layers don't accept video. If you want video in the buttons, you'll have to do all the work in After Effects.
    But remember - your buttons cannot overlap without introducing button highlighting problems.
    A better solution is to not make these buttons at all, but a regular menu layer or video background layer. And then you can create custom highlight layers in Photoshop, again making sure your buttons don't overlap. This would be a lot of work.

  • Can i pass the values by declaring the continer in sub seq and calling in main seq

    hi,
    In sub seq, i have created the contianer (under parameter) and the continer has array of numbers and array of strings.....
    My question is
    Similar to parameter can i call these container in main seq and can pass the values through these arrays?
    How to find no of elements of array of string or number which is delcared under contianer?
    Pls let me know
    thanks,
    chethan

    I made a small mistake in the previous example, the subsequence calls itself instead of calling it from the mainsequence, please use the attached example.
    Attachments:
    Sequence File 1.seq ‏5 KB

  • Is there any way to make a Playlist and shuffle videos on a Playbook tablet?

    I just got a Playbook Tablet and like it except I really want to play shuffled Music Videos from a playlist.  I can do this on both my Ipod touch and android tablet and I assumed there would be a way to do this on the playbook.  However I cannot figure out a way to do this.
    I am willing a buy an app in order to accomplish this if necessary.  Im pretty sure the stock Music player won't play videos and the stock Videoplayer doesnt have playlists, but I could be wrong. 
    Any help or suggestions would be greatly appreciated.

    There is no option make video playlist in PlayBook. I'm yet to come across such 3rd party app. I will let you know if I find any.
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

  • Is there any way to make column width and height 0 by using formula?

    Eg:
    =If (column = value) then Column width = 0px and height = 0px

    Hi Riaz,
    Instead of kepping column width and height as 0, you can just hide the particular column by using the same function that you mentioned above, (if column = value) in hide..
    You can just right click on the column->hide->hide if->dimension=value.

  • What's the best way to make a 2nd internal drive be the main one?

    I just got a 1 TB drive for my MacPro. The old one was only 250mb and full. I want to make the original one the "extra" drive and the new one the main one, with a system that boots up and everthing the same as the old drive, only with 3/4 empty space.
    I searched on the web and it said to use Disk Utilities to "restore" a source disk to a destination disk, which I'm doing now. Then when it's done, I go into System Preferences and make the new drive the start up one. If all that works, I can safely erase the old drive and use it for other things. Does this sound right? (I ask because I once tried doing something like this before, only to find I couldn't boot up from the new drive because I hadn't officially installed the system on it, only copied it.)
    Thanks in advance to anyone who takes the time to respond. I truly appreciate it!

    Keep the old drive as emergency system backup.
    Repair permissions before using the new drive.
    Use to be people would run the last Combo Update sometimes.
    And sometimes a clone would not for odd unknown reasons. Not normal. CCC has had a lot more tweaks and fixes in the last year.
    I also use Tri-Backup 5 to synch folders and such, and they (TED) have Clone X 4 which is Lion compatible and will do full sector drive copy of all the partitions.
    Clone X 4 (TED)

  • How to add button inside move clip and call it from main timeline?

    Hi,
    On the main timeline I  have a movie clip called clock_mc and playBtn
    playBtn is  placed in the center of clock_mc
    When you press playBtn clock_mc starts playing
    playBtn.addEventListener(MouseEvent.CLICK, playClock);
    function playClock(event:MouseEvent):void
        if (event.target == playBtn)
            clock_mc.play();
            playBtn.visible = false;
            trace ("play button was clicked");
    This is working fine for me.
    But I want to add replayBtn to the last frame of clock_mc and set up the function on main Timeline.
    Another words when the clock_mc rich last frame you see replayBtn.
    code example:
    replayBtn.addEventListener(MouseEvent.CLICK, playClock);
        if (event.target == replayBtn)
            clock_mc.play();
            replayBtn.visible = false;
            trace ("replay button was clicked");
    I've tryed to placed the replayBtn on the stage on the main timeline and I've set it up to replayBtn.visible = false;
    And then I add replayBtn.visible = true; to last AS frame of clock_mc but it wont work
    Even when I put the button physically to the last frame of clock_mc it will not work either.
    Please help

    I've solved the problem:-)
    I've set replayBtn.visible = false; on first frame of clock_mc
    and  replayBtn.visible = true; at the last frame
    and than as you sugested I'v add:
    clock_mc.replayBtn.addEventListener(MouseEvent.CLICK, replayClock);
    function replayClock(event:MouseEvent):void
            clock_mc.play();
            trace ("replay button was clicked");
    I couldn't see replayBtn at the firs stage because I have clockTween assosiated with clock:
    clockTween = new Tween(clock_mc, "x", Regular.easeOut, -469,438, .5, true);
    and I had replyBtn in the wrong place so when clock_mc was coming up on the stage replayBtn was on the left side of the stage :/
    Now I have to solve only one thing.
    Maybe you would have any suggestions please.
    I've set up stop(); in a first frame of clock_mc
    that when you see clock_mc sliding in it has to wait for playBtn to be clicked
    because I have two tween:
            clockTween = new Tween(clock_mc, "x", Regular.easeOut, -469,438, .5, true);
            playTween = new Tween(playBtn, "x", Regular.easeOut, -720,514, .5, true);
            playBtn.visible = true;
    so when you click on playBtn:
    function playClock(event:MouseEvent):void
        if (event.target == playBtn)
            clock_mc.play();
            playBtn.visible = false;
            trace ("play button was clicked");
    everythink is working fine except when I clik on replayBtn it play for I sec because there is stop(); on the first frame of clock_mc

  • The best way to migrate image library and Lightroom settings form PC to Mac?

    I want to migrate my image library and Lightroom Catalogs and settings over to my new Mac Pro. My images are currently on a separate external drive, whilst my Lightroom Catalogs and settings are on my old PC.
    My intention is to situate my entire image library on it's own dedicated drive, which is one of the four separate drives on the Mac (in this instance, drive 4). I have also installed Lightroom 3 onto drive 1 (the same drive as the OS and all other applications, including CS5). I bought this as an upgrade to LR2, which is on my PC.
    My questions are:
    (a) How do I transfer my LR2 Catalogs and settings housed on my PC, over to LR3 on the Mac?
    (b) Once the library has been moved, what do I need to do to get Lightroom to find them?

    (a) How do I transfer my LR2 Catalogs and settings housed on my PC, over to LR3 on the Mac?
    Simply copy them. When you launch the LR2 catalog in LR3 you will be prompted to convert it to a version 3 catalog. This will create a duplicate. Once you are satisfied all is well you can delete the version 2 catalog.
    (b) Once the library has been moved, what do I need to do to get Lightroom to find them?
    Control click on the topmost folder and direct lightroom to the current location of the folder on the external drive. All images in subfolders should sync nicely.

  • What's the best way to create sub-totals & grand-total in SQL2008 R2 (and beyond)?

    What is the easiest way to get sub totals and a grand total on data that is being grouped?  It looks like RollUp might work, but it's being depreciated.
    My query is:
    SELECT
    COMPANY
    ,INVSTR_CD
    ,STATE_C
    ,SUM(CO_SHARE_TOTBAL) as CO_SHARE_TOTBAL
    FROM #ASSET AS A
    WHERE A.D_GETIT = 'Y'
    GROUP BY COMPANY, STATE_C, INVSTR_CD
    ORDER BY COMPANY, INVSTR_CD, STATE_C
    I need to provide a sub-total of the SUM'd field (SUM(CO_SHARE_TOTBAL) as CO_SHARE_TOTBAL), at the change of the COMPANY field.
    Then a Grand Total of all the SUM'd fields (SUM(CO_SHARE_TOTBAL).
    Thanks in advance!!
    -Al H

    If you post DDL of your table (only relevant columns) and some data and desired output, I may try to reproduce it. Did you check Jacob's blog post and the very last query? It does take a few trials before getting this correct. 
    Naomi,
    I did try the last query on Jacob's post.  I couldn't get the first column to populate.
    Thanks for the offer of help.
    DML is:
    Create Table #ASSET2 (
    [COMPANY] [varchar] (5) NULL
    ,[INVSTR_CD] [varchar](5) NULL
    ,[STATE_C] [char](2) NULL
    ,[SHARE_TOTBAL] [decimal] (15,2) NULL)
    Data is:
    Insert into #ASSET2 VALUES ('00000','099 ','FL','115226.77')
    Insert into #ASSET2 VALUES ('22222','030 ','CA','309899.43')
    Insert into #ASSET2 VALUES ('00000','010 ','CA','524296.89')
    Insert into #ASSET2 VALUES ('00000','099 ','IL','51699.70')
    Insert into #ASSET2 VALUES ('00000','789 ','PA','90856.04')
    Insert into #ASSET2 VALUES ('22222','010 ','CA','66951.33')
    Insert into #ASSET2 VALUES ('00000','099 ','CA','310046.03')
    Insert into #ASSET2 VALUES ('00000','010 ','AZ','178062.08')
    Insert into #ASSET2 VALUES ('00000','099 ','NY','278489.10')
    Desired results would be the following:
    COMPANY INVSTR_CD STATE_C SHARE_TOTBAL
    00000 010 AZ 178062.08
    00000 010 CA 524296.89
    00000 099 CA 310046.03
    00000 099 FL 115226.77
    00000 099 IL 51699.70
    00000 099 NY 278489.10
    00000 789 PA 90856.04
    TOTAL COMPANY 00000 1548676.61
    22222 010 CA 66951.33
    22222 030 CA 309899.43
    TOTAL COMPANY 22222 376850.76
    GRAND TOTAL 1925527.37
    -Al H

  • Is there a way to make labview messages always appear on top of all windows?

    I have a main VI running and a user selects a non-Labview window to work on. Is there a way make the user prompt or user input express VI messages appear on top of all windows? I have experimented with the "make window always on top.vi" from the NI website. That brings the VI that is running to the top but not the prompt for the express VI message. I have also used the "make window always on top.vi" in a sub-VI and called that sub-VI to be always on top and it works. I was just wondering if there was a way to do it with the express VIs that NI already has written instead of making a custom message the way I have mentioned.
    Thanks,
    Troy

    If you only need to display a prompt and can get by with a limited set of canned buttons (OK, Cancel, Retry, Continue, etc.), you can try a VI that calls the Windows API MessageBox function. You can display a message box with user-defined title, text and buttons. There is an option to use the system modality which is what you want in this case. I use my own version of this all the time for that very reason.
    Message Box

  • Make video black and white

    I searched for an answer but was only able to find info regarding color pass. I simply need to know how to make my video completley black and white. I have tried dragging down different effects and turning down all RGB, chroma, gamma etc...but I can't find out how to do it. As a long time Premiere user, there was an effect that one could drag down and it would make the video black and white.
    Please help me find a simple way to make video black and white. I'm using Final Cut Pro 5
    Thanks in advance!

    AND-- you'll probably find you want to play with the contrast a little bit. Video is notorious for really not having all that much contrast range. It's the colors that fool the eye.

Maybe you are looking for

  • [HELP] Reading PNG Problem?

    Hello, I got a PNG image in my game: http://img211.imageshack.us/img211/4742/effectquestgate10sb3.png When it is rendered in java, it appears like this: http://img381.imageshack.us/img381/6696/glitcheddb3.jpg Why is that? It also looks like that in p

  • Import from catalog: what happens to this catalog ?

    Hello everyone! I follow Scott Kelbys LR3 book for transferring my work from my studio laptop to my main processing computer in my office using the EXPORT TO CATALOG technique. So then I transfer the folder to where I keep my LR pictures in MY  COMPU

  • Supplier ******* not intended for purch. org error in S Cart

    Hi - We have set up a Dev SRM system using Extended Classic Scenario When we create shopping carts and we try to assign a vendor we get message Supplier A111111 not intended for purch. org. The vendor exists in our ECC 6.0 system under purchase organ

  • Error while Client Copy

    Hello, We are receiving continuous dumps while performing post-processing activities of  remote client-copy. Error details: Runtime Error          SAPSQL_ARRAY_INSERT_DUPREC Except.                   CX_SY_OPEN_SQL_DB The termination occurred in the

  • Ranking Top N but excluding ties at Nth position

    Hi, I have a requirement where I need to do top N analysis report. I came across problem where we have ties at Nth position, my client want not to show any Nth value because that will be misleading and if there are 3 value at Nth place then what to r