Control an event in an another executable executable

Looking for ideas of the experts:

I want to create two executibles, one is an image capture application (App1) and others (App2) is specific to a test that we are to perform.  I want to be able to do is trigger my activity image capture (or change the status of a boolean) in of App1, App2.  App1 must be a stand-alone executable, such that it is used for many other tests we perform.  App2 may be may different applications that are written for a specific test.  Both applications run on the same computer.  As I am the delveloper of applications I can add whatever is needed to make this work.

Thank you

Terry Sopkow

Oops.  This original .zip file had an old incorrect version of the file .lvproj.

Here, it is with the good .lvproj and resized to LV11.

Tags: NI Software

Similar Questions

  • problem with tab structure control and event

    Hello

    My program has a tab control. In each tab, I have an event structure to control some events.

    I encountered some problems. These are:

    1. in each tab, I set tab as an event control, to altogether from the structure of the event as tab change (for example, the image below). My first problem is that when I change the tabs, in the arch depending on whether my program is entered in the next tab environment, happening at the event: change value to main tab! And gives bad result.

    2 - I've scheduled two final tabs as below in the image. I had no routine in these two tabs. Simply, I want when I change the tab, it goes to the next case of the tab control. But when I run the program, it goes to something as busy after one or two changes tab and did not work properly.

    Could someone help me please?

    Thanks in advance

    Baran

    Rebecca wrote:

    I want to have 4 tabs, each tab having 3 Boolean control.

    If in each tab all Boolean control wins 1, a Subvi should be run.

    I wrote this code with some time within each tab loop this case hase 3 for each Boolean control. The result is true.

    But I think that if I write it with a structure of the event within each tab instead of 3 cases, the cpu load will be lower.

    Is it not true?

    Make a unique Structure of the event.

    Add events for all controls (buttons, Boolean)

    When the event is triggeredcheck for active tab control and decide what void / vi to run

    It will work fine you

  • control port is occupied by another program__

    When windows Vista loads yet, I can dial in my internet software, but if windows vista gets full load, I can not dial in the internet software and get the message "the control port is occupied by another program.

    Thanks Diana

    After a lot of testing, I came to the conclusion "Com4 Qlb - program HP" is causing this problem, and for now I have disabled this service program. What to do next? How will this affect my computer?

    Rgds

    Ganesh

  • Using VI Server to check whether another executable LabVIEW is running

    Hello to you all, helpful people.

    I need to have a single executable check LabVIEW if an different LabVIEW executable is running.  The simplest way to do seems to be to ask Windows if the name of the executable runs.  A good thread is here.

    However, this requires the use of a tool (task list) that does not exist on all Windows operating systems I need support (all flavors of XP, Vista and 7).  In addition, even if I found an equivalent for each OS, I need to make sure that they continue to work and update my program whenever a new OS was released.

    A much better solution would seem to be to use Server VI in LabVIEW, so it is cross-platform.  However, despite reading over my printed manuals, by reading lots of subjects in the electronic manual, scanning through the forums and make some limited looking for a manual on the Web site of NOR, I still can't understand the basics of the implementation of a communication server VI between two executables.  It's very frustrating, because I'm sure it's a simple task, but I can't find the right instructions.

    A lot of instructions to configure a server VI say to go to tools-> Options-> VI Server: Configuration and enable the TCP/IP option.  Which seems exaggerated, if I only need communication on a local computer, but ok.  However, in other places told me that this sets the default settings for the instance of the main application (another subject I am still unclear on), so how does it apply to my existing LabVIEW project?  My current project is an executable, and I thought I would create a new build for the second executable specification.  Executable has all my existing code, while B executable would have just a reference VI available server ping, in order for an executable say if it is running.

    So I built executable B, and I joined his VI for your reference.  Deciding that the VI settings programmatically server configuration will be more comprehensible, I put options that seemed logical: a unique TCP Port number listen to Active = True, TCP/IP access list = IP Address of my computer and the executable = B.vi VI access list.

    In my test executable A.i, which I use to this get up and running before changing my main code, I use Open Application references with the IP of my computer, the unique port number and a short timeout.  I hooked up to a property App node to determine if I get the correct connection.  All I really need is to check the name of the Application and I'm good.  However, I keep getting 'LabVIEW.exe.

    If anyone call tell me that I forget in this simple configuration, I would be very grateful.  Some basics on something else I'm missing about how works the server VI, how the tools-> Options from the settings relate to all, etc., would be a big bonus.  Eventually I'll need a way to specify no IP address of the computer (or a way to interrogate LabVIEW), so I can broadcast these two executables on any random PC.

    Thank you in advance for your help!

    -Joe

    P.S. in the preview window that all of my text has run together; I hope sincerely that is not happy when he published, in particular given its length.  If so, I apologize!

    The application ini file should contain the following line:

    Server.TCP.Enabled = True

    Not to mention that this is a better way to see if your inside an executable file:

    Tone

  • How to control a VI (with a while loop and a structure of the event) from an another VI

    Hello

    I have the main VI which I want to be driven from an another VI. But I can't do that and I don't know what is happening.

    For example: VI main, I have a while loop with a structure of the event, there is a Boolean controller controlling a Boolean LED, which is inside the structure of the event. And the other VI, there is just a Boolean controller and functions of applications to open the main VI.

    How can I control the Boolean LED in VI main, changing the State of the Boolean controller in an another VI?

    Thank you.

    There are different options, but depending on what you want to do. For this example I can't give you a specific solution.

    I do not understand why you do what you do. Why do you call your 'principle VI' dynamically? What is the advantage to do? There are also other ways to call a VI dynamically, based on real cases (for example the method "call and forget", etc...).

    In you principle VI, control you Boolean ("THATCHER") is not the case of corresponding event. This is not usually a good practice, keep it inside.

    Also, why you try to communicate with the caller and callee VI through such a way to twist? There are better ways to do it.

    In one of my projects, I use the user event to launch orders in case of case of appellant VI.

    some Associates more readings for you:

    http://www.notatamelion.com/2015/03/23/how-to-make-dynamic-subvis/

    http://forums.NI.com/T5/LabVIEW/Dr-Damien-s-development-event-structures-III-communicating-with/m-p/...

  • Can I activate a structure of the event with an another VI control

    I need activate an event structure in a VI with a change of value with an another VI control event. The code is included in the pictures, you can see in this post, and the variable stop is the control that should activate the structure of the event since another VI.

    .

    The code is on other forums of discurssion and is made by Randall Pursley (rpursley8).

    See the link: http://forums.ni.com/ni/board/message?board.id=250&thread.id=43960

    kiftren wrote:

    Hi to determine,

    Sorry, I can´t to open your archives because I use LabVIEW 8.2 and LabVIEW 8.5. Can you give me the image of the code in your screen in one archive .jpeg?

    Thank your for your help to determine.

  • How to raise events from within an event to an another event-structure

    Hello

    I have two events-structures (struct1 struct2) that are running on the same parallel of time in a loop.

    Currently there is a keydown event in struct1, so when I press a button, then the corresponding event runs in struct1.

    STRUCT2 is used to execute a custom-Petite runtime menu entries.

    What I want to do is to choose a menu entry (which runs a struct2 event) and the of inside this event I want to trigger an event in struct1 (means simulates keypress?).

    Is this possible?

    Thanks for the help

    Use the event to the button, not the keydown event.

    Then in the second structure of the event, use the Value property (signs) of the ok button to trigger the value Change event.

    Felix

  • Satellite C660 - WLAN is controlled by application of vender another

    Hello

    I have the Toshiba Satellite C660-1HU and I can't log to the server of the free Wi - Fi connection. He shows me the names of Wi - Fi but when I try to log in it shows me this 'request to sell another control the wireless adapter.

    Help please?

    Check it please your first thread under http://forums.computers.toshiba-europe.com/forums/message.jspa?messageID=290153 and continue the discussion.

  • Control an event in a Subvi

    Hi all

    I have a main VI and a Subvi (somewhat complicated one) that works with a structure of the event.

    I need a way to bind a button (the trigger) in this case VI to a button in my main VI.

    I know there isn't an easy way to do it, and I'm a newbie when it comes to references.

    I tried globals, but that doesn't seem to work...

    Can someone help me by telling exactly how can I combine two buttons together (from different VI), so that this will change the specific event (the button is a value Boolean btw)

    THX in advantage!

    What a mess!

    1. try to keep the size of your diagrams in a single screen.  Scroll around to see what's going on is understand (and troubleshoot) a very difficult VI.

    2. get rid of local variables. They break the flow of data, can create race conditions and it is difficult to say what the program does. The WIRE is the variable.  Controls and indicators (and local variables associated with them) are simply the user access point to the value of a variable (the WIRE).

    3. the main program has 3 endless loops running in parallel.  At least one of them has no delay or expected and likely to monopolize the CPU resources.  How to stop this program?  Someone on this Forum said, "Stop a VI using the Abort button is like stopping a car by running it in a tree." It works, but it has (unintended) consequences.

    4. the AVS_Main.vi has a 10 sec wait in the tiny structure which runs in parallel to the structure of the event.  This will make things very insensitive to events.

    5 sequence structures are almost always useless. Stacked sequence structures must be avoided because they hide code, are difficult to extend or change and lead to a right to left wiring.  Use the data flow.  Use a state machine.

    Now to the point of your question.

    6. If it is possible to put in place a structure of the event in a Subvi to respond to the actions of the user on the main façade, it would probably be best for you to have the structure of the event in a loop of its own in the main VI.  Look at the design of producer/consumer model (events).

    I can't be sure that your program is supposed to do, I think it can be done with two while loops in a producer/consumer model, without sequence structures, local variables and not larger than a screen of diagrams.

    Lynn

  • Update controls with events

    I'm getting to do a settings editor window that has several groups of settings that can be edited and saved.  The settings are loaded and saved on a Bay of clusters.  The window uses a shift register to store all changes and then you can save at the same time when you are ready.  The problem I see is that if I change a value and leave the cursor in the control, and then a new group he will not read this new value.  I understand that you should put the control that you want to play in the same event, but the problem is I want to be able to read this control with several events and it makes sense to have the control outside the structure of the event.  I have attached a sample vi of what I am trying to accomplish.  I'm relatively new to labview and learning I'm leaving, so any help would be appreciated. Thank you


  • Save the selected value from the ListBox with its respective values control tab dropdown selected in another list box

    Hi all

    I'm doing a vi where I save the selected value from the ListBox with values respective tab control dropdown selected in another list box. Whenever I select Item1 can change of course and the respective tab will be open for this element. But now I want to just save the selection and put it into another ListBox.SO I can't renmove or add my wishes. Please help me.

    It will work.

    Probably not the greatest solution well.

  • How to control change the entry of another list?

    I use LabView 2010 and you want to create a custom, control in which there are two controls of ring (among others).

    The options displayed in a menu of ring must depend on which option is selected in the menu other ring.

    How do I?

    I love your attitude! Go ahead!

    In case you change your mind, attached shows a simple path for a solution - he is not joining the service in the control, but it would be futile to transfer from one application to another. As Bjorn says you might want to read in strings in a file as an alternative to wire them as constants in the vi.

    Ian

  • Error service Control Manager Event Id 7026

    Service Control Manager error - the next time you start Event Id 7026 or starting system (s) failed to load: __Lbd (I see this error message in the system event viewer when connecting). The full message of MS is below.

    Details
    Product: Windows Operating System
    ID: 7026
    Source: Service Control Manager
    Version: 5.2
    Symbolic name: EVENT_BOOT_SYSTEM_DRIVERS_FAILED
    Message: The next (s) starting or starting system could not load: %1
        
    Explanation
    The specified drivers not been loaded properly. The driver is not in the expected location.
         
    User action
    Do all the following:
    Verify that the drivers are properly configured.
    Check that the computer is running the latest version of the drivers.

    Unfortunately MS did not say how to do this, just to make - not all that useful. How can I solve this exactly?  Any help will be greatly appreciated.

    Hi Bantam,

    In Event Viewer, do you think the list of specific drivers as well as the error message?

    You can follow this link to update the drivers on your computer:

    How to manage devices in Windows XP?

    Hope the helps of information.

  • How to add an event listener to another window Native air

    Hello

    Anyone know if it is possible to add and event listener to a button created in another class.

    Basically, I create a save window with yes/no choice and the response must be returned to the window called the class to create this window.

    Note I have a save yes / no windows, so it must be accessible to the other windows that is created in it's own class

    Thanks in advance.

    It works very well, such a simple solution...

    Import as_files.confClass;
    var conf:confClass = new confClass();
    CONF. Win ("save this test")
    CONF._btn2.addEventListener (MouseEvent.CLICK, noFunc);
    function noFunc(event:Event):void
    {
    trace ('NO')
    }
    CONF._btn3.addEventListener (MouseEvent.CLICK, yesFunc);
    function yesFunc(event:Event):void
    {
    trace ('YES')
    }
  • trying to remove a listener event defined in another clip

    Hello

    I'm in a movie clip and you want to remove an event listener defined in another clip

    the following code does appear an error

    TypeError: Error #1010: a term is undefined and has no properties.
    at GemoroBovoMetzia23b_fla::Draw_Tool_7/toolsbtn()

    In my toolsbtn function so I wrote the following code does not work

    Object (root).slides_mc.help_btn.remove.EventListener (MouseEvent.CLICK, Object (root). PresentationHelp);

    Can someone advise me on this?

    Thank you

    Aron

    Remove. EventListener should be removeEventListener

Maybe you are looking for

  • How can I disable the clicking sound while typing?

    I would like to know how to disable the small click that occurs when I hit.

  • HP g42-415dx: I forgot power on password hp g42

    Hello My son put in place a power on password on HP Pavilion g42-415dx he remembers, when you enter the password so called 3 times gives us a number 56594956. can you help us? Thank you Tom

  • idea

    I have a great idea for microsoft. How can I send it?

  • Spilled Coke, not too loud low speaker

    As the title suggests, I spilled coke all over my phone. The phone screen still works, but I noticed that the low speaker is much milder than the speaker at the top of the page. I know the imbalance in volume is not because of the lollipop bc update,

  • With the help of old Signature with BB10 keys

    Hello I used to develop applications for the former BB OS (for example OS 7). Can I use old signing keys to sign BB10 apps? If the answer is Yes, where can I find my .csj files? If the answer is no, and I need to request new keys, I still be able to