Subgroup of experts can pass events to the top-level event loop?

I'm working on a VI that may have up to 1000 controls (Yes, she really need that much).  To reduce the size of the user interface and increase the modularity of code, I partitioned design into subgroups that are loaded in tabs.

Subgroups are responsible for:

"VI reference to open"--> "invokes the method: Run VI '--> ' invoke the method: Insert VI»

(Sorry, I don't know how to incorporate images here, yet)

The upper level has some of its own controls in addition to the case of the Sub-group of experts, and it will be built on the design of producer-consumer model.  The loop of consumer manages the interaction with the hardware (write-only).  Each sub-group of experts will also have its own event loop to manage coordination of the user interface within the Sub-group of experts and also a preprocessing of data that results from the activity of the user within the Sub-group of experts.

Here's the problem: go in the subgroup of experts, how do I pass an event up to the top-level event loop so that the hardware access request can be entered into the queue of the consumer?

At first it seems I could solve this problem in two ways:

(1) rather than to use an Invoke node to insert the Sub-group of experts, is it possible to connect the frame of the Sub-group of experts against a VI that is instantiated in the block diagram?   If there is, I can simply use dataflow to bring jury secondary to the upper level events.   But for now, it seems there is no way to have a subgroup of experts except by using the Invoke node.

2) there is another way, that we have found, but this is an ugly hack. The reference to the 'Open VI' VI using, I use ' call method: control value: Get.  Gives me the value of a control in the Sub-group of experts, but there is no case of signaling, so I have to resort to polling stations, which slows down the user interface and breaks the model "Event Loop".

Y at - it of other ideas for how to get events from the Panel under treaty to the next level?

(of course, this isn't * all * the events we manage.)  The Sub-group of experts will actually a pre-treatment and then send only the selected events to the highest level user-defined)

Thank you and best regards,

J.

I have not used the secondary method before, so I can't save what I think with real experience.

But,

If the Subvi who is put in a secondary control on front panel for a queue reference, I think you'd be able to do the Invoke node to set the reference queue control before calling the functioning of the VI.

The other idea would be do not to have a reference of queue control to pass.  But use named queues and leave the Subvi in high school to create its own queue reference based on the same name that was created in the main VI.  When it ends, it could destroy its unique queue reference and not to force a destroy all and reference to the queue in the main VI would still be a queue works valid waiting for an another sub - VI at the secondary level to generate his reference to the same queue and sends the data in.

Tags: NI Software

Similar Questions

  • I can't 'click' on the top inch of any screen in the case of firefox. It won't let me sign in and out of some Web pages. This happens not when I'm on my desk or using IE. I like firefox, but it's frustrating. Help!

    I can't 'click' on the top inch of any screen in the case of firefox. It won't let me sign in and out of some Web pages. If I reduce the screen that disappears not or the other. This happens not when I'm on my desk or using IE. I like firefox, but it's frustrating! Help!

    Try Firefox SafeMode to see how it works there.

    A way of solving problems, which disables most of the modules.

    (If you use it, switch to the default theme).

    • You can open the Firefox 4, 5, 6, 7 SafeMode pressing the SHIFT key when you use the desktop Firefox or shortcut in the start menu.
    • Or use the Help menu option, click restart with the disabled... modules while Firefox is running.

    Do not choose anything at the moment, just use 'continue in safe mode.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before using the shortcut of Firefox (without the Shift key) to open it again.

    If it's good in Firefox SafeMode, your problem is probably caused by an extension, and you need to understand that one.

    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+themes

  • How can I link to the top a game PS3 controller to my PC so I can play a game on it?

    Hello

    How can I link to the top a game PS3 controller to my PC so I can play a game on it? I recently bought Bioshock for PC and I can't get my PS3 DUALSHOCK controller to work.

    Thank you!

    You can not, not with a PS3 controller. Well, there is a way but you will need to run an emulation of sorts and it is not native, so you'll need to understand on your own. Otherwise the xbox controller is native with Win machines, then you want to try this for a plug and play solution.

  • McAfee Security has blocked me from everything. I can still shoot to the top of my web page. How can I solve this problem?

    McAfee Security has blocked me from everything.  I can still shoot to the top of my web page.  I must now go under the sign of Administrative internet and my web page and all the rest I should have access to.  Can you help me?

    Get rid of McAfee and use a more user-friendly program Windows such as MSE.

    Microsoft Security Essentials
    http://www.Microsoft.com/security_essentials/default.aspx

    Correction of tool McAfee Consumer Product Removal triple
    http://service.McAfee.com/FAQDocument.aspx?LC=1033&ID=TS100507

  • How can I upgrade to the top of the answer to my question?

    Original title: case number 1160058532

    How can I upgrade to the top of the answer to my question?

    Hello

    Please provide information about the problem you are experiencing to help us solve problems.

    You can check the link that contains information on how to ask a question: http://support.microsoft.com/kb/555375

    For reference: how and when to contact Microsoft and Support Customer Service: http://support.microsoft.com/kb/295539

  • BlackBerry smartphones, I can't scroll to the top

    I can't scroll to the top and it is not a software problem, I am looking for another way to scroll to the top in my conversations

    To scroll to the top, try SHIFT + SPACEBAR. It should work specifically in the lists (like your messages folder), in emails and in the browser. I remember specifically in the case of BBM. But you can test.

    SPACEBAR = scroll down

    Shift + space = scroll up

  • Find a specific sublayer and pass to the top-level layer

    I have a lot of illustrator files which are organized by a model size. The layers are configured so that the top-level layer is always model. However the underlayment I need to pass to the next level could be called 42 border Pg or 30 border Pg or Pg 24 border.

    Y at - it a way for a script to search through the layers and if it finds '42 Pg border' or 'border Pg 30' or "24 Pg border" in the base layer model it it would move to the top level, but if he does not see an of these he does not give an error?

    I'm still new to scripting so the extent of my knowledge on this is to scan all the layers and unlock them. Then, find a specific layer name. This is the base layer and moving it to the next level that I'm not sure.

    Here is my current code:

    var doc = app.activeDocument;
    var allLayers = doc.layers;
    for (var i = allLayers.length-1; i >= 0; i--){
        allLayers[i].locked = false;
        if (allLayers[i].name == "42 Pg Border" || allLayers[i].name == "30 Pg Border" || allLayers[i].name == "24 Pg Border") {
            alert("I found the " + allLayers[i].name + " layer")
        } else {
            alert("Not the right layer")
        }
    }
    

    Any help would be greatly appreciated!

    I'm using CS4 on a PC running Windows 64 Bit with JavaScript

    This gives a shot.

    its still very early and my brain completely does not work yet.

    bring all the layers in the beginning (May) will ruin the stacking order much.

    var doc = app.activeDocument;
    var allLayers = doc.layers;       
    
    for (var i = allLayers.length-1; i >= 0; i--){
      allLayers[i].locked = false;
      deeper(allLayers[i]);
    }    
    
    function deeper(parent){
    var subLayers = parent.layers;
      if (subLayers.length > 0){
      for (var i = subLayers.length-1; i >= 0; i--){
      subLayers[i].locked = false;
      deeper(subLayers[i]);
      if ((subLayers[i].name).substr(-6) == "Border") {
         subLayers[i].move(allLayers[0],ElementPlacement.PLACEBEFORE);
      }
      }
      }
    }
    
  • How can I load to the top of some adobe Reader format on my iPad in my cloud of Adobe Creative?

    How can I load to the top of some adobe Reader format on my iPad in my cloud of Adobe Creative?

    There is no downloading files from an iPad app in the cloud of Adobe creative, and the iPad security model does not allow for the downloading of files from the browser. To touch Adobe applications provide synchronization until the creative cloud but none of them are really designed to work with pdf files.

    You can connect your iPad and move the files to your computer. From your computer, you can download files via a web browser.

  • MenuBar navigator - the top-level node are clickable

    I use a browser from the menu bar in the application of mu.  The data for the menu from an XML file.  The menu contains the top-level nodes, but also of subnodes.  All the nodes under work as expected.  I can click on the node and the action runs.  However, none of the top-level nodes have no subnodes do anything when you click it.  I need these nodes also be clickable and enforcement actions, as do the subnodes.  Is there a property in the menu bar control that I put?

    Thank you!

    Try this

    http://www.Adobe.com/cfusion/CommunityEngine/index.cfm?event=ShowDetails&ProductID=2&postI d = 12506

  • Remove the top bar in the top-level navigation page

    Hello

    Is it possible to disable the top with Burger icon bar in the top-level navigation page and make it appear only served as in the articles? I thought that it was an option, but I can't seem to find anywhere in the dashboard or in tutorials.

    Thank you!

    Hi Jenn,

    There is no option to remove it when you're on a navigation page.

    Neil

  • OBIEE BI answers: measures bad aggregation at the top level of the hierarchy

    Hi all,
    I have the following problem. I hope to be clear in my English because it is somewhat complicated to explain.

    I did following:

    ID of drugs classified in quantity
    1 9
    2 4
    1 3
    2 2

    and drugs following table:

    Drug brand Id brand Description drug whose active ingredient Id drug whose active principle Description
    Aulin Nimesulide 1 1
    2 Asprina 2 Acetilsalicilico

    In AWM, I've defined a Dimension of drugs based on the following hierarchy: drug whose active ingredient (parent) - brand name of medication (sheet) mapped as Description:

    The active ingredient of drug = drug Active ingredient Id of my Table of drugs (pharmaceutical = Description of the active ingredient LONG DESCRIPTION attribute)
    Pharmaceutical brand Description = drug brand Id of my drugs Table (LONG DESCRIPTION = Description of drug brand attribute)

    Indeed, in my cube, I have traced pharmaceutical leaf-level brand Description = Id of the drug of my fact table. In AWM drugs Dimension is mapped as Sum aggregation operator

    If I select on answers drug whose active ingredient (parent of my hierarchy) and the quantity, in my view, after the result

    Description of the active ingredient drugs classified in quantity
    Acetilsalicilico 24
    Nimesulide 12

    indeed of the correct values

    Description of the active ingredient drugs classified in quantity
    Acetilsalicilico 12
    Nimesulide 6

    EXACTLY the double! But if I dig drug Description of the active ingredient Acetilsalicilico I can't see correctly:

    Drug whose active ingredient Description pharmaceutical brand classified in quantity Description
    Acetilsalicilico
    -12 Aspirina
    Total 12

    Aggregation of evil is only at the top level of the hierarchy. The aggregation on the lower level of the hierarchy is correct. Perhaps the answers also amount Total line? Why?

    I'm frustrated. I ask your help, please!

    Giancarlo

    OK your on 10G but the view of the cube and the obligation to limit the levels in the LTS in the RPD is valid in both.
    I think we found the problem,
    Go to each source logical table this logic table (x 2 in your case you have two levels) and on the content tab, window background ' use this "Clause Where" filter to limit the rows returned. »
    Open the expression builder, locate LEVEL_NAME according to your cube and limit accordingly, it is to say LEVEL_NAME = "BRAND_DESCRTIPION" for the aggregation BRAND_DESCRIPTION LTS and LEVEL_NAME = "XXXX" in detail, SFF, where XXXX is the name of level of hierarchy in your cube for details (leaves) records.

    Can you try that and let us know?
    Thank you
    Alastair

  • Find the top level of a VM folder

    I want to find the name of the top-level folder that contains a virtual machine in a data center and looking for the root tree.

    For example \\datacenter\folder1\folder2\folder3\TestVM

    I try to find as a parameter of the TestVM folder1.

    I need to sort all the VM in our sphere of their top-level folder

    In all cases to do this would be appreciated.

    Also it would be quite in powercli with scripts

    Try something like this

    $vm = Get-VM -Name TestVM$object = $vm.ExtensionData$parent = Get-View $object.Parent
    
    while($parent -is [VMware.Vim.Folder] -and $parent.Name -ne "vm"){    $object = $parent    $parent = Get-View $object.Parent}$object | Select @{N="VM";E={$vm.Name}},    @{N="Top Folder";E={$object.Name}} 
    
  • Exit on the top-level shape does not work.

    Hi I have 10g deployed forms on the web.
    On the top-level form, there is an exit to this topic button.
    And for this form, under ALERTS, I have two alerts: QUIT_ALERT and BANNER_ALERT.
    Now when I press the EXIT button on the form, nothing happens. Prompting the ALERT and close the FORM.
    Where and what could be the problem?

    I have the following code for the exit button
    IF G$_DISPLAY_ALERT('QUIT_ALERT','Do you really wish to quit?') = ALERT_BUTTON1 THEN
    EXIT_FORM;
    END IF
    And the function G$ _DISPLAY_ALERT a following code
    FUNCTION G$_DISPLAY_ALERT(ALERT_NAME IN VARCHAR2,
    MSG_STRING IN VARCHAR2) RETURN NUMBER IS

    ALERT_ID ALERT;
    AL_NAME VARCHAR2(30);
    ALERT_BUT NUMBER;

    BEGIN
    IF ALERT_NAME IS NULL THEN
    AL_NAME := 'G$_WARNING_ALERT';
    ELSE
    AL_NAME := ALERT_NAME;
    END IF;
    ALERT_ID := FIND_ALERT(AL_NAME);
    IF ID_NULL(ALERT_ID) THEN
    RAISE FORM_TRIGGER_FAILURE;
    END IF;
    SET_ALERT_PROPERTY(ALERT_ID, ALERT_BUT, MSG_STRING);
    ALERT_BUT := SHOW_ALERT(ALERT_ID);
    RETURN ALERT_BUT;
    END;
    Published by: Charlie on March 30, 2011 14:01

    Hello
    What happens if you change

    SET_ALERT_PROPERTY (ALERT_ID, ALERT_BUT, MSG_STRING);

    for this

    SET_ALERT_PROPERTY (ALERT_ID, ALERT_MESSAGE_TEXT, MSG_STRING);

    ?

    -Clément

  • Where is profile file of the Thunderbird location so that I can pass it before the upgrade from my computer?

    I'm quite confused by the instructions online. I'm getting a new computer and I want to save all my emails on a shared drive or an external drive. How can I do? I can not even find the file or the database! It's so easy to do with Microsoft Outlook. What happens with Thunderbird that it is so hard to understand? I'd appreciate any help. Thank you, Michael

    Help menu select troubleshooting information

    Click on the button that says RECORD SHOW

  • When I open Tools/Options page opens where I can't get to the top

    Tools
    Options

    the page opens where I can't access the buttons at the top of the page

    Can you please provide a screenshot?

    https://support.Mozilla.org/en-us/KB/how-do-i-create-screenshot-my-problem

Maybe you are looking for

  • How to completely turn off Firefox update reminders?

    I don't want to upgrade callbacks. At any time. Never.When I decided to spend some time in the future, I will use the manual upgrade.How can I do?Thanks in advance.

  • Comments in Yahoo News! is gray?

    I use Firefox 9.0.1 and can't comment on Yahoo News! Articles. It is all grayed out.

  • Table 1 d do not fill

    In this example,. If I leave the index entry open to insert it in table VI, my first record is placed. If I bind the index value of the current record of extraction processing,. the table does not. My input stream is 30 000 records, multi-read 150 ti

  • M553dn: Pink lines printed on m553dn

    Printer worked great for the first few days. Now, I'm getting roses (magenta) lines in all of my pages. Cleaning does not help. A full calibration allows it, but even after that, I always get some pink points. I print no more than a few pages at a ti

  • Windows Mail blocks when you try to open 1 email. Cannot delete since crashes when I have the email matches.

    My wife sent me an email with the content of the site Web of United Airlines.  Trying to open it, my windows mail crashes.  I can't delete because when I highlight the email it will automatically try to open it. I have Windows Vista home edition. Tha