How can I control a .vi another State machine?

I've written a VI which is an event focused on the state machine.  Events are operator actions that take place on closing buttons on the front panel.  Each event features one or more state names on the queue of the State.  A state machine then takes the name of the State off of the queue of the State and use them to open the case, containing the functions to be performed... Now comes the desire to interact with this vi programmatically to an another vi.  Given that events cannot be triggered remotely because the keys are of type lock and cannot be manipulated by the property node (value (signal))... Is it possible to add a name from State to State in Quebec to distance... ?  It would be nice.

I prefer not to add the buttons 'hidden' for the original vi, or perhaps to change the structure of the event.

Is there a better way...?

Hummer1

You use 'Get in line' with the same name in the other VI or using a functional Global Variable to pass the reference of queues for the other VI.

Then you write the State via 'Element of the queue' names as you would in the VI containing the state machine.

Tags: NI Software

Similar Questions

  • How can I control a button from a swf file to another swf file?

    Hello

    I have a file main.swf . From this file I can access the file external.swf which is an external file.

    Now, how can I write code on my file main.swf to the button that is on my external.swf file?

    Activities.MainPanel.close_btn.addEventListener (MouseEvent.CLICK, btnClickClose);

    Activities.MainPanel.close_btn (This button is actually the external.swf file, but I want to write code on main.swf file to run it on external.swf) How can I control a single swf in another swf file button?

    Thank you.

    Some examples of code that you should be able to adapt to your needs.

    create a new instance of the loader object.

    var loader: Loader = new Loader();

    make the download request...

    var request: URLRequest = new URLRequest ("external.swf");

    Add a full event for the loader listener

    loader.contentLoaderInfo.addEventListener (Event.COMPLETE, completeHandler);

    start the actual loading process...

    Loader.Load (request);

    Create a new empty movieClip instance, you place the movie loaded into this movieClip after loading

    var externalMovie:MovieClip;

    This function is called when the download is complete and the file is ready for use.

    function completeHandler(event:Event):void {}

    set the contents of the film to the new empty movieClip...

    externalMovie = MovieClip (event.target.content);

    Add this new film to the display list.

    addChild (externalMovie);

    }

    Now you can reference the film loaded with the name of the instance 'externalMovie '. So if, for example, you want to address a button in the film loaded, you can write something like that on the main timeline:

    externalMovie.addEventListener (MouseEvent.CLICK, btnClickClose);

    function btnClickClose(event:MouseEvent):void {}

    }

  • How can I control the list of the available in the message SSL Client Hello cipher suites? I want to ban the MD5 and RC4.

    How can I control the list of the available in the message SSL Client Hello cipher suites?
    I want to limit my browser to negotiate the cipher suites fort. I would like to prohibit, MD5 and RC4.

    Set the SSL3 preferences related to false on the subject: config page (filter: security.ssl3.).

  • How can I download and have another language?

    Hello

    How can I download and add another language to those on my laptop without the windows disc?

    Hello

    Only Windows 7 ultimate or Windows 7 Enterprise Edition can have:

    https://support.Microsoft.com/en-AU/KB/972813

    What is yours? You can follow the instructions to download.

    Kind regards.

  • How can I control the working time so that the loop structure in the cases where the structure?

    Hi all

    My job is: Loop While structure generates the signal for 4 seconds when you press the 'start build' button, after that data has been backed up. You press the button "generate the beginning' once again, and the loop runs one again.

    My problem is: the first pressing, the loop, exactly 4 s (3, 999 s), but him second, third pressing on... The time elapsed is not 4 seconds, always smaller (even ~ s 0.003). The loop works correctly after press the "Exit" button and launch the program again.

    How can I control exactly time loop work While Structure without the press "Exit".

    Thank you any help!

    P/S: I used the number of cycles (ms) just to look at a working time of the While loop.

    NMCuong

    This shows a quick solution

  • How can I control the Tasbar? It is always in sight and blocks the screens of other programs.

    How can I control the Tasbar? It is always in sight and blocks the screens of other programs. Using Windows 7 and Microsoft Security Essentials. "Lock the taskbar" is checked and "Auto-hide the taskbar" is checked. Help, please.

    Taskbar will appear to take with you when you either come from anywhere near the bottom of your screen or a security alert is displayed.

    The best I've found is to use the fullscreen with F11.

  • I have a small C: drive. For children for the Adobe programs. How can I install it on another disk?

    I have a small C: drive. For children for the Adobe programs. How can I install it on another disk?

    Change for Applications installation location

    With the application of CC open, select the gear icon in the upper right, and then choose Preferences.  In the preferences of the screen select creative cloud and then look for the drop-down list installation location

  • I paid for Photoshop CC and installed it on a computer - how can I install it on another machine?

    I paid for Photoshop CC and installed it on a computer - how can I install it on another machine?

    Thanks for any help

    Denise

    Hello

    You can visit https://helpx.adobe.com/creative-cloud/help/download-install-app.html to download.

    Hope this helps!

  • How can I change the 'Submit' button States in muse adobe?

    How can I change the 'Submit' button States in muse adobe? Currently, I can only change the color, text, and the outline of the button, but I can't customize it as I have the other buttons in the tool.

    Use your images as a background the button fill

  • How can I add Lightroom to another account on the same computer mac user?

    How can I add Lightroom to another account on the same computer mac user?

    If you have installed normally he is already there. Simply go to the folder applications and double up until it clicks.

  • I want to get multiple clips horizontally through the frame, how can I control the speed at which the move?

    I want to get multiple clips horizontally through the frame, how can I control the speed at which the move?

    And the second

  • How can I control what FEED my CC from Adobe to?

    How can I control what FEED my CC from Adobe to?

    I did it!

    The cloud control creative program location

    CC App - file locations

    > Open creative cloud App (Image below)

    > Right click on it (gear, drop-down) (Image below)

    > Select and click on 'Preferences' (Image below)

    Applications TAB >-install Locatotion (F:\Programs)

    The files tab >-location of the folder (F:\)

    There you GO! (Image below)

    Useful links of video

    https://helpx.Adobe.com/creative-cloud/help/install-apps.html#download and install applications

    Download, installation, setting up

    How to properly set up the SSD as boot drive and the HARD disk as disk storage - YouTube

  • How can I control how the images sit in the copy?

    How can I control how the images sit in the copy? I don't like how the copy runs around my images. The spacing is uneven.

    http://www.longstafflongstaff.com/about.html

    If you float a container, you should give a specific width (see red code below). I don't know why the top image works without a width applied - may he just happens to work because of the place, it falls into the code.

    http://www.longstafflongstaff.com/images/aunties.jpg"alt ="aunts"width ="343"height ="241">

  • How can I control the image preview of Facebook?

    Help!

    How can I control the preview image that is displayed when the link is shared on Facebook?

    Tried to add the snippet under the <>head, in the html view of the page in Business Catalyst... with no luck.

    Use the Opengraph tags, please refer to the following thread - http://forums.adobe.com/message/5137786#5137786.

    Thank you

    Vinayak

  • When you open a Photoshop file with Bridge, how can I control what version of Photoshop, the file wil

    At the opening of a bridge of fthrough Photoshop file, how can I check which version of Photoshop, the file will open in?

    I store my PSD files that is adjacent to the original RAW file which it originates.

    If I open the folder and double-click this PSD file, it opens to the CS6. But, if I use the bridge (CS6) for access to and open the same file, it starts by is Photoshop CS5 and then opens this file PSD in CS5.

    How can I control which Photoshop will open a file then choose to open it through Bridge?

    Interesting, but it does not give any idea what I'm supposed to do. No Photoshop ducuments listed.

    Look at the PSD file on the location of Curt and Photoshop Document research. Beside him ideally should show Adobe Photoshop CS6 if you have Bridge open CS6. Click to provide the fly on the menu and choose the correct Photoshop from the list.

    But probably something went wrong with your installation. By default, Bridge chooses the latest version of PS to open its plug in.

    Maybe reset preferences may also help you. Can you provide more details about the version of the OS etc.

    And you have a good reason to keep your Raw and finalized in the same place files. Personally I put them aside and use a convention of appropriate filename (YYYYMMDD and details) so I can easily search the DNG files in my archives if I needed, but I don't make mistake by opening a bad

Maybe you are looking for

  • How can I Tog the side bar

    Hello I was wondering if there is nothing how can I Tog the left sidebar in iTunes just as in Safari, this solution here or can I download a mod or something for it?

  • How is - what raise you a number to an exponent

    I see in the mathematical functions as a stimulus by a power of 2 x.  There must be a better way to do x ^ y to have to write a script. Help, please. Thank you.

  • System restore failed: no changes made to the computer (Windows XP sp3)

    Hello. When I use the system restore, the program looks good until you restart. Next, I get a Sys Res window that says simply "system restore was not entirely successful. No changes have been made to your computer. » The help file repeated that the S

  • MD3220i - virtual drives Windows 2008 offline

    After installation of the MD3220i and the initiator configuration iSCSI, I see the LUNS from storage but they are offline and I can do something with them. Any help?

  • Windows live Error 0x800ccc0d mail after security update

    Can't send or receive messages on behalf of the Vertical. The host 'mail.xxx.com' is not found. Please check that you have entered the server name correctly. Server: 'mail.xxx.com '.Windows Live Mail error ID: 0x800CCC0DProtocol: POP3Port: 110Secure