Reentrant VIs - disappear?

Debugging with Labview 8.6.1, sometimes, when you think that you have completely closed a VI, it continues to operate but

It doesn´t appear in Labview so it is impossible to "close" it. The bad news is that you leave LabView being connected SubVIs

Impossible to enter edit mode.

When you close Labview, it recognizes that the VI is running somewhere.

In very large programs, this is very upsetting

Anyone know any solution?

Thank you

If you want to know what screws are under development only, you can either use the VI Show hierarchy, which will offer all the screws, including the highest level (at the top of the diagram).

Another possibility, use find. Because the VI has a refnum open, find can browse the VI.  I use this to access the block diagram, so that I don't have access to the menu command in the FP is.  Since most of my synoptic patterns have the word poll, I get that or change search scope (which should show all the screws with a reference open) at the VI I want to search.

Followed by any opening of screws as mentioned above is also a good way of local that you do not forget to close them.

I hope this helps.

A

Tags: NI Software

Similar Questions

  • using TCP to reentrant VIs

    I'm trying to transfer data between my PXI to my PC via ethernet system.  My HDD PXI contains gigbytes of data in multiple files for 9 bus.  I open a TCP port for each bus and transfer all the files of this bus through its own TCP port.  TCP ports are opened at the beginning of the application and closed at the end of the end of the application.  The enclosed screws can be called whenever the application is running.

    TgtDownload.vi takes the unique information of each bus and calls simultaneously, in parallel to TgtReadFiles.vi.  TgtReadFiles.vi is a reentrant VI.  On the side of the host; HostDownload.vi takes the unique information of each bus and initites calls simultaneously, in parallel to HostFileWrite.vi, who is also a reentrant VI.  The work of screws with the exception of 5 buses.  TgtReadFiles never, ends, however, not HostFileWrite.  This only happens for 5 buses.  All other buses work perfectly.

    The selected TCP port are: 6000, 6100, 6200, 6300, 6400, 6500, 6600, 6700 and 6800.  TCP segment size is 38400 bytes.  I changed the TCP port for bus 5 from 6500 to 6550, without success.  The TCP Read function seems to think that the port is closed (error 66).  However, this does not happen until the application is closed.

    I read the KB http://zone.ni.com/devzone/cda/pub/p/id/1020.  What a better way to create my parallel loops?  Is there a better way to transfer in parallel on TCP data?  Suggestions on how to debug a reentrant VI.

    Are you sure your table of file sizes are correct and correspond to two VI download?

    You have a timeout of-1 on TCP/IP functions in the hostwrite and the targetread of VI.    If one of these values do not match, then TCP/IP read could wait for always to one byte more is never sent.  That would explain why you would only have a problem with a bus and not the others.  Incompatibility in sizes between the table host 2D and 2D target table would not be in row 5.

  • How a popup that dialogue in many reentrant vis

    Hi all

    In my project, I write a TEST.vi to test an object to measure and set the TEST.vi be reentrant. So I can test UUT a lot at the same time. In general, I have 8 or 16 DUT online.
    During the test, there is a promotion at the operator of power - off UUT and turn on again. But if I place a dialog box in TEST.vi, there will be many popup dialogs.
    How that a contextual dialog and TEST.vi of all instances DUT waiting for the dialog box to confirm?
    Thank you.

    Here's how I would do based on a few advanced concepts:

    * A dialogue global vi with the structure of the event, using a state machine can be useful.

    * A user event is used to send a message to the vi dialog box (this can contain the data number USE power off and -)

    * A Notifier is used to broadcast the pause and resume the messages to the other DUT

    * When the user is raised, the vi dialog box sends notification of the break to all the vi USE and shows that it is FP (using node call)

    * When the dialog box is confirmed, the dialogue vi closes it is FP and sends notification of curriculum vitae

    * The vi USE is state machines that check periodically (survey) for the alert system if there is a notification of break, if if they go to the paused state.

    * In the State of the pause, they check the resume notification (perhaps enough to use wait for notification instead of polling, as they do not need to do something in the meantime

    Felix

  • (How) are queued not reentrant VIs?

    I have one COM port used RS485 multidrop to 17 different items, different parts (simultaneous loops) of my LabVIEW program want to talk with the different pieces of the kit attached to the RS485 communications.  But given that a physical on the PC port, I used a single VI (duration continuous) to fight against it, any part of my program that wants to use the port makes a request in a queue, then the port service VI transaction RS485 and puts the response in a taxfiler data (request queued had included an 'applicant' ID for the routine of service RS485 knows what notifier wants the answer).

    And everything works great, but...

    Since then, I started to use functional Global Variables and therefore much better understand the concept of reentrancy (or not).  Now, I'm wondering why I've bothered with all the queues and the authors of notifications!  If I just let the (called from anywhere and everywhere) VI running RS485 transactions marked as non-reentrant, surely it would have been nice in any case, any part of my program that wants to use the port when it is in use will have to just wait of (almost) the same way.

    It occurs to me that perhaps gives my use of queues more greater predictability of the order in which applications are processed, but so far I can't find information on how many non-reentrant calls to a VI are served.  that is not reentrant VI works for each 'call' in the same order calls came, or does it have its own idea on priority where two or more additional calls are made while he is busy?

    Even this wonderful thread:
    http://forums.NI.com/T5/LabVIEW/Community-Nugget-4-08-2007-action-engines/m-p/503801?query.ID=538785...
    only show me how the subvi is allocated in the case nearly trivial where two simultaneous processes want to the same not reentrant VI.

    LabVIEW uses the services of the OS to do programming.

    Because I'm not a developer NOR I have no inside knowledge, so what follows is a display admitted of "hand waving" those who know more should feel free to contradict (go ahead I dare you ).

    When EI is already running and another thread want to run this code, a mutex is checked and if busy, the tuft of the code is placed in a State of "resource pending" (at least that's what the used to call before the days of Windows).

    Then begins the hand waving extreme...

    That the thread is then placed in the queue of resources so when the resource is relased, then next in the queue should lead poped off the power of the given stack the mutex and then placed in the "queue of calculation" and is scheduld as the operating system determines.

    There are a lot of non-deterministic questions coming into the game.

    If the thread 2 and 3 try to get EI while thred 1 uses it, then it comes down to which of these two asked for the resource first wil determine where they end up in the queue of resources.

    Also acfter get the mutex, the Scheduler of the operating system could (or at least it used) son out of order process, if it determines a thread does not receive the attention it deserves.

    So if the order of operations is important and you already if she had thought of using queues, then (brace yourself) you can revert to the version of the queue.

    Don't know if I want to tell you want but I give it a go.

    Ben

  • Tab URL has disappeared. Can't see this site I visit!

    The display tab of the URL of the site that I visit disappeared - and I can't get it back.
    In addition, the arrow that allows me to return to the previous screen disappeared.
    These are both serious and I can't find a way to get back them.

    Note that you can use one of them to set toolbars to display where hide you the toolbar Navigation tools or one of the others by accident.

    • Firefox menu button > Options
    • View > toolbars (press F10 to display the menu bar)
    • Right click on empty toolbar space
  • That means "instance"?

    Hello

    I often see the word "Instance" in the documentation of OR, but I don't have a clear understanding of what it means.  Can someone please offers a good definition of the word "Proceeding" with respect to Labview?  Here's an example of some documents that would be more useful for me if I understood the meaning of the word "proceeding".

    "Instances of this polymorphic VI correspond to the type I/O of the channel, such as the analog input, digital output or output of the meter; the measurement or generation to perform, such as the measurement of the temperature, the generated voltage or counting of events; and in some cases, the sensor to use, such as a thermocouple or RTD for temperature measurements. »

    It simply means the opportunity of its use? or application?

    Thank you

    Dave

    in the dictionary: a case or an occurrence of what

    I wouldn't say necessarily, it means a VI.  More like a case of a VI.  It is difficult to explain the word without context here.  I say this because when you enter in the reentrant VIs, an instance is a particular clone of VI in memory.

  • How to view and control a VI remotely from a web browser

    Hello

    I want to see and order a vi using a web browser.
    I followed the steps recommended in the help, and I can see and order the front of my vi.
    So far, everything is OK.

    First problem:
    A button activates a simple storefront a message (a dialog box button). The dialog box opens on the server computer, but cannot be seen in brouser, and can not be closed remotely.

    The second problem:
    Another button activates another window (vi) loaded dynamically. The reentrant VI, is open with option 0xC0 ('Enable simultaneous calls on reentrant VIs' and "Ready to call and forget"). By clicking on the button, it opens multiple instances of the VI properly and is running on the server computer, but is not visible on the client computer.
    I created, once the same algorithm, the HTML file corresponding to the dynamically loaded VI and it was recorded at the same place with the main HTML file of the program.

    What to do what the client computer can operate main VI and the adjacent windows in the browser?

    Thank you
    Cristian

    You can't if you use remote façade panels - they do not allow for additional/popup windows. You must rewrite your VI to include everything on the main façade.

  • How do I know if a VI is already running before calling Start Asynchronous Call?

    The new node to start the asynchronous call is great for the spawning of several instances of the reentrant vis.  However, I fell a little bit using for screws not reentrant the old practice of using the method "Run a VI" would allow us to check the Execution.State of the VI before calling the method to execute.  This way if the State was running or running at a higher level, we could spend the invoke node and just use a property node to open the front panel.  With the starting node the asynchronous call, it seems that we must use a strictly typed static VI reference, and when we open the reference VI, VI gets booked and his Execution.State = running.  So, how whether it is not only reserved by wire, but actually running before calling Start redundant?

    Moreover, the redundant beginning has an interesting behavior.  Actually, it will cause the targeted VI must be performed again after it stops.  Even if you tap the Abort button on the target VI, it run immediately still and always the same number of times as the starting node the asynchronous call is executed.  There is nothing wrong with that, and I guess the simple answer is to simply go back to the old method of "run a VI.  It's just that ability over these inputs directly to the connector pane is so nice.  Maybe missing me something obvious.  Oh, I am referring to the call and forget mode (0x80).

    Thank you

    Dan

    Maybe missing me something obvious.  Oh, I am referring to the call and forget mode (0x80).

    Yes you have forgotten that he forgets the Run method always seems to be a better choice for this mode

  • Acquisition of data and filtering on FPGA

    Hi all

    I have trouble to design a FPGA program for acquisition of data and filtering.

    I have two NOR 9205 modules configured to work in terminal mode of DIFF, i.e. There are 32 entries this program must read every Ts seconds. (Ts is the time discretization, i.e. during the period of loop)

    With respect to the digital filter, I implemented a possible simple filter with transfer function G (s) = 1 /(1+sT), which is part of the field of discrete-time equal to y (k) = a * u (k - 1) + b * y (k-1), where u is the original signal, and there is filtered signal. The coefficients a and b are equal to: a = 1-exp(-Ts/T), b = exp(-Ts/T), and T is the time constant of the filter (usually T > 5 * Ts).

    The implementation of main program for the acquisition of data and filtering are:

    This application is for the digital filter:

    However, the problem is that this program cannot take the FPGA resources on cRIO-9114, and Yes, I tried to define the criteria of compilation for the area. I also tried to implement the multipliers in digital filter as lut and DSP, unfortunately without a bit of luck.

    Because I don't have that much experience in programming of FPGA, someone has any suggestions how to improve this code to adapt existing FPGA resources?

    Best regards

    Marko.

    Hey Norbert_B,

    I managed to solve the problem. First, I changed the reentrancy of Preallocated incoming execution clone to not reentrant execution. As no reentrant VIs have States, I had to use the node of the feedback to the main VI to get u(k-1) and y(k-1). Another important thing is to choose Ignore FPGA reset method in the node of the properties of FPGA implementationfeedback, since in this case, the feedback node uses less resources.

    Here is the new main program VI:

    And here's the 'filter' VI:

    Thanks for the help!

    Best regards

    Marko.

  • Clone?

    I'm looking at the code of my co-workers, and a lot of the vi opens as a clone.  I have the following questions.

    1. What is the purpose of doing a vi in a clone?

    2. How can you do something in a clone?

    3. how to do something out of clone?

    Yik

    Clones allow the debug and probing of reentrant VIs, something that hasn't been possible there is more than one version.

    A clone is a local instance of a reentrant Subvi and is always in run mode. Showing a clone of sense to most during debugging. To change the Subvi, you need enter editing mode and change will then apply to all the clones.

    You don't 'do a VI in a clone", it's just a temporary state during debugging live reentrant

    We'll find a detailed description in the following document:

    Why my Subvi have the title subvi.v:i #(clone)?

  • Subroutine calls number priority

    Subroutine calls number priority

    A normal VI can be called only those at the same time. Is it by a VI with the parameters of the subroutine (priority) the same?

    And Multithreading?

    (VI--> priority--> subroutine properties)

    Thank you

    URS Mueller

    Priority of the reusable subroutine of a VI, but it also imposes time penalties severe enough to try to do.  Cause on the priority road to the subroutine is implemented, survey method is used to see if the VI is available for execution before running it.  If available, it is very fast (essentially no call overhead).  If it isn't available, I believe you get a 1ms wait before the next test.  Take home message - they are not a good choice for the engines of the action or any application that depends on the behavior of blocking of the non reentrant vis.

    Note that the new LabVIEW compiler inlining deploys this essentially obsolete feature.  It is not quite there yet, but it is close.

  • All the pages I visit are automatically saved to Favorites. How can I stop this?

    I recently installed Advance Care program. After that, I had several problems with my computer. The one I'm writing about is that every page I visit is automatically saved to Favorites. And some I want to bookmark disappear. How can I solve this problem?

    Hello

    I would recommend that you delete the system of Advanced SystemCare surf Protection of Firefox Add-on. Previous versions have been blocked by Mozilla, because they can be stealth installed and is not approved.

    I suggest that (initially), you follow this step by step to remove the add-on.

    If this does not resolve the problem, please come back here and we can look at another solution for you.

  • Toolbars disappear when you access a site by a link

    In some cases specific, when I visit a page by clicking a link on another page or in an e-mail, all my toolbars and menus disappear on the page visited in the newly opened window. I have attached a screenshot. Normally, my pages include the menu, module, and bookmarks toolbars. It is there no model does this behavior, so I can't identify the possible causes. Thank you.

    The sounds that you are experiencing this bug that occurs when you run Firefox in private browsing mode and you open links in a new window.

    • bug 1166066 - regression 38 Firefox: link in the window with target = "_blank" opens a window with no tabs/Tools/menus toolbars

    Please, do not comment in bug reports
    https://Bugzilla.Mozilla.org/page.cgi?id=etiquette.html

    Possible solutions:
    (1) use Options/Preferences > General: "open new windows in a new tab instead.
    (2) shift + click the links to open in a new window with the standard configurations or use the context menu.
    You can change dom.disable_window_open_feature prefs and change their value to true to prevent a Web site to disable toolbars and scroll bars in a pop-up window

  • My tabs keep disappearing.

    My last update was 4/21. Since then, my tabs disappear from the view when I open several pages. If I move my cursor to the top of the page, they reappear. I wonder if it was part of the update? It temporarily allows you to display a little more of the page I visit, but if this is supposed to be an advantage... is NOT. I love being able to see it as the tabs I have open and without need to scroll to the top of the page every time. Please help me to correct or change it. Thank you.

    Firefox may be full-screen mode. The F11 key toggles between normal display and full-screen.

    He should not get stuck like that... If you find you need to keep switching off the display full screen, the file that contains the dimensions of the window may become corrupted. You can rename the file to fix this problem, but it may also affect what bars are displayed (for example, if you are using the classic menu bar, you may need to which restart). Here's how:

    Open the settings folder (AKA Firefox profile) current Firefox help

    • button "3-bar" menu > "?" button > troubleshooting information
    • (menu bar) Help > troubleshooting information
    • type or paste everything: in the address bar and press Enter

    In the first table of the page, click on the view file"" button. This should launch a new window that lists the various files and folders in Windows Explorer.

    Leave this window open, switch back to Firefox and output, either:

    • "3-bar" menu button > button "power".
    • (menu bar) File > Exit

    Pause while Firefox finishing its cleanup, then rename xulstore.json to something like xulstore.old. If you see a file named localstore.rdf, rename this to localstore.old.

    Launch Firefox back up again. Windows normally appear again?

  • 26.0 Firefox on Mac will not display the site menu bar to make parts of the category. The menu appears briefly and then disappears.

    After the update to version 26.0 (Mac) when you visit the Google Play website, the menu bar of the website that allows you to select the categories disappears. When the page loads, it will appear momentarily and the "speed" icon on the far right (for the setting of preferences). I have cleared the cache, etc, and it still does not work properly.

    The site will work correctly with Safari and worked before this last update.

    When you say that you have disabled the cache, etc, you also deleted your Google cookies?

    If you have not yet tried, and in case this is based on some saved type of parameter based on cookies, after record all pending work, while displaying a page on the site, try either:

    • Right click and select View Page Info > Security > "View Cookies".
    • Menu Tools > Page Info > Security > "View Cookies".

    In the dialog box that opens, you can delete cookies from Google.com individually.

    Then try to reload the page. Who help me?

    On Windows 7, the page is served with this hidden category list, and then a script he slips into the display. It sounds as if this part works well for you, but then he loses visibility after that. You have all the extensions that seem to hide the content of the page, so I don't know what is happening there.

Maybe you are looking for

  • I can't create a new tab, help?

    I can't create a new tab, I click on the + and it highlights, but nothing happens. I added the proposed Mozilla Support plugin, but that did nothing. I have already uninstalled and reinstalled Firefox twice. Help?

  • network controller driver is not installed

    My HP n6220 wifi does not work, my wireless assistant says that it is disabled in Device Manager, when you check the device displays Manager this network controller driver is not installed My equipment is: PCI\VEN_8086 & DEV_4220 & SUBSYS_12F6103C &

  • The T400 screen brightness

    My T400 runs a lot, but I find that I have the brightness of the display mounted as high as possible. Is there another setting of brightness of the screen not to mention that the fn + illuminated keys?Maybe in tge to save energy? Or in the system?

  • Compatibility of drive SSD IdeaPad Y560p mSATA

    Hello world I could not find this question on this forum so I decided to ask here. I have a Y560p awhile now and I'm happy with it, except for the very slow HARD disk. So would buy mSATA SSD, this one to be exact: http://www.crucial.com/store/partspe

  • How can I use two counters to capture a pulse ttl for a specified time

    Configuration: Card counting 6062 PCI w / BNC 2121 Board running under LV 9.0 PerkinElmer Avanlance Photodiode (SPCM-AQRH-13) I searched through the forums and fell on the theme of framing an image while collecting signals from a source for a specifi