Subvi popup ( popup running continously while minimized or disappear)

Hi ppl, need help
I have an application which involves a lot of subvis and all need to be opened once set them to run, minimize or just disappear and give back control to main vi.
problems are:
1) since there are many subvis and all needed to be running , the laptop screen  fills up and so , if minimized to taskbar it still is a problem to navigate with lots of subvis running, so, can the subvis be made like this-- pop-up when i click button on the main vi and then run/stop  my sub vi manually and press button to disappear while it is still running in the background, If i wish to see it again It should be able to popup again when i press the same ok button on main vi.
Please see attached, just simple vis
the number on the main vi front panel should be still running after once i start the subvi and make it disappear
i tried with the suspend when called on subvi node setup, when i try to close the window, control is returned to main vi  but it stops running and then exits.
anyway around this plzz
thanks
Attachments:
Main.vi ‏7 KB
popup.vi ‏7 KB

Here's a code snippet that should give you a good start.
The key is to get a reference to the subVI you want to minimize/maximize, and then use an invoke node to minimize/maximize it.
-Matt Bradley
************ kudos always appreciated, but only when deserved **************************
Attachments:
vi minimize.PNG ‏21 KB

Similar Messages

  • How do I get values into a vi from a subvi while the subvi is still running within the vi?

    Hello
    This is my problem. I have a subvi that runs an experiment. At different point in the experiment different instruments are on or off and I have a boolean array display this info. It is updated at various points of the experiment via a local variable. That works fine. Here is the problem though. I run that subvi from a main vi program (that runs it several times for several experiment cycles). I would like to pass the status of that array onto the mainvi to display there too. The problem is that the array in the main vi is not updated until the subvi is done running and thus displays only the array status at end of experiment (instead of changing
    as the status changes within the subvi). I tried using a global variable to write to it in the subvi every time there is an update, and read from it in the mainvi, but that doesn't work, it still displays just the status at the end of the subvi execution. Does anyone know how to make this work, or if there is a workaround this? Thanks.

    If you have LabVIEW 6i, you can update indicators of a calling VI from
    a SubVI, while the subVI is running.
    In your case you need
    1) an indicator on the main VI panel to display the boolean array
    2) to pass a reference to that indicator to the subvi when you call it
    3) to use this reference in the subVI, connect a property node to it and
    write the values to be displayed to the 'value' property of this node
    If you don't have version 6, you can write the values to be displayed to
    a global and display this global in the main VI from within a while loop
    which must run in the main VI in parallel to the running subVI.
    It's more complicated, since you need a mechanism to gracefully shut
    down the while loop after subVI finishes. You could do this with
    another global control boolean which is not displayed but just connected
    to the repeat terminal of the while loop. Don't forget to put a 'Wait' of,
    say, 50...100 msec in that while loop.
    -Franz
    zkajan schrieb:
    > Hello
    > This is my problem. I have a subvi that runs an experiment. At
    > different point in the experiment different instruments are on or off
    > and I have a boolean array display this info. It is updated at
    > various points of the experiment via a local variable. That works
    > fine. Here is the problem though. I run that subvi from a main vi
    > program (that runs it several times for several experiment cycles). I
    > would like to pass the status of that array onto the mainvi to display
    > there too. The problem is that the array in the main vi is not
    > updated until the subvi is done running and thus displays only the
    > array status at end of experiment (instead of changing as the status
    > changes within the subvi). I tried using a global variable to write
    > to it in the subvi every time there is an update, and read from it in
    > the mainvi, but that doesn't work, it still displays just the status
    > at the end of the subvi execution. Does anyone know how to make this
    > work, or if there is a workaround this? Thanks.
    Franz Josef Ahlers
    Section Semiconductor Devices
    Physikalisch-Technische Bundesanstalt
    Bundesallee 100
    D-38116 Braunschweig
    phone: (+49) 531 592 2410
    fax: (+49) 531 592 2405

  • Access data from a SubVi to the MainVi while the SubVi is still Running

    I want to pass some Boolean/String from a subvi to the main vi while the subvi is still running. 
    I understand that it could be done using queue/ notifier. I do not want to use global variables. I looked at different examples but failed to figure out how to do it.
    I was trying to make an example by looking at an example from Labview about notifier. 
    Can anyone please help me with this code and guide me to the correct way.
    Thanks.
    Attachments:
    mainVi.vi ‏9 KB
    SubVi.vi ‏11 KB

    Hi babu726,
    I have included a revised MainVi.vi and SubVi.vi for you. I had to modify the SubVi to get it to be called by the MainVi. I also included a disabled diagram structure with the code just copied and pasted in, since your code does not seem modular. Hopefully this helps!
    Regards,
    Michelle G
    Applications Engineering
    National Instruments
    Attachments:
    SubVi.vi ‏11 KB
    mainVi.vi ‏16 KB

  • I was wondring if there is any top free app for cleaning up  the computer and make it run faster while booting, on startup and while surfing web. I am using a macbookpro  with IOS10.8.5, under chrome,safari,firefox net environment. thanks on yourhelp

    I was wondering if there is any top free app for cleaning up  the computer from malware, phinishing apps, adware, and othere malicious softwares and make it run faster while booting, on startup and while surfing web. I am using a Macbook pro  with IOS10.8.5, under chrome,safari,firefox net environment. thanks on your help

    I was wondering if there is any top free app for cleaning up ...
    There is no such thing, since the problems you are describing can have various causes. Seeking anything claiming to "clean" your Mac is asking for trouble, since all of those products are scams, whether they are "free" or not.
    If you are having trouble with your Mac, describe what it is. Be as specific as possible. For general recommendations read below.
    There will always be threats to your information security associated with using any Internet - connected communications tool:
    You can mitigate those threats by following commonsense practices
    Delegating that responsibility to software is an ineffective defense
    Assuming that any product will protect you from those threats is a hazardous attitude that is likely to result in neglecting point #1 above.
    OS X already includes everything it needs to protect itself from viruses and malware. Keep it that way with software updates from Apple.
    A much better question is "how should I protect my Mac":
    Never install any product that claims to "clean up", "speed up", "optimize", "boost" or "accelerate" your Mac; to "wash" it, "tune" it, or to make it "shiny". Those claims are absurd.Such products are very aggressively marketed. They are all scams.
    Never install pirated or "cracked" software, software obtained from dubious websites, or other questionable sources.
    Illegally obtained software is almost certain to contain malware.
    "Questionable sources" include but are not limited to spontaneously appearing web pages or popups, download hosting sites such as C net dot com, Softonic dot com, Soft pedia dot com, Download dot com, Mac Update dot com, or any other site whose revenue is primarily derived from junk product advertisements.
    If you need to install software that isn't available from the Mac App Store, obtain it only from legitimate sources authorized by the software's developer.
    Don’t supply your password in response to a popup window requesting it, unless you know what it is and the reason your credentials are required.
    Don’t open email attachments from email addresses that you do not recognize, or click links contained in an email:
    Most of these are scams that direct you to fraudulent sites that attempt to convince you to disclose personal information.
    Such "phishing" attempts are the 21st century equivalent of a social exploit that has existed since the dawn of civilization. Don’t fall for it.
    Apple will never ask you to reveal personal information in an email. If you receive an unexpected email from Apple saying your account will be closed unless you take immediate action, just ignore it. If your iCloud, iTunes, or App Store account becomes disabled for valid reasons, you will know when you try to buy something or log in to this support site, and are unable to.
    Don’t install browser extensions unless you understand their purpose:Go to the Safari menu > Preferences > Extensions. If you see any extensions that you do not recognize or understand, simply click the Uninstall button and they will be gone.
    Don’t install Java unless you are certain that you need it:
    Java, a non-Apple product, is a potential vector for malware. If you are required to use Java, be mindful of that possibility.
    Java can be disabled in System Preferences.
    Despite its name JavaScript is unrelated to Java. No malware can infect your Mac through JavaScript. It’s OK to leave it enabled.
    The same precaution applies to Adobe Flash Player. Newly discovered Flash vulnerabilities appear almost weekly.
    Beware spontaneous popups: Safari menu > Preferences > Security > check "Block popup windows".
    Popup windows are useful and required for some websites, but unsolicited popups are commonly used to deceive people into installing unwanted software they would never intentionally install.
    Popups themselves cannot infect your Mac, but many contain resource-hungry code that will slow down Internet browsing.
    If you ever receive a popup window indicating that your Mac is infected with some ick or that you won some prize, it is 100% fraudulent. Ignore it.
    The same goes for a spontaneously appearing dialog insisting that you upgrade your video player right this instant. Such popups are frequently associated with sites that promise to deliver "free" movies or other copyrighted content that is not normally "free".
    The more insistent it is that you upgrade or install something, the more likely it is to be a scam. Close the window or tab and forget it.
    Ignore hyperventilating popular media outlets that thrive by promoting fear and discord with entertainment products arrogantly presented as "news". Learn what real threats actually exist and how to arm yourself against them:
    The most serious threat to your data security is phishing. Most of these attempts are pathetic and are easily recognized, but that hasn't stopped prominent public figures from recently succumbing to this age-old scam.
    OS X viruses do not exist, but intentionally malicious or poorly written code, created by either nefarious or inept individuals, is nothing new.
    Never install something without first knowing what it is, what it does, how it works, and how to get rid of it when you don’t want it any more.
    If you elect to use "anti-virus" software, familiarize yourself with its limitations and potential to cause adverse effects, and apply the principle immediately preceding this one.
    Most such utilities will only slow down and destabilize your Mac while they look for viruses that do not exist, conveying no benefit whatsoever - other than to make you "feel good" about security, when you should actually be exercising sound judgment, derived from accurate knowledge, based on verifiable facts.
    Do install updates from Apple as they become available. No one knows more about Macs and how to protect them than the company that builds them.
    Summary: Use common sense and caution when you use your Mac, just like you would in any social context. There is no product, utility, or magic talisman that can protect you from all the evils of mankind.

  • I need to call the Run continously button programmatically from MFC application .

    I have create Labview application from sample VI and with help of VirtualInstrument class I am to access the methods like Run ,SetControlValue and getControlvalue .But for VI we have Run continously button also .how do I programmatically call the Run continously button opteration from my applciation using VI methods.

    "Run Continuously" is not something that should be used in an application. (There are very few legitimate uses for continuous run, e.g. to quickly play with a few input parameters while debugging a subVI independent of the main application. The equivalent in your case would be to just place the run invocation in a loop and call it repeatedly. This is definitely not the way to do it!)
    Why don't you simply place a big while loop around all the code inside the VI that needs to run continuously?
    See also THIS recent discussion.
    LabVIEW Champion . Do more with less code and in less time .

  • SubVI Waiting to Run

    I have written a data acquisition program with LV 6. I have written it so that one part of the program gets data from our NI PCI-MIO-16 type card, and outputs the data to a global array at a frequency of 100 Hz. Other parts of the program then read the data from the global array, apply scale factors, graph, output to disk, etc, as required. All of this seems to work perfectly.
    My problem arises as I try to stop my program. I go into either my continuous logging or manual logging sub VI parts of the program, and when I try to come out again the sub VI appears to stop, but it won't go away. The stop button is greyed out. The run arrow is white with a small black arrow inside. When I move the cursor over it the pop up message "SubVI Waiting to Run" a
    ppears. The only way to stop the Sub VI is to close the window. I have followed the VI's through using highlighting, and I can't see any problems, any sub VIs still running. If I run the VI independently without coming into it from the calling VI, but still having the other data acquisition VI going as well, it works perfectly and exits fine.
    What is the obvious problem that I am overlooking???? Is it a global VI problem? I am only using one Global VI, and it is also passing data between other VIs. Could this be the problem? Should I have a global VI which is the only link between the two VIs, and other globals for links between other VIs?
    Please help if you can as I will not have much hair left soon!
    Thanks in anticipation
    Stu

    Hi Stu,
    If I Understand Correctly is that you have a Few Vi's Running and when you try to Stop the Program, you want to be able to come out of the Sub Vi Panel. Also you have Described a Complex Situation very briefly so some details are unclear. However, Check these things.
    You Wrote "The stop button is greyed out. The run arrow is white with a small black arrow inside. When I move the cursor over it the pop up message "SubVI Waiting to Run" appears."
    The Run Button when White With a Black arrow indicates your SubVi is in "Running" State. This means that there is a top Level VI Which is running and has Some Code which will Call this Sub Vi. As soon as a top level Vi is Run, all subvi's called by the top Level Vi go into Running State. You are right, th
    e Vi Can Be closed By Close Button. But If you were to Open this VI again You will see the same White and Black Arrow.
    What You can do is Use Vi Server Property "Execution State" in A New Vi and run this VI supplying the Path Name of the Problem Vi while you are Having this Problem. I have attached a small Vi Where you can enter the Path Name of Vi you want to Check and run it. It will Give you the state of the VI, Running, Bad, Idle or Top Level. Mind you if your Vi is Not even Open it may give you "Bad"
    Now if you get status as running it means it is currently reserved by a top Level Vi for Running.
    So to Stop your Program and close the Window you may want to use Vi Server Property nodes to End Execution and Close Fornt Panel.
    One Another thing to do to identify the problem is go to "Browse" Button and Look at Vi Hierarchy. Also there is a button "This Vi's Callers". If the Caller Vi Is Open It will show up here. Most Probably Because of Global Variable VI Which is at th
    e Top you have a problem.
    I Hope this Helps. If you can Post More Details - I am Sure you will get Contextual Help to sort your Problem.
    Good Luck!! Baldness can be good Sometimes!!
    Good Luck!
    Mache
    Attachments:
    Find_VI_State.vi ‏26 KB

  • Photoshop CC 2014 running slow while trying to edit 1.4 GB photos.

    Hi,
    Anyone have any recommendations for getting CC 2014 to run faster while editing large files (1+ GB)? It seems to bog down doing simple tasks like Selection. I just installed a new graphics card, a Radeon R9 270x with 2 GB GDDR5 for the GPU. Also am running 8 GB of system RAM with about 70% allocated to Photoshop. Should I bump up the RAM to 16 GB? Or maybe use better ram? ( I don't remember the brand of RAM I have now, but it's 1300 MHz). Or should I allocate more ram to Photoshop?
    Or...am I just always going to have this issue when editing such large files?
    As a side note, I don't run a SSD, just a 500 GB HD of which 190 GB is free. No partition.
    Thanks for the help.

    Graphics driver should be up to date. I literally just installed the card and drivers last night. GPU acceleration is enabled, but will that really slow things down? The card should handle most of what's thrown at it. And effect rendering isn't really all that slow, just tasks like Selection, and other toolbar type tasks. Even opening the files takes a bit of time.

  • Photoshop CS5 - Action is not running automatically  while I trying to save PDF to JPG

    My Problem in Photoshop CS5: Action is not running automatically while I trying to save PDF to JPG, in the batch process:
    Followed following steps:
    Opened PDF file
    Created new auction (F2)
    Flatten image
    Save as JPG
    Close file
    To Run Batch:
    Opened Batch dialogue box
    Selected set/action name
    Source: selected as “Folder”
    Directed location using “Choose” button
    And no selected any check boxes under the “Choose” button
    Clicked “OK”
      Now all the PDFs are opened one after another but not execute the selected action. Please help how to resolve for auto run.

    What is part of the Action?
    Could you please post a screenshot with the pertinent Panels visible?
    Have you tried using Image Processor or Image Processor Pro instead of Batch?

  • Multiple instances of a subVI - problem if running as executable

    Hello LabVIEW gurus,
    I have written an application, which uses a VI-template to create multiple instances of this subVI which are
    running independently. I use 'Open VI Referece' and the 'Call By Reference Node' VIs. My application works
    fine if it is executed in the LabVIEW development environment.
    But if I use the Application Builder to create a stand alone program, the 'Call By Reference' method seems
    not to work. The program works without any error message, but the subVIs created by call by reference
    deliveres no results. I suppose the subVIs are not created properly.
    Has anybody an idea or hint to solve that problem. Are there any known issues with 'Call By Reference Node'
    and 'executables'. Are there special points to pay attention for?
    I have that problem with LabVIEW 7.0 and 7.1 (Windows2000 and WindowsXP(SP2))
    Thanks for any hint that could be helpful.
    Steffen

    Sorry for the obvious question but did you include the templates as
    dynamic VIs when building the application? Since these VIs are not part
    of the Top Level hierachy, they have to be include explicitely as
    dynamic VIs.
    By the way, when VIs are included as dynamic VIs they are put in the
    internal LLB of the executable file. When opening the VI reference,
    that internal LLB is first looked into for a VI of that name and if it
    is found there the actual path is ignored. The internal VI is opened so
    you don't have to care about absolute paths when using inluded dynamic
    VIs e.g. you can leave paths used during development. The actual path
    is important only when the referenced VI is located outside the
    executable.
    LabVIEW, C'est LabVIEW

  • Subvi waiting to run (objective function)

    Dear Users,
    I have an optimization process using unconstrained nonlinear optimization and an objective function. The only place I use that objective function is in a subVI (let's call it Optimise.vi), where I supply that to the optimization subVI (which is LabVIEW native). After running my whole program, the Optimise.vi stops and is in the idle state. But the objective function and all of its subVIs are in a running state, and their run-arrows display "SubVI waiting to run" or "Run" (always with an arrow inside an arrow). I could check on the state of the two VIs using a VI by Marche at http://forums.ni.com/t5/LabVIEW/SubVI-Waiting-to-Run/td-p/49432.
    The execution of the Optimise.vi and the objective function is set to "shared clone". If I set the execution of the Optimise.vi to "non-reentrant", then the objective function also ends in the idle state. But my program runs longer, and I would like to avoid that.
    Is this behavior bad? Should I care about it?
    Cheers,

    Dear ghighuphu,
    I really like to help you with your issue but some more informations are necessary.
    I assume you use this optimization function:
    Constrained Nonlinear Optimization VI
    http://zone.ni.com/reference/en-XX/help/371361H-01/gmath/constrained_nonlinear_optimization/
    Did you create the objective function from the template located here: labview\vi.lib\gmath\NumericalOptimization\cno_objective function template.vit ?
    In the template the execution settings should be right.
    For further troubleshooting a screenshot would be nice. Feel free to come back to me.
    Kind Regards,
    Vanessa
    AE Munich

  • HT4623 iOS6 runs for while aprox 1/2 hour then outputs an error MSG unable to update

    iOS6 runs for while aprox 1/2 hour then outputs an error MSG unable to update

    @ i3rend4nv05
    I’ve encountered a link that might help you to unzip the file. Check this out. 

  • XY-Graph hangs after running continously for 3 weeks

    We have an application running on LV 6.0.2 on Windows NT4/2k.
    The application is splitted in an overview panel which displays up to 20 graphs (XY-Graphs) and detailed views, which displays only one signal but with further information. The aplication is running continously. If the data source is powered-on data will be acquired. After power-down the data source we reinitialize the XY-Graph and wait for power-on.
    The problem is, that the application is working correctly for about 3 weeks and then suddenly the XY-Graphs of the overview panel is hanging - that means we get some data (say 20 min.) and then no more data will be displayed.
    The data is formatted in a model-view controller like manner. The special thing
    is, that we can format all data acquired for all graphs. The detailed view displays all acquired data as expected whereas the overview only displays some part of it.
    Do you have any ideas or solutions for this problem?? We are know restarting the panel after a specified time period and hope that this workaround will solve this error.

    I suspect you are runnig out of memory!
    The data collected just piles up as it comes in.
    How to confirm.
    Right click on the task bar and select "Task Manager".
    Select the Performance tab.
    When you start your app, ther should be lot of memory left over.
    Watch this value for three weeks. You should see a steady rise in memory usage until the machine hangs.
    If this is a coorect guess, you have two choices.
    1)Re-write the app to limit the history that is kept in memory, or
    2) Re-boot the machine once every 2 weeks.
    See ya back here in 3 weeks,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • I am told to do an update, I click ok to update and it runs continously never completing

    I have windows 7 and have firefox 4. yahoo edition 1.8. i get a notice to do an update and when I try to do the update it never completes the update. it just shows that it is running continously.

    Updates : http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-updates-ccm.html

  • Macbook fan is running continously

    My Macbook's fan is running continously though my cpu is idle. I did check the activity monitor for it.
    Do you experience the same with your MBs?

    This behaviour is intended now? It occured first in early 2007. They seem to have changed it with a firmware update this year. Before the fan ran occasionally. Most of the time it was off.
    My place is very silent. And for good reason. I don't wan't my Apple computer to be this loud! I have seen it can be more silent. I want my old firmware back. My CPU has a temperatur below 40°C (100°F)! Why does Apple think it has to be cooled down? It makes me mad. I want to concentrate on my papers. I don't want to switch on the radio to distract from the fan noise.
    Does anyone have an old firmware restoration cd for my macbook? I can only download the last one.

  • What can I do when my iPad runs slow while searching the web?

    What can I do when my iPad runs slow while searching the web?

    Goto  Setiings > Safari... Clear Cookies & Data.
    Then...
    Close All Open Apps... Sign Out of your Account... Perform a Reset...
    Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons..

Maybe you are looking for