Multiple front (floating) in labview application

I am trying to build a multi-window application. My goal is to be able to have several floating windows open simultaneously, allowing all user input.

My problem is, when I open a new floating window, I can click more buttons is in the other windows.

I have attached a simple example of what I'm trying to do. The Main.vi has two parallel loops and two structures of the event. A loop has the purpose to execute the Sub.vi after a click of a button. The other loop performs some functions when the other buttons are clicked. Since these loops run in parallel, I think I can communicate with the two VI when the front panels are open.

What I'm missing here?

Any help is appreciated. Thank you.

There is an option in each case of the event that is set to true by default: defer before Panel updates until that end case of event.  What does that mean?  When you click on the button to open the Subvi, this case of event cannot be completed until that VI is running.  As the case of the event is incomplete, your main façade is actually locked (unable to do updates).

In general, you should really only have 1 structure of the event in a VI.  What you need to do here, is to use the asynchronous call start to run an instance of your Subvi without interrupting the flow of your main VI (it will be truly parallel to the rest of your code).

And you really should put the buttons of closure in the case where the case change event that manages their respective value.  It will allow the rear lock occurs.

Tags: NI Software

Similar Questions

  • How to communicate between instances of Labview application?

    Hello, I have a question on how to communicate data between two instances of labview application on different computers connected via a network.

    I'll explain what I'm doing:

    I have a data acquisition program that was divided into two independent parts. The backend is responisible for the acquisition of data from several DAQ hardware, and the interface simply displays the data collected. The two parties are coupled by events in labview. The backend sends a new event data (for any one listening) whenever he gets new data and the frontend listens to these events and updates of some graphics on the front panel each time it receives this event. Other than the two parties have no communication.

    Now it is necessary to split the frontend and backend on two different computers, connected via a network. The backend will be connected to DAQ devices as usual, but the frontend is running on another computer.

    So my questions are: will be the my current communication mechanism still work on multiple instances of labview application? And if not, what is the best way to connect the two in a minimum amount of new code, and without interrupting the current program, if I decided to their port of return on the same computer?

    (I thought that a kind of middle-man would be the best who is responsible for networking).

    Please, any advice will be useful!

    Paul.

    I think that the best way to do this is a TCP/IP link.  You can do it, as you suggested, with a pair of 'intermediate' screw at one end, catch you user events in a VI and send them over the network; on the other end, you receive data and turn it into an event, requiring minimal changes to the rest of your code.  The TCP/IP screws are pretty easy to use and there are good examples of LabVIEW.  NEITHER offers the Simple e-mail reference library.  You can also watch "robust TCP' Jack Hamilton of LabUseful.com (WARNING: I've never used or not even watched these screws and cannot check they are really helpful, I have seen discussion and links to them).

  • How to switch between multiple windows in the same application?

    Hello

    I use OS X Capitan version 10.11.13 and I'm trying to find an easy way to switch between multiple windows in the same application by using CTRL + alt or different keys.

    Here is what I feel...

    Let's say I have Outlook, Google Chrome, Safari, iTunes and apps 'about this Mac' open.

    I open the new message window in Outlook and another Chrome window. I have therefore 2 separate windows in Outlook and Chrome.

    With that, I'm unable to move the composition and the window main outlook which is so annoying. Let's say I want to read the emails by the prospect main window and transfer of the content of the compose window! The command + tab doesn't take me to the main window of Microsoft outlook! Even if there were the last visited / applications window. This constraint is not intuitive, unless it can be configured in the settings?

    Strangely, I can't switch to the "about this Mac" window.

    The work around is to use the function (F3) mission button and click on the window, that I want to use or click the "Outlook" application on the dock icon and choose the window in the list.

    Does anyone know how switch between different windows in the same application by using a key combination or one another method other than listed above?

    Thank you

    Avinash

    In general, an Application that can open multiple windows provides a "Windows menu" you can choose the window you want.

  • Access a queue within a labview application .exe built

    Hello

    I have a labview application .exe built in which there is a queue. I would like to put items in this queue to a labview vi that exists outside of the application.

    Is this possible?

    Thank you,

    labJunky

    With the correct changes, sure. For example, you can configure a listening TCP port in the .exe and send orders in this way.

    /Y

  • Installation of construction LabVIEW application disables the Windows Device Manager? Help on how to diagnose the problem?

    Please can anyone shed light on this, or suggest where to look?

    I built an application using the Application Builder of LV2014 (32 bit).

    On a Win7 X 64 PC at work, it installs and runs ok.

    On Win7 X 64 PC at the customer, it installs ok, but then after Windows restarts on demand 'device manager' no longer works and there are some unchangeable registry entries associated with nipalu. The client runs Symantec security software. A client COMPUTER technician is suggesting that LabVIEW is interacting with device drivers and this is the origin of the problem, but we do not know how to go further. It is not really acceptable to deploy computers where the Windows Device Manager no longer works. Surprisingly, the application itself works always - it's just Windows which messed up.

    Thank you

    Thanks for the suggestions. The company IT guy has not been able to talk to a person in NI UK support (no one was available), but he managed to keep it down to a problem with Dell Data Protection encryption Enterprise Edition. Delete first, then install the LabVIEW application, then reinsert DDPE gave a system where everything worked.

    We have built apps that used progressively more labview drivers (vision, labview base; digital i/o)

  • I'm not able to install both on the same PC LabVIEW applications. I have uninstall the first application in order to install the second. Is there a way to avoid this?

    I wrote two LabVIEW applications. The first acquires data from three different devices, displays the data and writes it to a file. The second application reads the data and displays it on the screen.

    Can I install the first application and run it, but I can only install the second application if I uninstall the first application.

    Any ideas as to why this is happening?

    You install applications by using a Setup program created with the application builder to LV?

    What LV version do you use?

    You have a dedicated for each installer build script, or do you still want to change the settings of a single build script (which would be a reason for this behavior!)?

    hope this helps,

    Norbert

  • Stand-alone labview application (.exe file) does not run correctly

    Hi all

    I'm doing a labview application only to run on another computer (I never did this before).

    I went through the tools-> build application prompts and was able to build an exe file.

    the program is supposed to control a power meter and measures of power, then save them in a text file.

    When I run the exe, on the same computer, I compiled the exe, the program generates a text file to save data to, but he cannot communicate with the electricity meter.

    There are a few screws Sub and a dll file that are used to communicate with the electricity meter. Would it be possible that I am not say labview to correctly

    include these files when I create an executable?

    What are some common problems that arise when building stand alone applications that could be cause of my problems?

    And no one knows of any good tutorials on building applications stand alone in labview, other than the help files OR?

    Thanks for your help,

    Also, if you used the VISA, include the runtime with your Installer.

  • Can place my labview application on a public website .exe

    Hello

    If I created a labview application only .exe and want to publish it on a public Web site so anyone can run it.

    Is this feasible? If yes how?

    Please, step by step.

    Yes, the computer that hosts the application requires the LabVIEW run-time engine. Panel will also require a licence for each connection. This is explained in the article I linked to.

  • How do I run Labview applications into a tablet with android os

    How to run the Labview application in the tablet with android operating system?

    Can we use Labview mobile module or use the google game for labVIEW data dashboard? How to install in the PC?

    If you had looked at the dashboard of data and some other links on Android, you will see that you can not run a LabVIEW on Android application. Nor can use you a serial port. With data dashboard, you have a pc that runs LabVIEW and publishes to shared network variables. The Android data dashboard allows you to see these variables.

  • Error 1722 to the deployment of Installation Windows 7 LabVIEW applications

    Hello

    I use version 8.5 of LabVIEW Application Builder to deploy my standalone executable. I have never had a problem on Windows XP and have been very successful on Windows 7 installation. But now I have a client who gets the following error in Windows 7 (but the same installation package works very well for him on XP machines):

    Installing NO-SUN 1.7.0f0, part 10 of 19 with error 1722.

    Error 1722.  There is a problem with this windows package install.  A program run as part of the Setup did not finish as expected.  Contact your provider to support personal or package.  Contiunue Y or N.

    (Engineers application OR in particular) anyone have any ideas? (My contract has expired. I think that there is a way to report bugs, but is there a way to contact support OR directly in addition to this forum?)

    Thanks for any help.

    Ed

    UPDATE:

    Good news! My client back to me and told me it was his anti-virus (Trend Micro) that caused the error. When he disabled as I suggested (which I have a base of knowledge OR "Error 1722" article), the installation was successful.

    Thank you all until next time...

    Ed

  • Error launching of the ' LabVIEW.Application [error Code:-18001]

    Hello
    I have a TS 3.4 mind sequence LabView 8.21 - Teststeps.
    The sequence is called from a Labview-OperatorInterface.
    In a step that run 100 times before without problem I receive all of a sudden the error message:

    ErrorMessage: Error running substep 'run '. Unable to launch the "LabVIEW.Application" ActiveX automation server [error Code:-18001]

    After a restart of the software al NOR-everything works normally again.
    What is this error, and what should I do with it?
    Should I ignore the error and try to execute the step again or not this average tht the ActiveX server has been lost forever?
    How can this problem occur?

    Thanks for your help


  • How to connect USB-ERB24 devices to labview application

    Hi iam, iam new to labview application development using NIUSB-9421 as module input and USB-ERB24 in the output module. I have sucessfully added NIUSB-9421module to my application using 'Digital IO DAQmx create Virtual Channel.vi'. But cannot add this module USB-ERB24 iam. Can someone please tell me how to detect "USB-ERB24" this module for my labview application please tell me...

    I don't think that you will be able to use DAQmx with MCC USB-ERB24. You must run InstaCal (driver of MCC) to install the USB-ERB24 and get a card number for this unit (and build your application with the MCC screws).

    I have LV2009 and I'm not able to open your USB_ERB24_test.vi.  The attachment is for USB-ERB24.

    Jean-Marc

  • Can I convert a Lookout app in a labview application?

    We are thinkig here seriously for migrating to Labview. There is a complex application with Lookout 6.0 we want to convert a labview application. Having good Labview, is there a way to compile, open and save or convert enforcement Lookout in Laview application?

    Excuse my ignorance on the matter.

    Best regrads.

    Rudy

    Hi rudy,.

    The research forums very oftn gives an answer: http://forums.ni.com/ni/board/message?board.id=190&message.id=5193&requireLogin=False

  • run labview applications in web applications

    It's just a general request.

    I have a large collection of labview applications.  I would like to "web-ize" some of them, i.e. operate the façade in a browser and the logic of block diagram in a server.  There are many articles on the web site OR to this topic, but I find them confusing and free often contradictory.  Many of the items are old enough and can be updated.

    I have the following specific questions:

    1. I'm under Labview 7.1 on a Windows XP computer.  Do all the features I need exists in 7.1 or should I update?

    2. is it possible to do simply through the configuration options, or do I have to change the code or restructure demand?

    3. someone can tell me an article or a book with current step by step instructions to do what I want to do?

    4. is there anything that I would be the features of labview wary, specific that are problematic?  Performance issues?  etc.

    Just as I feared, but thank you very much for the clear answers and helpful tips.

    David

  • How a LabVIEW application can be run from the account invited in Windows 7?

    I want to do some of my labVIEW available visitors to temporary applications (no DAQ or involved external devices) in the laboratory. A natural choice would be the guest account in Windows 7, but if I try to run LabVIEW or one of my LabVIEW applications built, I get the following error message.

    I don't know that this can probably be fixed with a few permission settings. What is the best way to enable these applications running from the guest account?

    I think that the easiest thing would be to create another user account and set the permissions on that if guests are unable to get into the stuff you don't want them getting into.

    http://digital.NI.com/public.nsf/allkb/88F3CCEBB08AFA6D86257A00006F21D5

Maybe you are looking for