reentrant VI copies the entire structure VI (of Subvi) when it is called?

Hello world

I would ask each of you about the reentrant VI.

I have a VI (Thread.vi), which is set to reentrant (Preallocated clone reentrante execution) that is called from the main vi using the method run a VI. Reference of vi is open with all of the option 0 x 8.

When I call the Thread.vi, the original vi clone is created.

My question is, when the clone of the first level vi (Thread.vi) is created, all the Subvi contains the Thread.vi is also the Subvi originally clones?

Going to queue named in the Thread.vi when it is called by using the control property value node and using this queue within the Thread.vi (in sub - VI) to control the Thread.vi.

My problem is that when two clones are created, I can run, stop, and close the two together. But when I want to close the second clone, the Dequeue function reference to queue the first clone. I do not understand what the queue has been obtained with the name in the main vi and spent in the clone of Thread.vi. When I want to close the first clone, it works as it has reference to the appropriate queue.

I thought that LabVIEW creates entire hierarchy of the Subvi the reentrant VI so when it is called.

Thank you for your answers and help.

Tukan

I'm using LabVIEW 2014 32 b, Windows 7

You use named queues, so unless you call your clones several times (rather than, say, calling a clone and get running code in a loop for a "long time"), I would recommend not worrying to pass a reference queue for the Clone, but rather the name of the queue.  Get the Clone of its own queue - if the hand is already done, get queue of the Clone will not allocate a new queue, but returns the reference to the queue already created.

Screws that are used by the Clones can be "specific clone" (if they are, themselves, marked as Reentrant) or 'universal' and shared by all of the Clones.  There is really nothing wrong with that, as long as you realize that while A Clone uses void-VI X, Clone B will be "blocked" when it tries to use the Subvi, if you want to run in a mode of the Subvi '-and-out ", without blocking.  In particular, not to put any function, for example a Dequeue, who must wait in a common Subvi.

Bob (who has learned this "rule" with the sad experience) Schor

Tags: NI Software

Similar Questions

  • OWB copies the entire project into another environment repo

    Hi Experts,

    We are using Oracle 10 g R2 and I'm still pretty much back to OWB. My question has probably been answered before but I can't find in the forum.

    Details:
    -We have 3 repository environment (Dev, Test, Prod).
    -Connection users Dev
    -In Dev create us our projects, deploy and run for the initial test mappings
    -When everything works well, we put the location and configuration of the TEST environment. Yet once, deploy and test for the largest data set

    Question:
    -Is it possible to copy entire projects from Dev to TEST environment? If so, please help me on how to do it.

    Concern:
    Although the change location and Setup for the control center of one environment in another works very well. For me, having the copy test is more organize and easier to manage.

    Thank you for reading and hope to get some answers.

    After importing, you can check if all the objects have been imported into the newspaper. If the project has not been recognized, all internal objects will fail.
    But first you must choose if you want to match by name or id. If the projects have created isolated in each environment, you have to choose "by name". If project names are different, nothing will then be imported. I only use 'match by id' when a project is the result of a previous import from the other project.
    In addition, you must choose if you want to merge or replace objects, because you'll have a lot of duplicate objects. If you have selected 'create only' and objects was already there, nothing happens.

  • VB6 DLL is not log messages in the Windows Server 2003 event log when it is called from an ASP page

    Hi all

    I have an ASP web application, I will create a "VBModule1" (VB6 Dll) instance of an ASP page and inside this method of "VBModule1" I create an instance of another VB6 Dll 'VBLogger', who calls App.LogEvent () to write messages to the event log.

    I tested the Web application on the develepoment (XP) machine and everything worked fine but when the user runs the Web application on the Production Server (windows server 2003) events are not saved.

    Friend missing the security settings of my ASP web app that needs to be configured on Windows Server 2003 for VB6 DLLs logging events?

    Please think as soon as POSSIBLE.

    IIS on Windows server 20003 version: 6.0

    Thank you.

    Hello

    The question you have posted is related to Windows Server 2003 would be better suited to the Windows Server community.

    Please visit the link below to find a community that will support what ask you:

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

  • Conversion of a structure of entire folder of images in jpeg format, intact, and the folder structure.

    Hello!

    I have a fairly large folder structure composed of images dating all the way back to when I got my first digital camera in 98.

    The images captured by a variety of cameras over the years and also includes the types of images processed with the software. It's a mix of Holy of almost 1.5 tera-bytes of CR2, ARW, JPEG, PSD, PSB, TIFF, HDR and probably more I forgot. However, all formats can be read by photoshop/bridge. The structure of the file is/YYYYMMDD/file.ext. File conversion, per-folder using the standard bridge/photoshop Image processor feature is not really an option, given the size of the structure.

    What I try to do is to convert the entire structure in .jpeg, both for purposes of backup and also to be able to view all images on devices other than those from my computer. It is important that the raw files are converted with their respecive .xmp adjustment applied.

    Is there a possible way to do this? I have lightroom, but if she can do it I will buy it. Maybe other management image, like ACDSee, applications can do that?

    If anyone knows of any applications or scripts (photoshop) that can do this, or have any advice for me it's * VERY * appreciated!

    You can try...

    Pro image processor. Photoshop CS5 is required.

    http://blogs.Adobe.com/jnack/2011/05/new-image-processor-Pro-script-for-CS5.html

    or

    Image converter. Photoshop CS3 or above.

    http://www.scriptsrus.TalkTalk.NET/pp.htm

  • case structure: to run once when the condition is true

    I have a case structure in my program. I use this to count the number of cycles in my experience. I have a knot of feedback (image of the program here attaced) within a box structure. I want the case structure to run only ONCE when the condition is "TRUE". Each "TRUE" represents each cycle. The problem that I'm facing here is that the box structure is permanently running as long as it is 'TRUE' instead of running once and wait for the next 'TRUE '.

    Temporaritly I use a timer inside (as you can see in the picture) to contain the program for the next 'REAL' to come. I hold as by case so I know exactly the time. Is it possible to make the case structure running only once when the condition become ' TRUE and wait for the next "REAL"?  OR is there any other loop that case structure that make this work?

    Hi aneps,

    PtByPt_BooleanCrossing is your friend!

    You really need to work on the analysis/description of your problem: you don't want to run the case as long as the entry is set to TRUE, but you want to run the case at the entrance of the past from FALSE to TRUE!

  • How do you keep Windows automatically passing the entire file name when editing?

    When I copy a file to a folder and rename the file, that I right click once on the file name to select it and again to place the cursor where I want to change the name in the name of the original file.  However, until I'm able to start typing the computer automatically highlights the entire file name, so that when I start typing deletes the original file name and replace it with what I typed.  Is there a way to avoid this and allow me to change the name of original rather than delete it and start from scratch?

    If I press ESC to restore the original name and follow the same steps again, that it allows me to change the name of the original file as you wish.  That is to say, I see only this product the first time I try to change the file name.

    After he highlights the entire name, press any cursor movement: home, end, left arrow, right arrow key.  Who will be development of the United Nations name and allow you to move the cursor in the right place to start to edit. Boulder computer Maven
    Most Microsoft Valuable Professional

  • I have an ipod touch 128 GB... but I'm almost to reach its maximum.  I want to do is buy a new ipod touch 128 GB and add new music without synchronizing the entire library to it... I have 2 ipods in conjunction with other copies

    I have an ipod touch 128 GB... but I'm almost to reach its maximum.

    I want to do is buy a new ipod touch 128 GB and add new music without synchronizing the entire library to it... I have 2 ipods in conjunction with the other copies of the other.

    is this possible?

    What should I do?

    Matt

    When you get the new iPod, you can use iTunes on your computer to select and synchronize the music you want on it, in the same way that you synchronize your current iPod - your iTunes will recognize them as different devices and will remember your choice of synchronization for each, it will not (unless, for example, you restore the backup of your current on her iPod) put the same content on both.

    (I asked for your post be moved to the iPod Touch forum, where you have posted is the iPad forum use.)

  • Hello, I have a full desktop in Adobe Muse, site and I want to convert it into a version Tablet & phone, then, how would convert the site Office to Tablet & phone to copy the entire office content and site structure? Thanks for any help.

    Hello, I have a full desktop in Adobe Muse, site and I want to convert it into a version Tablet & phone, then, how would convert the site Office to Tablet & phone to copy the entire office content and site structure? Thanks for any help.

    You can not automatically convert. Click on the "tablet" or "Phone" at the top of your plan view to create these versions.

    You can then copy and paste on any content you want has more of your office.

  • How to remove the folder structure in MDS

    Hello

    I want to delete folders, including MDS files. It's my folder structure in SDM:

    1 apps
    1.1 com
    1.1.1 wsdl
    1.1.1.1.
    1.2 xsd
    1.2.1...
    deployed composite 2
    3 soa

    'apps', "deployed-composites" and "soa" are there in the first place. "com" and "xsd" are files that were created when I deployed my mds - pot. Now, I want to remove 'com' and 'xsd', including all of their content.

    I found two wlst commands:

    -deleteMetadata: "removes the documents selected from the filing of the application. This seems to mean that it can remove only the files, not folders. At least, that's all I can do when executing the command.

    -sca_removeSharedData: "deletes a top-level shared data folder. But what is a 'higher level of shared data folder? I tried to write:
    sca_removeSharedData ('http://k75830:21840', 'xsd', 'weblogic', 'weblogic11g')

    But I get the error:
    SEVERE: Problem by sending the HTTP request on the server. Please make sure that the server is in place or check the code of standard HTTP response for 404
    -> response code = 404, error: null

    "Xsd" is not a top-level folder, or is there another error?

    In this blog, they suggest that I should be able to remove a folder under /apps:
    http://Victor-Jan.blogspot.se/2012_03_25_archive.html

    But here, they seem to be to remove the entire /apps folder:
    http://yatanveersingh.blogspot.se/2011/07/MDS-implementation-in-Oracle-SOA-11g.html

    Because /apps seems to be an important issue where all deployed MD files end by that I'm not too keen on removing. Someone know how to delete folders in SDM or is this not possible?

    I am using SOA Suite 11.1.1.5.

    Thanks in advance!
    Kerstin

    Hello, Kerstin.

    If you try to use Admin port, try pointing the URL on your SOA server port instead.

    sca_removeSharedData ('http://k75830 :* < SOA_Server_Port > * ', 'xsd', 'weblogic', 'weblogic11g')

    Kind regards
    Neeraj sehgal

  • I hate the new iPad update. How do I fix if I can open my playlist without seeing the entire library?

    I hate the new iPad

    Update. How can I fix it so I can see just my playlists not the entire library?

    Follow the instructions, If you do not your entire library after you update iTunes on your Mac or PC - Apple Support

  • When I try to print a page, I get the entire page of very low, either I get only part of the page. Which setting I'm missing?

    I am trying to print a page of a web page. If I check, 'reduced to fit' print / page setup, I get the whole page but small enough to be useless. If I uncheck 'reduced to adjust', I get only about 1/3 of the page. I tried the % function, and it only changes the size of the narrow portion I see already. How to print the whole page in a reasonable size?

    If Firefox does not use the entire sheet of paper, it can result from Firefox after having extracted the Windows incorrect paper size settings when reading data from the print driver. Compensation it may involve conclusions some mask parameters, but here goes:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste print and make a pause so that the list is filtered

    (3) for each parameter which specifically mentions the problem printer, right click and reset The fastest way is to click with the mouse and press the r key on the keyboard with your other hand.

    Note: In a few discussions involving Brother printers, printer_printer_name.print_paper_data preference was established in 256 and when the user changed it to 1 which, in itself, solve the paper size. If you are using a Brother printer and see a 256 here, you can change the value by double-clicking it or by using the right click > modify.

    Any improvement?

  • How to export all the photos of Photos with the folder structure

    Topic says it all...

    I found tons of posts on how to export pictures from Photos, but clearly an important feature is missing. How to export one or more folders, subfolders, and albums to the breast?

    I need on a regular basis (read: scripted) to export all my photos for use on another platform. But I need to keep my organized all files as they are in the pictures.

    Anyone know of a script that can do this? Opening could [R.I.P].

    Thanks 1million in adv.

    Björn

    Photos can export using the subfolder structure to give you the files corresponding to moments

    a user has provided a script for this for albums - Albums export records - Script of Jacques Rioux

    and old toad has planned that the script compiled as an app - http://www.oldtoadstutorials.net/No.P01.html

    LN

  • Impossible to empty the entire iCloud!

    Hello to you all.

    I'm having a problem with iCloud is not not able to clear the entire space after deleting. I delete all my back ups of my three devices and after 'turn back up' to clear all but iCloud gives me only 1.4 GB of free space and 3.6 GB occupied space which I can't erase my device or my laptop! Photos never stored in iCloud ether.

    My question is: how all this space icloud can I delete so I can do all new back ups or perhaps need to be clear on-demand Apple Remote! I have everything back up stored on my laptop if you need to do a restore.

    Thank you

    That said it is using the space.

    Settings > iCloud > storage > storage management

  • How can I make the page smaller than the entire screen Firefox when I can't grasp the edges?

    I was looking for pictures of furniture and for the entire element on the screen, I hit the big square at the top right of the page next to the Red 'X' box. Now I can't make it go smaller using the ESC key or trying to grasp the edges you can do with email or even a Web page. It seems fitting that the page is too large. I want to see other things on my screen below the entire Internet page. Please notify.

    Make sure that you run not Firefox mode full screen (press F11 or Fn + F11 to toggle; Mac: Command + SHIFT + F).

    Try to open the system menu via Alt + space and see if you can use the element to resize in this menu to use the arrow keys to resize the window.

  • try to delete emails but point only circles and the clouds upward the entire page?

    try to delete emails but point only circles and the entire page of the clouds upward in the Inbox, and even in the Recycle Bin and sent box

    contact their people chat with your problem and they will fix it.

Maybe you are looking for

  • PXI-1042 q with controller 8331

    HI........ I want to configure a single chassis PXI-1042 q with controller PXI-8331. I have connected 2 I\O Digital Digital card (PXI-6515) and 1 card(PXI-6514) I\O to this chassis. And I have connected this chassis to my PC with the serial cable (OR

  • Windows Freecell, Solitaire, etc.

    I try to play freecell, solitaire, or any of the games on Windows Vista and I receive a notice of "Critical error": none of his graphic designs suitable found.I tried the turn of windows power features in Control Panel.  He works at this time, but no

  • Problem with Java app.

    I recently did an update to java, then I was unable to play games. I followed the instructions to uninstall and reinstall, I have now is more java in my control panel ICON, every time I try and stall, he comes back with an error 25099 message Impossi

  • HP P3015, Q2612A: Toner Q2612A for a HP P3015?

    Q2612A toner cartridges are too small to be used in HP P3015, but the product description indicates that they work. Could someone please provide instructions for using Q2612 toner cartridge in a HP P3015? Are there parts that must be exchanged for th

  • Problem: Sent mail is not in the correct folder in Windows Live Mail.

    I installed Windows Live Mail on XP this weekend and imported all my mail to outlook 2003. I have two accounts, both using IMAP and both with sent folders. There is also a generic sent folder below, as a catch-all folder and is where to send the elem