Show indicator from subvi

Hello
I am very new in programming with labview. I have a problem showing property of a boolean indicator of a Subvi in a mainvi. The Subvi contains a while loop where the property of the indicater is set.
I have attached the two files in Labview-version 8.0.
The problem is that the property of the indicator of the main vi only changes at the seconed time. The reason for the problem is clear. The property of the indicator is set only once in the beginning and not continuous. Can somebody complete the attached vi´s with the necessary functions so that I can comprehend it. May be I can solve the problem with a global variable or a reference. I tryed a lot but my skills in programming are not so gut.
Thank you for your help
Attachments:
Mainvi Indicator.vi ‏11 KB
Subvi Indicator.vi ‏17 KB

Thank you all for your replies
@davidpcl : The VI´s you gave to me could help me a lot. But by using these vi´s one other problem was generated.
I want to open thes SubVi several times by the MainVi. The problem ist the correct parameterization of especially the stop-button. With the parameterization you gave me I could not use it several times in the MainVi.
Can somebody give me a help?
I attached the two new fiels.
Attachments:
MainVI addon.vi ‏17 KB
SubVI addon.vi ‏23 KB

Similar Messages

  • Update Indicator from SubVi in Main Vi

    Hi, I am new to labview and have recently undertood the concept of Control Refnum. Because all the examples online are related to passing controls to the subvi and triggerign an event there, I am able to do it and it works. I am here because I could not find any example where indicator values are passed back to the Main Vi. I have attached my two Vis and will appreciate if someone could help me understand and apply this concept.
    I am just pressing a button in Main Vi and want the LED and number indicator in my main vi to update from the sub Vi. Currently it only updates in Sub Vi.
    Thanks
    Attachments:
    Actual.vi ‏8 KB
    A_TRAILER.vi ‏18 KB

    lsbu wrote:
    I will have nearly 8-10 events in my final program and I find it easier to shift them to sub vi.
    That's very few events.  Did you not know the event structure can handle many events?  At that point, it is as hard to manage as a single case structure (which is dirt easy).  Trust me.  It will be a lot easier to manage a single event structure than trying to follow your references everywhere just to try to figure out who is handling what event.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Text output using string indicator from subVI to mainVI

    Hi,
    I think I asked similar question before, but since then my program got more complicated.
    Here is my issue.
    I have a program with nested loops to print out the stream of strings in subVI
    and it needs to be updated in a string indicator in mainVI.
    When I say "update", it needs to be updated as it comes out line by line, not by
    the block when the loop is finished.
    I was not successful doing this by both shift register or RefNum.
    Maybe I do not know the advance usage these two.
    So can someone show me how?
    I have attached simplified version of my labview program.
    Thank you in advance!!!
    Solved!
    Go to Solution.
    Attachments:
    MainSubStrIndicator.zip ‏12 KB

    Hi horanyee,
    use some standard shift registers to achieve your goal... They will keep the previous valu so you can ad the new line!
    Message Edited by GerdW on 09-11-2009 08:43 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    subVI.vi ‏8 KB

  • Show an Indicator from the frontpanel when a running labview program is minimized?

    Hi Folks
    When a labview program is finish and is made to an executeable program, I want when the program is running to press a  minimize button,
    and whenthe program window is minimized, i want a certain data indicator from the front panel of the minimized Progr. w. to be visible in the minimized program in the Windows XP's Processline . Is it long out or is it possible to solve??
    Regards
    Zamzam
    HFZ

    Gerdw wrote
    Hello Zamzam,
    i think you cannot have an indicator in the Windows process bar.
    But:
    You can change the window title to something meaningful (like: "value= 123.45"). So you can read the actual value of your indicator in the process bar. The property you need is called "Front Panel Window:Title".
    I don't think I understand what you mean by changing the window title. What window are you talking about?  About the Front Panel Window: Title.
     An example for my program  is , if I got a random generator plotted out on a graph or chart, Then i got an indicator for the  values that are been plottet on the graph, and i still need to see this indicator values, even if  i minimize the running VI. That means when i minimize the Running VI. it goes down to the windows process line. There  I need to see the Random nr. generator values.! I dont think its possible in labview. But meaby there's is some methode where I meaby can implement a C program that can manage that! What do you think??
    Regards
    Zamzam  
    HFZ

  • Main VI is not updating the data from subVI

    Dear all,
    I
    have a Vi A using the data front a subVi B. When I run it, I see the
    data is updating in the subVI, but not the main Vi and the Front Panel.
    The subVi has three output channels and the main Vi tries to display
    those three channel data on the Front Panel.
    Could somebody tell me how I can solve the problem?
    Thanks a lot.
    Roy
    Solved!
    Go to Solution.

    You could probably use Control Refnums but as Dennis mentioned, be sure to explain the use case to us.
    How Can I Update the Changes Made to a Control/Indicator from a SubVI on the main VI?
    Message Edited by Adnan Z on 06-02-2009 02:48 PM
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Change price control indicator from standard price to moving avg price.

    Hi All,
    There is a material which has a negative stock for the previous period and the previous period is already closed.
    When i want to change the price control indicator from S to V for that material in the current period, it shows an error that "negative stock is there, unable to change price indicator".
    Kindly help me to solve this issue.
    Thanks,
    AK

    the price control indicator can be changed  from standard price to moving avg price at any time .......with some restrictions.
    And one of these restriction is the one you see.
    You must not have negative stock.
    Hence you have to make the negative stock zero
    Since your negative stock is in the previous period, you either have to allow posting into previous periods (trx MMRV , of course Finance has to allow this as well)  first. Then you can post e.g. a 202 movement with previous period date  which has a quantity that equals your negative quantity. then you change your price control, then you do a 201 movement (again with previous period date), finally you can restrict posting into previous periods again in MMRV.
    or you just wait a few days, then with the month end closure your curent period becomes previous period and hopefully you will not have negative stocks again. then you can change the price control without any problem (I usually take care that moving average and standard price are equal befor I change the price control)

  • Write multicolumn listbox value from subvi whitout reference

    Hi:
     Is it anyway to write data to multicolumn list box from subVI without pass in reference? Because if pass in reference I have to pass a lot.
    Like I can use Open VI Reference together with "Set Control Value" to set a String indicator text.  But I can't find the way to use open vi reference to set the multicolumn listbox text, I only can highlist which row.
    Thank.

    One thing you could do:
    Write the multicolumn listbox reference to an indicator in your main VI. In the SubVI read that indicator value and unflatten it into a multicolumn listbox reference. Then you'll have the reference available in the SubVI as if you had passed it.

  • Can't see TV shows purchased from Music Store in Full Screen Mode

    Prior to the release of iTunes 7.0, I had been purchasing episodes of LOST from the iTunes Music Store and watching the episodes on my Mac in Full Screen viewing mode.
    Since downloading iTunes 7.0, I have been unable to watch any television shows purchased from the Music Store from that date forward in Full Screen mode. When I select iTunes>View>Full Screen I can hear the audio, but I cannot see the image. Instead, my monitor goes totally black. If I select iTunes>View>Fit to Screen, I am able to see the video, however, the video does not fill up my screen...instead, I have about two inches of desktop showing on either side of the image. Does anyone know how to solve this problem so that I can once again watch purchased television shows in Full Screen mode?
    By the way, I am now running iTunes 7.0.2.
    Power Mac G4 Tower   Mac OS X (10.4.8)  

    Alan, I just checked and I don't see a section for TV shows in the Canadian store. As the initial deal was made with ABC, I doubt that there is any content available yet for you. I do see the pixar section and the music video section, however.
    Similarly, a visit to the Apple Canada site shows no mention of being able to download TV shows.
    As with the music, it is going to take a separate lisence to bring TV content to each store. If and when that is going to happen, no one around here would be able to say.

  • Previously purchased tab on iPad shows purchases from multiple accounts?

    We share a home account across 2 iPads. On 1 iPad if you look at previously purchased apps, it shows apps from another old
    iTunes account I had, but no longer use for current purchases.
    If an iPad is signed in with one account, why is it showing previously downloaded apps from a different iTunes account?
    I would think it would only show apps for the currently logged in id?
    Only thing I can think of is the 1 iPad has an app that was previously purchased with the older account, and copied over via
    Home sharing possibly.

    To clarify, if I log into each apple account seperately in iTunes on the PC, the 1 application shows under previous purchased Apps on both accounts.  BUT it was only purchased under 1 account.

  • When l plug my ipad into my computer it just shows files from the ipad. And doesn't open itunes.

    When l plug my ipad into my computer it just shows files from the ipad. And doesn't open itunes...Help???

    Check for Update (tap to enlarge image)

  • PLD Report does not show data from Query

    Hello,
    SAP b1 9.0 PL08 on MSSQL 2008 and I get data on the query, but when the PLD prints, it shows nothing. Is there a way to filter the data that the PLD shows? Does PLD have its own SQL script it uses b/c its not showing data from the query.
    Thanks,
    Nick

    Hi Nicholas,
    Please check below links.
    query based print layout design
    Print Layout Designer \Custom Reports
    How to Make a Print Layout (PLD) Report from a SBO Query | SBOnotes.com
    http://www.tegrous.com/wp-content/uploads/2011/07/HowTo_QPrintLs_88.pdf
    Hope this help
    Regards::::
    Atul Chakraborty

  • How can i show images from different folders  in image gallery

    Hi All,
             i have downloaded and executed photo viewer image gallery application.
              in that we r showing images sequentially what we have defined in xml file.
             but i want show images randomly or i want show images from different gallary.
    Can any one help me.
    thanks
    Raghu.

    WaqarLFC7 wrote:
    On Windows:
    Ctrl + click on the songs you want to group - then right click and click get info and it will ask you if you want to get info for multiple items click YES then under album name it whatever you want and them songs will be grouped into 1 album.
    Mac:
    Same procedure but hit SHIFT instead of CTRL.
    Actually, it's right click or ctrl click, same as windows.

  • I have deleted my photos but have icloud. when i log into icloud it doesnt give me an option to view these photos at all. my photo stream is only showing photos from another iphone in the house. i am unsure if i do a restore from back up if this will work

    I have deleted my photos but have icloud. when i log into icloud it doesnt give me an option to view these photos at all. my photo stream is only showing photos from another iphone in the house. i am unsure if i do a restore from back up if this will work. i really dont want to lose these photos but i am very unsure of what to do to resolve. can anyone please help?
    thank you

    If you had Photo Stream enabled with your iCloud account settings on the iPhone, photos in the Camera Roll should have been transferred to your photo steam automatically when the iPhone was connected to an available wi-fi network.
    Your photo stream is not available when logging in with your iCloud account with a browser on a computer.
    Why were the photos in the Camera Roll deleted?
    Photos/videos in the camera roll are included with your iPhones backup. If your iPhone's backup has not been updated since the photos were deleted from the camera roll, you can try restoring your iPhone from the backup.

  • How to make Finder NOT to show files from a specific folder in "All My Files"?

    Hello!
    Can someone please advice how to make finder NOT to show files from a specific folder in "All My Files"? See the attach - I recently installed Civilization 5 from Steam and now I have a lot of unneeded files (*.log and *.ini) shown in  All My Files colder in Finder.
    I don't want to see them. Any advise?

    Using "All my Files" was very handy before all this rubbish popped up. =(

  • How do I include/show data from a child table in a Modal Window?

    How do I show data from a child table in a Modal Window?
    I have an application where each customer might have multiple addresses and phone numbers which are stored in child tables.  When I show the customer in a record on a screen I can place a Modal Window button on the screen which can be pushed at runtime
    to display detail information for the particular customer parent table which works great. However, I would also like to display the data from the address and phone number child tables. Is there a way to do that?  Or can I just launch a hole separate screen
    which would automatically display the needed data for the particular customer? If yes, how? 
    Thank you for any help.

    I am not even sure how to describe my situation in such a way that this forum incident would be of benefit to other people as I think it is fairly unconventional. 
    The “add contactaddress” link does not show up on the right.  
    The contactaddress table is a child of the contact table. 
    The contact table is a child of the contactlink table.
    And the contactlink table is a child of the person table.
    I have it set up this way because the contact in the contact table may be a contact to multiple persons in the person table and I do not want to re-enter the contact info every time the contact is used. 
    In the list detail screen of the person table I can see the contactlink child collection so that I can see the name of the person in the contact table at runtime. However, the contactaddress collection is not related to the person table so it does not show
    up on the right hand side of the design screen as an “add contactaddress”; nor is there “add contact” link.
    What I would like to happen during runtime is that it is not necessary to switch screens from the person list detail screen to a contact list detail screen to see the addresses and phone numbers for the contact.
     Is my setup unnecessarily convoluted? Is there a better way? Please see the two snapshots below.
    Perhaps there is a way to call up a Detail screen from the List Detail at runtime? 
    Anyway, if you are still reading, thank you very much for your help.   
    jjjjj

Maybe you are looking for

  • Unified Communications Operations Manager 8.0: How can I get rid of exlamation marks in Service Level View?

    Hi all, In Operations Manager I open the Service Level View and there are 3 exclamation marks visible for some devices. I acknowledged all alerts & events and they are already cleared now, but I'd like to know if I can get rid of the exclamation mark

  • Azure PAAS Cloud service Role restart scenario

    Hi Azure team, I want to know if i'm changing any configuration setting value through azure portal, Will it restart the Role instance? Steps: Azure portal login->cloud service->configure->change and save the configuration value.

  • Do you use Virtual Box VM... Please help with this.

    hey everyone I'm extremely new with all this stuff... I have a iMac 10.5.4 with the most current version of Virtual Box. When i load Virtual Box everything is rocking and extremely cool... but after an hour or so my network/server connections dies of

  • Hey Sparc Gurus -- Help! (Java is slow on my Workstation)

    I recently purchased a second hand Ultra 30 for doing Java development. The machine is seeemingly in good condition but runs very slow. My understanding was that the 296MHz Sparc II processor would be magnitudes faster than the P3-700 in my Thinkpad.

  • RA-06553: PLS-801: internal error [55018]

    Hi Friends.. Please Help in this. CREATE OR REPLACE   FUNCTION dept_for_name(       deptnamein IN departments.department_name%type)     RETURN departments%rowtype   AS    l_return departments%rowtype;   FUNCTION is_secret_dept(       deptnamein IN de