Add indicator from sub vi to main vi

Hello I am new to labview. My subvi has a progress bar (Indicator) and i want it to be also displayed in my Main VI. Is there any process to do this. 
I am very new to lab view so step by step procedures are appreciated.
Thank you in advance.

Hi Promice,
the easiest way to pass data in and out of a (sub)-VI is using the connector pane.
When you create a (sub)-VI, you can choose a pattern and select which control or indicator (frontpanel elements) belongs to which terminal.
The way Michael has supposed is more advanced an a very common way to change values of frontpanel elements of a main VI.
There is no wrong way, it depends on the application. So thanks to Michael.
For the first steps, I would suggest using the connector panel.
I've attached a modified example.
Kind Regards,
Philipp K.
Applications Engineer | NI Germany
Attachments:
mainvi.vi ‏14 KB
subvi_2.vi ‏17 KB

Similar Messages

  • How to transfer a string from sub sequence to main sequence

    Hi,
    How to transfer a string from sub sequence to main sequence, My main sequence has included a sub sequence, the sub sequence is return a string value after running done, I need to get this string value from sub sequence to main sequence, I check the defined that look like seem the two
    sequence have themself local variable,but I don't know how to defined a globe variable to cover main sequence and sub sequence like VC++'s Main App ,Please kindly help me,thanks in advance...

    Hi,
    I hope this small example will help you.
    Regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    Sequence File1.seq ‏36 KB

  • How to pass the value from Sub report to main report

    I have un report(mainreport) within a subreport(subreport).
    With reporting services, how to pass the value from Sub report to main report?
    thanks

    Hi Alebet,
    With reporting services to pass values from sub report in to main report is not supported directly.
    But there are some workarounds through which you can get this .
    There are two ways to get this.
    1- Put your sub report query into some table. i mean to say through the subreport query get some temporary table.
    2- Using this temporary tables data write some Scala function in the data base.
    3- Now in your main report query return this scala function as a column.
    4- Extract the column value where ever you want in your main report which is getting calculated from the subreport query. so you will be getting the values returned from the subreport in the main report.
    This will definitely work fine as i have done some report in this way.
    Another way of doing is that
    1- prepare another data set with the same query as in sub report in the data tab.
    2- then refer this 2nd dataset in your main report .
    But better way will be the top one.
    Anyway please let me know if you get the solution.
    Thanks
    Mahasweta

  • Menu Button from sub menu to main menu (transition movie in the way.)

    In the general tab of the disc menu I set the menu button to go to the main menu.
    When I click "menu" on my remote in simulation from a sub menu I expect it to return me to the the main menu.
    However, clicking menu from a sub menu automatically brings me up one connection.
    I have transition movies that are between the main menu and the sub menu.
    So effectively, the menu button is a loop if a viewer tries to navigate upward with the menu button from a sub menu. They see the transitional movie and return to the sub menu they were trying to navigate from.
    On page 609 of the manual it says...
    Menu: Supported by all elements that can set remote control settings (disc, track, story, marker, and slideshow) except menus. You should generally link this button to the last menu viewed.
    Is there a work around that will allow me to make the menu button link from a sub menu to the main menu, even if I have a transition movie in between?
    Thanks,
    Tom
    Power Mac Dual 1.0 GHz G4, Quick Silver   Mac OS X (10.4.3)   1.5 Gig Ram, 250 gig internal drive, 2 x G-Raid500, FW800 Sonnet Card, AJA IO
    Power Mac Dual 1.0 GHz G4, Quick Silver   Mac OS X (10.4.3)   1.5 Gig Ram, 250 gig internal drive, 2 x G-Raid500, FW800 Sonnet Card, AJA IO

    Hang on Tom - are you saying that you are in a sub menu, pressing the 'menu' button on your remote control, seeing the transition and ending back at the menu you started from?
    I would expect this if you used the menu button...
    What happens is the menu button acts as a resume function if you are in a menu. That is, it will play the last piece of footage - your transition. This is set to go back to the sub menu, so that's where you end up. Read those details again... the bit where it said 'except menus'.
    If you are in a menu and want to go up one level then you need to either use the Title button (if the title menu is the one you want to get to), or the return button (which won't work all that well). The best way, however, is to add a button on your menu screen which lets the viewer click it to go to the menu that you want.

  • Duplication of Notes from Sub-Process to Main Process

    Hi all,
    I have sub-process and a main process.
    I create notes in the main process.
    Then put them in the sub-process by re-creating them in the sub-process.
    And then when I come out of the sub-process,I re-create the notes in the main process, so that the sub-process notes are added up with the main process notes.
    The problem is that the main process notes are duplicated.
    The reason being,
    I have already transferred and re-created notes in the sub-process while entering it.
    I also still have notes in my main process.
    When I come out of the sub-process, I transfer and re-create notes in the main process too.
    Now, this adds up to the notes already in the main process and so there is a duplication of notes in the main process.
    So its
    Notes created in Main Process --> Transferred to Sub-process and re-created them for sub-process --> Transferred to Main process and re-created them for merger of the main process notes with the sub-process notes.
    (Notes in Main Process) ---> ( Notes in Main Process + Notes in Sub-Process) --> ( Notes in Main Process + Notes in Sub-Process + Previous Notes in Main Process)
    Previous notes in Main Process = Notes in Main Process
    Therefore the duplication.
    notes ( in built) array has no option to clear it up.
    How do I clean the notes then?
    I need to re-create and transfer them everytime I move from main process to sub-process and back to main process for showing up in the notes section of the workspace?
    Also the creator and the creation time of the notes is not reflected.
    They seem to be constant variables.
    How do I resolve these issues?

    Anybody on this?

  • Display message to user from sub vi to main vi

    Hi,
    I have got a question of which I am pretty sure it has come across before, but I could not find it via the search function nor with Google.
    On my main vi I have got a link to a sub vi, this sub vi checks something and then gives a message to the user. The next step in the sub vi depends on what the users input on the message is. But when I am running my main vi the display (of course) does not come up, because I haven't got a link between the two. 
    Is there any way to send the message to the main vi and send the action back to the sub vi?
    Thanks
    Solved!
    Go to Solution.

    Since everything is happening in the sub vi, why do you want to go back to the main vi?
    Do you use the "Prompt user for input" express vi to get an input from the user?
    Can you post your code or make some dummy vi's to visualize your problem?

  • On VA01 transfer an value from Condition type Z000 from sub-item to main it

    Hi,
    I want to create a sales order and I have one main item an one promotion  (sub-item) item without determination price. I want to transfer cost price from VPRS form sub-item to an Z000 contidion to main item for tranfer this value to CO_PA for a field value different from VPRS field value.
    How can i do this?
    Thanks in advance.
    Catarina Alves

    Hi,
    In copy controls of Del to Bill - VTFL .... in the item screen copy control.... u have a button called cumulate coast set this for the item u need to transfer i.e to item category of subitem u have.
    Reward if helpful
    Please find the help for this "Cumulate Cost" below -
    Cumulate cost
    This field is used in the main item to control whether the cost value (usually condition type VPRS) is to be copied from the relevant sub-items. The following cases are taken into account:
    Free of charge sub-items (free goods)
    Batch split items
    Bill of material components
    This function is needed especially if the sub-items involved are not relevant for billing. In this case the costs of these sub-items do not appear in CO-PA or the statistics.
    Reward if helpful
    Krishna

  • Sharing A Solution - CREATING A SET OF SUB MENUS ON MAIN MENU IN iDVD

    A recent question I posted got some attention from a number of people about how to create a set of sub menus on the main menu of an iDVD project. Evidently there are a number of us who tried to find a way to do this. I attended an Apple Store iDVD workshop and was fortunate enough to be the only one in attendance. So I had the Mac Genius’s attention for a full hour and he was very helpful. Here’s how to do this in detail. Good luck!
    - Fred
    CREATING A SET OF SUB MENUS ON MAIN MENU IN iDVD
    NOTE: when you import the iMovie file don’t add to the drop zones or add music to the sub menus until you finish this work!
    Go to the map view. Once in map view choose to show the map view as a flow chart moving from left to right – it’s the left selection of the two which appear on the left-hand side of the sizing slider tool that determines how big the map view icons will appear. You will want to set that slider to the minimum size to make it easier to navigate. Select the main menu icon.
    Open the main menu to edit it and select “Scene Selection” and then copy and paste it as many times as you have sub menus. Each sub menu can only hold 6 scenes so if you have 18 scenes you will have 3 sub menus which means you will copy the first one and then past it twice which will give you 3 sets of “Scene Selection” options on the main page.
    After you create the set of “Scene Selections” return to map view. You will now have a copy of each group of sub menus under each sub menu. The entire film will be recreated for each set of “Scene Selections” that you have and you need to edit them out so that you have only one for each sub menu.
    You CANNOT simply delete the groups in front of the one you want to keep. For instance, suppose you have 3 sub menu groups and you are at the first sub menu selection. You cannot simply delete the first two groups in front of the third one – it will delete all of the sub menus after the one you want.
    (REPEAT FROM HERE) Go to the last group of sub menus and select the scenes for the first group of sub menus. In other words go down to the last grouping of sub menus, locate the first sub menu group and choose each scene within the group and delete each one. This will leave you with an empty sub menu. Do this for the next group and any subsequent group up to the last one. Do not delete the last group! This is the group you want at this level.
    Once you have deleted the scenes you can cut and paste the last group of scenes to the first sub menu selection in the group. Once done you can delete the other sub menus groups that come after the first one.
    Once you have the group of scenes moved to the first sub menu selection you need to change the name of the group of scenes. For instance if you are working on group 13-18 you need to change the group name from 1-6 which is what it is currently named.
    Repeat these steps for each successive group moving up from the last one to the top with one change – you will choose to delete the last group from each successive sub menu since you have already saved it in the last group you worked on which is below the one upon which you are now working.
    Once you are at the top group you will then simply be able to delete the other sub menus that appear beyond the first one.

    Nicola,
    The Fact: It's all in the markup and the CSS.
    The Problem:  We are not privy to your markup and CSS and as such cannot help you.
    The Solution: Supply a link to your site, or at the very least, copy and paste your code here
    Gramps

  • How to update the variables in sub-vi on main front panel?

    hi~
    The problem is to display variables in Sub vi on main front panel.
    What should I do?메시지가 04-07-2005 03:14 AM에 julitan에 의해 편집되었음
    Attachments:
    main_.vi ‏14 KB

    You probably want the slide to update while the while loop in the subVI is running, so you can't simply wire an output from the subVI to the main VI. So you are going to have to use some form of communication between the two VI's other than a hard wire. For this simple case I think I would recommend using a global variable. You could also use DataSocket or even write the value to disk, but using a global is probably the easiest method for this case. I've attached your modified VI's. Let me know if this works for you.
    Robert Mortensen
    Software Engineer
    National Instruments
    Attachments:
    global.zip ‏45 KB

  • I have an iphone 4s.  I have a mac computer and a pc.  Most of my itunes library is on my pc, but when I try to add music to my phone from my library on the pc, it won't let me do it.  I CAN add music from my library that is on my mac, same account.

    I have an iphone 4s.  I have a mac computer and a pc.  Most of my itunes library is on my pc, but when I try to add music to my phone from my library on the pc, it won't let me do it.  I CAN add music from my library that is on my mac, same account.  My husband has the same problem with his iphone 4, but only uses pc.

    My husband and I are using the same iTunes account on all mac & pc computers, but the libraries are different on each machine.  We always manually manage our music (no auto sync).  iTunes is up to date on the PCs.  My husband uses our joint iTunes account on his pc, but once again, has a different collection in his library from those on the other machines.  He can't load any music from his PC to his iphone 4.  I can load music from my mac library to my iphone 4s, but cannot load from my pc library to my iphone 4s.  How can I switch my main library that it syncs with from the mac to the pc?
    Thanks

  • Extract Data in sub report to main report

    Post Author: Karl1975
    CA Forum: Formula
    Hi I have written both a main and sub report in V10 that shows grouped data by Name with a total count on each Name:-
    EG:-
    Name                               Numbers
    Tim Smith                         10
    John Smith                        15
    I need to extract the data from the sub report that matches each of the Name into the Main report.  So I can calculate a ratio.
    EG
    Name                               Numbers              (Numbers from Sub Report)
    Tim Smith                         10                       10
    John Smith                        15                       12
    Is this possible?
    Many thanks.

    Post Author: sharonmtowler
    CA Forum: Formula
    you can use shared variables to pass the data from the sub to the main. in the knowledge base you can find instructions on creating these.
    make sure you do not surpress the value in the sub or it wont pass through. place the variable in the main below the sub report.

  • Unable to start from sub process

    The scenario of our application is :
    We have multiple processes,each again having multiple activities inside them.
    There is one main processes and the others are all sub processes.
    The main process looks something like below :
    Start->Sub-process1->Sub-Process2->Sub-Process3->Sub-Process4->Sub-Process5->End
    My requirement is to start the main process from Sub-Process2,rather than the usual way of instantiating the main process.
    I tried configuring Sub-Process2 as an alternative Start (in the Work Flow Builder),but that doesnt seem to be working.
    I am using Java APIs to interact with Oracle Work Flow.
    Any ideas ??
    Amit.

    One possibility is to call WF_ENGINE.CompleteActivity() if you need to start a process with an activity node that is mid-stream in a process thread and not at the beginning of a process thread. The activity node you specify as the beginning of the process must be set to 'Start' in the Node tab of its property page.
    http://download-west.oracle.com/docs/cd/B10501_01/workflow.920/a95265/wfapi42.htm#comact

  • How to pass the value from sub report to sub report

    how i want get one value from sub report to sub report..
    can i do this one...
    how can get the value.
    i know main report to sub report
    i tried that way but
    value is  0.00 is comming
    Any reasons.

    Hi Try this.
    Create a formula like this in subreport1 (from the report where you want to pass your value)
    Whileprintingrecrods;
    Shared Numbervar x :={subreport1Value};
    Then go to 2nd sub report and Create a formula like this
    Whileprintingrecrods;
    Shared Numbervar x ;
    Note :Your sub report1 should execute before sub report2 .That means sub report1 should be in the above section of sub report2

  • Add a new SUB to a PUB 8.1.5

    I have a a Pub and 3 sub standalone servers all working fine.
    I am trying to add a 4 sub (have the licence) running on VMWare.
    The build has gone fine accept for getting the Sub authenicated to the PUB, the sub is defined on the PUB.
    I am getting the following error message in the PUB Messages file :
    : authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=ukhsl-iptcmsub2.uk.ftse.com  user=sftpuser
    Also in the Secuity log
    : Failed password for sftpuser from [ip address] port 48182 ssh2
    Can I recover the password, without breaking things ?
    I am using the correct Security password (well the one I have used in the past)
    Anyone any ideas
    Thanks

    Hi Ian,
    Call me paranoid but I would open a TAC case due to these 2 bugs;
    CSCtn79868 - pwrecovery tool resetting only sftpuser password
    Description
    Symptom:
    Database replication broken after doing a security password RESET.
    Conditions:
    The password has to be reset, not changed.
    Workaround:
    Contact TAC to perform the workaround.
    Details
    1st Found-in:                          (1)
    8.5(1)
    More
    Less
    Status:
    Open
    Last Modified:
    Feb 07,2012
    Known Affected Versions:
    More
    Less
    Fixed-in:                          (22)
    9.0(0.95010.1), 8.6(1.99989.1), 8.6(1.99986.1)8.6(1.97011.2), 8.6(1.97011.1), 8.6(1.96000.51)
    8.6(1.96000.1), 8.6(1.95190.40), 8.6(1.95040.1)8.6(1.95020.58), 8.6(1.95020.1), 8.6(1.10001.1)
    8.6(1.10000.43), 8.6(1.10000.1), 8.6(0.99981.2)
    8.6(0.98000.56), 8.6(0.98000.19), 8.6(0.95230.2)
    8.6(0.95180.9), 8.5(1.12900.6), 8.5(1.12024.1)
    8.0(3.23044.1)
    More
    Less
    Product:
    Cisco Unified Communications Manager (CallManager)
    Platform:
    Dependent
    Severity:
    2 - severe
    Customer Reported:                          (29)
    CSCti18766 - Pwrecovery and set password user security result in inconsistent hashes
    Description
    Symptom:After setting security password via pwrecovery, cannot add subscriber nodes to the cluster. They fail when contacting the publisher.
    Conditions:Particular security password values result in a different hash via pwrecovery.
    Workaround:None at this time.
    Details
    1st Found-in:                          (2)
    8.0(3), 8.0(2.42011.1)
    More
    Less
    Status:
    Fixed
    Last Modified:
    Feb 28,2012
    Known Affected Versions:
    More
    Less
    Fixed-in:                          (5)
    8.5(1.10000.26), 8.5(0.98000.38), 8.5(0.98000.18)8.0(3.11001.3), 8.0(2.40005.1)
    More
    Less
    Product:
    Cisco Unified Communications Manager (CallManager)
    Platform:
    Dependent
    Severity:
    3 - moderate
    Customer Reported:                          (9)
    Cheers!
    Rob

  • Add a from email statement so it appears in the From of the email

    I want to add a ".From" in my Excel VBA application but it is not supported.
    How do I add a from email statement so it appears in the From of the email?
    Dim OutApp As Object
    Dim OutMail As Object
    Set OutApp = CreateObject("Outlook.Application")
    Set OutMail = OutApp.CreateItem(0)
    With OutMail
    .From = "[email protected]"
    .To = "nameto2@email,com" .Subject = "We have moved!!!"
    .HTMLBody = "<html><body bgcolor='#999955'>text</body></html>"
    .Display
    '.Send
    End With
    Set OutMail = Nothing
    Set OutApp = Nothing

    The Sender-related properties don't make any sense for new emails. For a full list of MailItem properties take a look at the
    MailItem class in MSDN.
    It looks like you are interested in the SendUsingAccount property of the MailItem class which allows to set
    an Account object
    that represents the account under which the MailItem is
    to be sent. 
    Sub SendUsingAccount()
    Dim oAccount As Outlook.account
    For Each oAccount In Application.Session.Accounts
    If oAccount.AccountType = olPop3 Then
    Dim oMail As Outlook.MailItem
    Set oMail = Application.CreateItem(olMailItem)
    oMail.Subject = "Sent using POP3 Account"
    oMail.Recipients.Add ("[email protected]")
    oMail.Recipients.ResolveAll
    oMail.SendUsingAccount = oAccount
    oMail.Send
    End If
    Next
    End Sub

Maybe you are looking for

  • Create a link to movies stores on external hard drive for itunes

    I seem to have an issue with creating a link to movies stored on my external top be played on itunes. Im NOT trying to move my itunes music library. I had to resetablish my links. Previously I had all of my movies stored on an external, would just hi

  • How can I reset password in email application

    I'm helping an elderly neighbour (I'm elderly myself) with an email problem on his Mac (I don't know which one, but this is a pure S/W problem). When he starts his system, he eventually gets a prompt for his SMPT password. Nothing works. He can signo

  • How can you share a large (HUGE) video?

    I created a 1:07:21 iMovie that is comprised of 3 short videos (20 seconds each) and LOTS of photos with an audio track of music.  I was able to make a DVD of the iMovie but I have not been able to share it on You Tube or any other site.  I have acco

  • IDOC Error status: 29.

    Hi frnds, I am sending data from R/3 here it is giving me error status: 29. I checked in we05 tcode, it showing me u2018error in ALE serviceu2019 displaying wrong partner no. and that partner no. is not defined in partner profile. Please do need full

  • How to validate the images in illustrator via java?

    Is it possible to open and  validating the eps file in illustrator via java. Kindly advise me. Thanks  for looking into this. Maria Prabudass