opening Subvi so the main vi is active

In the main program when executing when the user clicks the appropriate button Subvi with an image is called (chosen by the structure of the case). The rest of the program (front) is blocked until the closure of the window slot - VI - how I opened the Subvi with an image so that it remains open and the program goes further?

Greetings,
Michal


Tags: NI Software

Similar Questions

  • Open a Subvi inside the main façade, not to burst

    Hello

    I am writing a program that contains several subvis. The option I have in the configuration of the node of the Subvi is to open the front panel, during the call. What I want to do is to open the front panel of the Subvi inside the main façade.

    For example, it is main and subvi1 and subvi2. In the main FP, there are Boolean start button. When he pressed it opens Subvi FP for the user to enter parameters, but this Subvi should be opened in the main PS and when the user presses the fact. It refers to the main FP.

    I tried searching online and inside on labview but I couldn't find anything. Also, I'm a newbie to labview, so I don't have a lot of experience.

    Thank you

    ERFAN

    Secondary use

  • Opening Subvi in the same monitor like main vi

    How to make my Subvi to open in the same screen the main vi is in?  I tried the execution window position options, but that seems to fix the Subvi to a particular monitor.  I want the user to be able to drag the main vi in any available monitor and open the Subvi this monitor.

    Thank you

    Learn a few methods of VI:

    Before Panel.Run - Time Pos.Get - returns a bunch of default stuff including watching the front panel is on.

    Before Position.Centered Panel.Run - Time - specifies where the VI will appear the next time it is run.

    In addition, defining the position of the window may move between monitors.

    This might get you where you want to go.

    Mike...

  • Subvi in the main program output data

    Hello

    I'm trying to export data from sub - VI for the main program in real time. But I found the value may be filed only when the Subvi is finished.

    I'm doing some research and I think that using the queue is the best, but the global variable. You can all give me some tip on queue using to transfer data from sub - VI for the main program in real time?

    Thank you!

    No problem.

  • How can I get media player to go was the task bar so I don't have to keep opening upward on the main screen please?

    I just had to recover my pc but now I downloaded the media player 11, but it is more on my taskbar as before. How to do this please.

    Hello

    I suggest you follow the step and check if it helps.

    a. right-click of the mouse on a zone empty of the taskbar.
    b. in the menu that appears, click Toolbars and then click Windows Media Player.
    c. then the Windows Media Player and then reduce it.
    d. the main control buttons appear on the taskbar. You can start playing, go to the next or previous song, pause and so on.
    e. the software in large format, click on the little logo of Windows Media Player.

    See also:

  • I read the info on TBird messages to open in tabs. I put on it to open it in the main window, but it has not changed. Is there another solution?

    I did not understand the info on the action of the tabs. I followed the instructions for "open in an existing window", but messages still appear in the tabs at the top. I struggle to find my Inbox. Thank you, Martha

    If you select open in an existing Message, the first message that you double-click to open a new window always opens. If you leave this window open and you double-click a second message, it will open the new message in the existing message window.

    If you select open in a new window, all messages that double you click opens a new window. If you do not close the window after reading the messages you will be right where you are when you neglect to close the tab after reading the messages. You will have all messages that you have read open in a tab and the tab of the Inbox is pushed off the screen.

    After reading the message, close the tab or window.

    If you have lots of tabs open, you can right-click one of them and choose Close other tabs and then use the x on the last tab to close it.
    This will close the tab with the calendar of lightning inside you will need to reopen that.

    Have you tried to use the message pane to read messages and open them at all? F8 will toggle the message on and outside pane.

  • Return the focus to the main window of VI

    In fact, the scenario is a little more complicated than what is described.

    There is a main VI has a user interface that uses a Structure of the event to capture / process the events of the operator.  This same main VI also called live dynamic.  One of them has its own Structure of the event.  The code for the two screws was developed using LVOOP.

    There are shortcut keys associated with the main vi.  However, given that the main spaws Dynamics Dynamics VI VI VI is the active window.  As a result, all keyboard events are processed by the Structure of the event of dynamic VI (of course).

    However, when a keydown event is raised, it should be captured by the main VI.  The architecture of code cannot be changed.  What would be an appropriate method to make the main VI window active (so able to handle keyboard events) or be able to transmit events keydown event captured the main VI without a redesign of the architecture?

    Some ideas would be to register for outdoor events (which are sent to the hand) and create a keydown event in dynamic VI.  This may require the implementation of a queue.  Or because the code uses LVOOP, and then creating a lvclass to handle keydown events may be the way to go.

    I just want to get some feedback on potential "gatchas" which can hide when you try to implement a solution.

    Or maybe there is something simple that I've not taken into account.

    Thank you

    RayR

    Don't know much about your LVOOP, but I guess you know VI, FP. Run - Time.Minimized, to reduce to a minimum the dynamic VI of VI of the hand or the dynamics VI himself.

    Or you can use the Application method "Bring forward" after spawning dynamic VI. This will give the main VI keyboard back focus. I believe in KISSING.

  • PS anchored to an additional monitor not opening not in the primary monitor

    So hope that someone can help do.

    I am running CS5 on a laptop with Win7 (my desktop system had a motherboard failure) that is connected to a 23 "monitor. For some reason, Illustrator and other parts of CS5 Design Standard seem if open fine on the 'main menu' designated, but Photoshop does not work. Maybe it's that I didn't actually * used * the other parts of CS5 on my laptop. PS would have some 'I'm doing this because I have always done this way' parameter it won't let go? I can just drag it to my main screen (I can, but that is uuuugly which defeats the purpose of the use of the giant screen).

    Thanks for any help you can offer.

    KC

    I try that, but given that this aspect of the work in PS is new to me, it's possible that I did it incorrectly. Had a similar "glitch" today when I decided to change my preferences to take my previous settings on the old system. I thought that my system has hung up when instead, it was just a matter of the dialog box Preferences hanging out on the laptop monitor. After realizing what was up, I changed the setting I wanted and closed the dialog box. The next time I open it, it opens on the main screen. Go figure.

    Well, an easy solution which is fine with me - I just put everything to work on the 23 "monitor only rather than both in use. I don't really need (that I know of) to be able to extend the monitors. I was trying to and thinking that it might be useful. Down the line, I may find it does, but now I'm going to stay with what works best for my way of neurotransmitter of work and limited. In addition, by limiting my work area for the monitors, my compressed area is used for the entire screen of the larger screen area. Much easier for to keep me track of cursor.

    How the hell "old.

    Thank you very much.

    KC

  • Disappears from the main window of the activity monitor

    I'm under El Capitan 10.11.5, 15F34 build on an iMac (retina, 5K, 27 inch, mid-2015). If I open the activity monitor, I get the CPU usage, but the main window will briefly appear and disappear. If I minimize and restore, I also get it for a fraction of a second and then it seems to fall back on the dock. The history of CPU option (cmd 3) is grayed out, although I can get it as the icon in the dock.

    My question, then, is what caused this problem and how to restore to normal activity monitor?

    Please read this message before doing anything.

    This procedure is a test, not a solution. Don't be disappointed when you find that nothing has changed after you complete it.

    Step 1

    The goal of this step is to determine if the problem is localized to your user account.

    Select the feedback connections* and log in as a guest. Do not use the Safari connection only 'user comments' created by 'find my Mac '.

    While signed in as a guest, you will have access to your documents or settings. Applications will behave as if you use them for the first time. Do not be alarmed by this behavior; It's normal. If you need any password or other personal information in order to complete the test, save, print, or write them before you start.

    Test while signed in as a guest. Same problem?

    After testing, log on to the guest account and in your own account, disable it if you wish. The files that you created in the guest account will be automatically deleted when you log out of it.

    * Note: If you have enabled 'find my Mac' or FileVault, then you cannot activate the guest account. The login 'User comments' created by 'Find my Mac' is not the same. Create a new account to test and delete it, including his home folder, after testing.

    Step 2

    The goal of this step is to determine if the problem is caused by changes in the system of third party that load automatically at startup or logon, by a device, by a police conflict or corruption of system files or some system caches.

    Please take this step regardless of the results of step 1.

    Disconnect all devices wired except those required to test and remove all the expansion cards from secondary market, as appropriate. Start in safe mode and log on to the account of the problem.

    Note: If FileVault is enabled in OS X 10.9 or an earlier version, or if a firmware password is defined, or if the boot volume is a software RAID, you can not do this. Ask for additional instructions.

    Safe mode is much slower to boot and run as normal, with limited graphics performance, and some things work at all, including an audio output and a Wi - Fi connection on some models. The next normal boot can also be a bit slow.

    The login screen is displayed even if you normally connect automatically. You need your password to log on. If you have forgotten the password, you will have to reset it before you begin.

    Test in safe mode. Same problem?

    After testing, restart as usual (not in safe mode) and make sure you always have the problem. View the results of steps 1 and 2.

  • The call of a Subvi without stopping the execution of the main thread

    Hello everyone, I have a rather simple demonstration VI, which opens a menu where the user can call a few screws, signal generation, reading and analysis, each contained in a Subvi and with their own front panel and chart controls. The idea is user just click a button and the required Subvi is in charge, I use a structure of the event to ease.

    Problem is, after I opened an option, said Subvi hogs the thread of execution and does not allow for new bodies until it is closed (this is inside a while loop it is so logical, I guess), the queue of events and the next before Panel charges only after that I have stop the Subvi. I would like to be able to simply open the front panels and let them run in parallel, without them in the meantime another at the end, is it possible?

    natasftw is right.

    A high school is a "hole" in your main panel.  You "insert" a separate VI in this 'hole' and then you see the Panel of VI inserted through the hole and mouse clicks through the hole of the Subvi below.

    You will need to run the Subvi separately, even if - by inserting just can't run.

    Aynchronous call will begin a Subvi running and then return to the calling thread with the Subvi running in parallel.

    You can then insert the Subvi in a secondary, or let it have its own window, as you choose.

    There are examples of both techniques.

  • Open and close the Panel the Subvi front

    Hi all

    Run LabVIEW 2011 on Windows 7 x 64.  I am trying to get a Subvi front to open from my main PC with the touch of a button, then close with a button press in the Subvi.  Here's the piece of my main FP who calls the VI and opens the FP

    Locations is defined in another loop and all loops are in a flat order.  I made this way because I want to start with the first press and not stop my main loop to run.  So I don't know if I can run in the same line as the event or not, I've moved the element to the left loop around a lot.  Anyway the VI of openness seems to work very well.

    The problem arises when you try to close the Subvi for the SECOND time.  The code is here:

    As I said, the first time I open and close the VI everything works as it should, hopefully.  Then, I am able to reopen but now 'empty' button does not work and I can't close the window or even to open the block diagram to probe anything.  I tried to understand this point for a while, any insite would be greatly appreciated!

    Thank you

    Found my problem, I had the wrong boolean on one of my other events.  If this seems to be a good way to open/close a Subvi if anyone is interested!

  • Reference to the control on the main façade fails the Subvi front is closed?

    Hi all

    I meet a strange bug. In my code, I use a Subvi to control a piece of hardware. The Subvi has commands for all functions of my hardware.

    I changes the value of one of these controls in my main façade by running a reference to a button on my main façade in the Subvi, grabbing the value of the button with a property node, then update the value of the Subvi control using a node property signage.

    This works very well when my Subvi front is open, but does not work the Subvi front closing.

    I am new to labview, so any help is appreciated.

    Thank you

    Rachid

    This event triggers a series of writing for the real hardware. The material is sent only a command when something changes.

    My code is made up of handlers inside functional global variables. In this way, I can send different parts of code of different orders (example: reset and reset) with the events generated by programming.

    The value of the wheel of the page main itself, according to my probes, getting through. It's the Subvi button that is having a problem.

    I work under a certain pressure of time pretty important, so I managed to convince the boss that the front panel of the Subvi open does not violate the requirements of the application. I guess this has solved my isse.

  • Open the Panel before Subvi in the executable

    Hello

    In my labview project the MainVI contains about 20 subVIs. My goal is that by clicking on a button on the Panel before the main VI I would open a special Subvi (assuming it to be sub - VI, 10). To do this in the labview development environment, I used a reference of openVI with its path of entry is the name of the VI vi I want to throw (Subvi 10), and then set a real constant on the front panel to bring up the control panel front of the Subvi. This works well in the labview development environment, but when I create an executable file I'm not able to open my Subvi. I looked around, on the knowledge base and found this article.

    http://digital.ni.com/public.nsf/allkb/24F54CF34391074D862570E6005857DE. But this talk article to launch the front each time the Subvi is called. This does not work in my case, because sometimes the user may not want to launch the Subvi. I also have a lot of controls and indicators on the Subvi, so there is no way I can get that on the main VI as she would not clutter on the main VI.

    In the property settings for the building of the executable under the category of settings of the Source file, I see the option Panel before removing the dependencies, but it does not set the option for the Subvi individually. Only together, I can remove the front panel for all content items.  If no help on how to solve this problem is greatly appreciated.

    Have you tried to use static references VI instead of using 'VI open' with a file path?  With a static reference VI, the compiler has a better idea on what you are trying to accomplish during the execution.

    I did it in before executables without any problem.  Personally, I like having a Boolean input of the Subvi, called "Display window" (or something like that) and then have the Subvi manage how it wants to open (or close) front panel.

    It has more than this past... the code snippet a little caught of freedoms.

    It is within the Subvi (which my main VI is still running).  The Subvi has a static reference to himself.  I have a button on the front of my VI main panel when you press on sends a 'true' to Boolean entry "display window.  The Subvi responds by opening the front panel upward. The opposite happens when the button is pressed.

    This code was compiled in many executables and works without any problem.

    Edit: Image cropped.  This Boolean coming is "First Call".  The function retrieves LV 2009 done this 'error 2' terminal.  Laughing out loud.  I wouldn't name which.

  • Muse: message "records in the main.active table.

    Today, I got this message while he was trying to save my file of muse. "No record in the main.active table. Any help would be greatly appreciated.

    And my file will not be saved. I restarted my machine and now the file opens. How can I access this file?

    Thank you very much!

    Please send us the .muse file at [email protected] as well as a link to this topic. If the file is larger than 20 MB, you can use a service like Adobe SendNow, Dropbox, WeTransfer, etc. (if you use a service, please include your email address in the body of the message back, given that not all services to include it in the invite sharing they send.) Thank you.

    I have not seen a report of this error for more than a year and a half. I thought that we had eliminated any means to reach this State. You use 2014.2 Muse?

  • no record in the main.active table?

    I just updated my Muse, made some changes to my site and saved. When recording, Muse crashed. Now when I try to open the site I get the message "cannot open this file in the Adobe Muse site. no record in the main.active table? I panic here a little... Please help. Thank you!

    The avalanche of reports of this error in November or in 2013 was due to a bug introduced in 7.0 Muse that has been fixed a week later under article 7.1. (The current Muse, 2015.0.1 equals Muse 12.1.)

    I am puzzled as to how this could happen while doing a backup, unless the file has been changed or renamed by someone else then only on the server? Or you were doing a save as (rather than a backup) over the original on the server?

    Could you send your file from MuseLog.txt to [email protected] as well as a link to this topic to the context? Can provide more information about what happened. Thank you.

Maybe you are looking for

  • Satellite A100-811 - sound no longer work after reinstallation of the system

    I recently bought this type of laptop. After about 2 installations of windows from the recovery cd unit... I keep having the same problem:I encounter problems or difficulties with some audio applications... especially mp3 running for example in winam

  • scanner not recognized on Windows 10

    I just bought a new computer Windows 10 and added my Canon MP216n printing and updated software of the Web site Initially, everything worked and now the Canon Toolbox can not find scanner.  My computer windows 8 on the same WiFi considers it, and it

  • NVIDIA no longer works

    Hey, I have an Acer Aspire V3 - 571 G-53216G50Makk (BE), and today I downloaded the new drivers for my Nvidia Geforce GT630M 2 GB and the new driver (for Nvidia) said my 630M 2 GB was not compatible and now my 630 M 2 GB no longer works (I tried with

  • Re: Don't feed the Photosmart C310 paper

    I followed all the instructions, unplugged and repluged, tried to clean the rolls twice with water and a soft cloth, printed from the printer and, replaced all the ink cartridges and clean this area.  Tried different paper, but I'm at halfway through

  • Restored Vista will not install updates

    I have an old laptop (from 2008 or 2009 I think) with Windows Vista. A few weeks ago, I restored the computer to see if it would be a bit faster still. But after restoring I have big problems with the installation of programs. I was able to install F