Programmatically create new consumers in a MANUAL

Howdy, I am struggling with a concept for an installation of BAU.  Say I have a main VI consisting of one producer and single consumer sharing a queue, which can be filled in entries/actions of the main front of the VI.  Convening of reentrant under reference screw consumers live each of them open their own front panels and run their own QMD, or other machine state until closed by the user.  It occupies the main VI consumers until the responsible VI is closed, as consumers waited for the release of the call by the reference node, even if the called VI have not may not be output.  So the main VI would be able to queue more elements, but these elements would not be executed until execution of the first element is complete (the called VI), and an additional contribution of the façade of the main VI not would not be executed as long as the new face before a was closed.

To resolve this problem, I thought adding more consumers (with the same subsidiary screws) to the same producer, creating new queues for each consumer, and then when a new item is added to the structure of the event in the producer, he wondered each queue looking for a queue (and thus a consumer) that contains zero element in queue and adds the new queues.  This should ensure that in case of more great events of façade VI, they would run even with another open front.

But this means I can have only as many windows open as I do in my VI main consumers.  My question is, is it possible to call a VI so that it does not occupy the while loop containing his appeal through the reference node until the front panel of the VI called is closed?

Thank you in advance!

Also I just tried it. Setting of the façade open when a property called on a VI is not enough. You must explicitly open it with an invoke node. And you must specify the reference open VI it is reentrant, even if you have the reentrant VI properties.

Tags: NI Software

Similar Questions

  • Programmatically create an appointment: missing variable in the container of result

    Hello world

    For my purpose of tests, I need to programmatically create a sequence. In this sequence, I need to insert steps from Rendezvous.

    Everything works very well when they are created, but when I run the sequence / stages created this error always appear for the appointment stage:

    • Unknown variable 'TimeoutOccured '; Error in the item "Result.TimeoutOccured".

    According to using TS, this variable must be created when I set up stage of the operation to date. Drag and drop step of inserting TS palette works very well, and the variable is created when you select the operation "appointment". But when you do the same thing through programming, the variable is not created.

    Here are the steps performed to create the Appointment stage:

    1. I have create a new step by using the Engine.NewStep method

    2. I put the name of the step using Step.Name

    3. I put the properties of an appointment using a statement (Parameters.BranchesRendezVous.RDVStep is the variable holding the reference of step):

    • Parameters.BranchesRendezVous.RDVStep.AsStep.Operation = 1, //A value that specifies the operation of the step to perform. Valid values are 0 = crΘer, 1 = Rendezvous and 2 = Get Status

    • Parameters.BranchesRendezVous.RDVStep.AsStep.NameOrRefExpr = Parameters.BranchesRendezVous.RefName, //Contains the expression name Rendezvous for operation of creation and expression name Rendezvous or reference for all Rendezvous operations

    • Parameters.BranchesRendezVous.RDVStep.AsStep.TimeoutEnabled = False, //The Timeout allowed for the operation of Rendezvous

    • Parameters.BranchesRendezVous.RDVStep.AsStep.ErrorOnTimeout = True, //The Timeout causes Run-Time Error for the Rendezvous operation

    • Parameters.BranchesRendezVous.RDVStep.AsStep.RendezvousCountExpr = Parameters.NbBranches, //The expression number of Threads by appointment for the create operation

    • Parameters.BranchesRendezVous.RDVStep.AsStep.Lifetime = 3, //A value that specifies the lifetime setting to use for the create operation. Valid values are 0 = same as sequence, 1 = even as a thread, 2 = use reference object, and 3 = same as execution

    1. 4. then I insert the step in my current sequence by using the Sequence.InsertStep method

    Everything works fine, the appointment stage is perfectly created and all the properties are set finely. However, the TimeouOccured variable is missing in the container Step.Result (help says TS that this furniture exists when the step is configured as a date (see operation = 1)).

    I'm doing something wrong somewhere? Why did this variable missing?

    You probably need to create the property programmatically using NewSubProperty().

    -Doug

  • Cannot create new pages in update Muse

    I've updated to the latest version of Muse this morning, and now I can't create new pages to my site, either by duplicating a page or by clicking on on signs of hand and on the other an existing page +. It's big enough (~ 150 MB), but I have not had this problem before. I rebooted my computer and saved new versions of the site after it has been converted, and nothing has worked.

    Can anyone help? Thank you!

    In this case, I think someone Muse team should repair your site.

    If it is not too large, you can manually rebuild the pages and copy & paste the content from the old to the new site.

    That good luck!

  • How to programmatically create an instance of the target

    Is there a way to create an instance of the target programmatically. Basically, I have a goal which, in the addition of the target manually, create and instantiate a subtarget including metrics gives the availability. Is there a way in which I can programmatically create an instance of the target.

    I felt the portions of automatic detection of the chapter helped me to meet my needs. Instances of targets could be created as part of the discovery process and thus made available during the process of guided discovery.

  • Programmatically create a subscription by e-mail interactive report

    Hello!

    I really like the functionality of interactive report whereby you can automatically send an interactive report as an HTML attachment using the subscription by e-mail. We have sent a requirement of application Apex to automatically send our supplier when their order has been set. What I would do, it is a process of page automatically by e-mail the interactive report (just like the email subscription) installation. However I have no idea how to do that. Anyone has any ideas of how I could do this?

    For example programmatically create a new e-mail substription and then deleting it later with a call to the Apex API APEX_UTIL. IR_DELETE

    We use the Apex 4.1 on an RDBMS 11 GR 2 on Linux.

    -Boketi

    I don't think that you can use for this e-mail subscriptions, use instead the PL/SQL to format your data in HTML and send email using APEX_MAIL. SEND APIS.

    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21676/apex_mail.htm#CHDDAAJE

    Look at the post of Richards (rima) to send HTML email formatted APEX

    Send the view / table in email

  • Create new DB

    Hello
    I have Oracle 10g on Windows XP.
    I installed the Oracle software with database of starter.
    After, I would delete the startup database and create new database 'MYDB '.
    I create initMYDB.ora.
    SET ORACLE_SID = MYDB
    But when I connect to Oracle using
    C:\sqlplus/NoLog
    Connect / as sysdba
    It gives me ORA - 12560:TNS protocol error.

    lsnrctl status works well.

    If you manually create a database... the service must also be created manually.

    oradim-new - sid - pfile - startmode auto/manual

    If you use DBCA... service will be automatically created.

  • No "Create new version" option in Itunes?

    I want to convert a video to a format compatible with my iPod, but the file > option 'Create new version' disappeared.  He just moved? Or y at - it another easy way to convert a video to be compatible with the iPod?

    According to say what else, for video, it's gone.

    If these are not iTunes Store purchases try brake hand.

  • TB 31.5.0 Win 7 after the TAB key for the automatic update no longer creates new address line "write" (enter the done key) but I want the TAB key! Why this keep happening after

    TB 31.5.0 Win 7 after the TAB key for the automatic update no longer creates new address line "write" (enter the done key) but I want the TAB key! Why is - this seems to happen after each automatic update? Cant we get 'option' to use the TAB key to navigate through the lines of address "write"?

    TAB through the fields that exist. It is the function of the TAB.

    Otherwise you could never use TAB to go out in a field for example: subject. It would create an indefinate number of fields and are unable to function as a TAB key.

    TAB does not back to THE fields,
    New crests to THE fields or donkey typing/selection enter/return address, you can use the selection of mouse click.

  • Need to remove the old account from creating new a new Internet service provider. TB31.

    New VAC .the see my old address 'Reply', forward, & "write". -Usually very inconvenient. -You should be able to remove the old according to that ISP no longer exists.

    Do you need to delete the emails too?

    If you delete your account

    • Go to Edition-> properties, then select the account. Then click Action account at the left bottom of the active window and delete your account.

    If you remove the only shipping address, then delete the SMTP Protocol

    • Go to Edition-> properties and select the Server (SMTP) "outgoing" > choose one you need to remove.

    By default, you can't remove them, if you want to remove the default value, and then create new SMTP and make default and remove the old SMTP

  • broken check of email Sync feature on create new account

    broken check of email Sync feature on create new account on windows xp pro sp3 all updates were installed very old machine. Firefox is the latest version 30.0. I am trying to create a sync account to migrate my firefox profile (bookmarks, quick links, etc.) to my new windows 8.1 pro machine all installed updates. Firefox on windows 8.1 is 30.0.

    I also tried to check the Synchronization tab in the options. I know not who finally sent me an e-mail but said that the verification link is corrupted, I opened the link in a new tab to copy here: https://accounts.firefox.com/verify_email?uid=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx & code = FBI & service = sync

    any help greatly appreciated to get checked and my ultimate goal to make everything migated to my windows 8.1 pro machine.

    [personal data voluntarily obscured - please do not post this link - c]

    It may take some time before the end of the first synchronization.

    You can see these words: pages through the address bar:

    • Subject: sync-log
    • Subject: sync-progress
    • Subject: sync-tabs
  • "file > create new version" missing in the latest update to iTunes

    I used to use the Menu command file > create new version to convert the movies so that they will play on my 1st gen iPad. (The fact that he made them smaller was an added bonus).

    This function seems to be missing or moved in the last update. In its place is a Spartan function convert . If you hold down the option key, you can select «Convert to AAC...» ' which is useful in its own way, but what I'm looking for.

    Does anyone have an idea where the conversion of film went?

    Apple dropped this feature in the last update, because they think classic iPod is obsolete. But you can use the Handbrake or Apple Compressor to do the same job and then mark the files using MetaX or MetaZ, works for my 8th generation iPod classic.

  • Lost all history & bookmarks / can't create new

    Firefox opened after a reboot and all bookmarks and history have disappeared and I am unable to create new bookmarks or history.

    The way to solve the problems of this kind is the same for all platforms.

    What have you tried so far where you still have this problem?

    If the extension of maintenance places did not help then you will need to delete the places.sqlite file to make Firefox to create a new file.

  • 21 of Firefox running on Windows 7 will not allow creating new bookmarks

    I just installed Firefox 21 on a PC running Windows 7. I can't go to the 'About' screen, and Firefox won't create new bookmarks. Or by clicking on the star in the browser or right click on the menu drop-down window works.

    I might add that whenever Firefox installed a new version after version 19, such a problem appeared. What gives?

    Note that problems with bookmarks and history does not properly can be caused by a corrupted database places.sqlite file.

  • iMovie 10.1.2 - cannot create new film

    Hi all

    iMovie update and now the 'new film' the tab file is GRAYED OUT!  How do I create now a new movie?  Help, please.

    OS X El Capitan 10.11.4

    Hi applex2,

    Thank you for using communities Support from Apple.

    To create a new project, simply click "Create New" according to the projects:

    Create a new movie

    • In view of projects, click on create new, and then click the movie.

      If you edit a project, click on the back button of projects on the left side of the toolbar (see below) and then click on create new.

      If you have more than one library to open iMovie, click on the context menu of the library and select the library where you want the movie to reside.

    Create a new movie

    Take care.

  • Firefox process continues to run. I can't open a new session until I manually stop Firefox 32 process in the tax Manager. Using Win Vista Ultimate 64 Version 6.0 Service Pack 2

    Firefox process continues to run. I can't open a new session until I manually stop Firefox 32 process in the tax Manager. Using Win Vista Ultimate 64 Version 6.0 Service Pack 2

    Firefox is already running but is not responding

    Firefox crashes on exit

    Check and tell if its working.

Maybe you are looking for