Hidden nodes and elements of block diagram

Hi all

I have this bizarre situation where having a terribly huge program, strange things happening. The main loop which is a massive, while the loop has been resized a few times in the past and now, the conditional element "stop to true.

the while loop is nowhere to be found but hidden away. All I can see are the dotted lines that connects the stop button to it. Extend the while loop to reach it seems to do nothing as long as it continues to be somewhere there. the while loop seems to be already reached their limit and cannot be expanded more. I tried the block diagram cleanup but its useless because it is another problem in the huge program, it does not cleaning for a reason any and she would have uncovered more problems. If anyone has an idea out there, please let me know. Thank you!

Another way to get a tune-up of hidden node is executed Analizer VI and the report will have a list of hidden objects...  Just double-click the warning and the node will focus!  then use the arrow keys to bring it back in the display.

Tags: NI Software

Similar Questions

  • Index Array icons: Palette and divergence of block diagram

    Hi all

    Why are the Index Array icons discrepants?

    There is a small difference between the two of them...

    ... That's how you see when you look at the table Palette...

    ... But this is how it appears when it is placed in the block diagram.

    Compare yourself:

    Is there a reason for this? I don't really know. I also looked for a thread about this, but I have found no.

    Have you ever noticed this?

    BTW, I'm using LabVIEW 2012 SP1.

    Best regards

    Hi João,.

    so to summarize:

    -l' icon changes when wiring to a 2D array entry rather than a 1 d of entry table

    -l' icon changes too much wiring when a 2D array input and, in addition, all the wiring index entries

    -l' also shows context help leaves how to index more than one element of an array

    -the range (maybe) shows an old version of the icon

    There is more than a simple icon fixed to IndexArray function, but that only one version is displayed. You will notice this behavior for many more functions...

  • XML nodes, and elements... Oh my...

    The data I've entered my web service return are in the following structure

    
      
        74
        Testmark Corporation
      
      
        739
        Testing Services
      
      
        753
        E. Tester
      
      
        292
        Test Name 1
      
    
    

    Now. all I want to do is to translate these data, so first of all because I can't use a string in a flow since it is the analysis for the uses of document, I save the file to the phone, not a big deal, double works, what ever, now on the problem, trying to analyze this list I have the following code :

    try
    {
      DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
      DocumentBuilder builder = factory.newDocumentBuilder();
      InputStream inputStream = (InputStream)Connector.openInputStream(_xmlFileName);
      Document document = builder.parse( inputStream );
      Element rootElement = document.getDocumentElement();
      rootElement.normalize();
      NodeList list=rootElement.getElementsByTagName("SearchResults");
      if(list.getLength()>0)
      {
        results=new KeyValuePair[list.getLength()];
        for(int i=0;i0)
            {
                Node CID = childNodes.item(1); // for some reason this is always 1 and not 0
            Node CME = childNodes.item(2); // this does not exist no matter what I try
            String cid = (CID.getNodeValue()==null)?CID.getNodeName():CID.getNodeValue();
            String cname = (CME.getNodeValue()==null)?CME.getNodeName():CME.getNodeValue();
            KeyValuePair kp = new KeyValuePair(cid, cname);
            log("---------------------------------------");
            log("CID: " + cid);
            log("CME: " + cname);
            log("---------------------------------------");
            results[i]=kp;
            }
            }
        }
        log("Total Results: " + list.getLength());
        log("Items to list: " + results.length);
      }
    }
    catch(Exception ex)
    {
      log(ex.toString());
    }
    

    Now, what have discovered is that comes from the name of node by ONLY for CID, no GUY and I can not get the value of the node, copy the following code for the child nodes should only have a count for 2 for child nodes, but there the same indictment as the parent which is 4 which is how many are in the file What on earth am I overlooking?

    You can try something like this:

  • How do I block diagram page where a free label is visible/active?

    Hello

    I'm looking to be able to select a certain free tag and make the block diagram page where it is visible/active? I want to be able to screenshot of the diagram where the free label programmatically. Is this possible?

    Rgds,

    SMcS12

    A simple property node GObj (object highkight) does the trick. I used script where there is no option to highlight the particular frame.

  • apparently random node placement on block diagram

    When I create an indicator on the front panel, the block diagram node present in a seemingly random place. Sometimes it becomes hidden. The reverse happens when I create a node on the block diagram. The front object placement seems random.

    Is there a way to get a container where all things will appear in this box? Can I predict where something might appear?

    Carmen92126 wrote:

    Is there a way to get a container where all things will appear in this box? Can I predict where something might appear?

    No and no. However if you double-click on the new indicator, the terminal is highlighted. (and vice versa)

  • buckle hidden block diagram?

    Recently a VI I have worked for a period of time started to run slowly.  A large (5-7 seconds) delay occurs after I connect my hardware target before the VI continues processing.  I'm trying to understand why, so I made a copy of my project and began to remove tabs with a lot of indicators in order to track down the precise cause.

    That did not work, so I tried to pause execution during the delay of the program.  I expected to see highlight in an active area code, but instead, it is showed in the figure:

    The black outline flashes during execution paused.  Once separated I did, there was much smaller black box in the lower right corner... in other words, between the 2 times, it is as if it is highlighted on a loop with a stop command in the lower right corner.

    Also note that the horizontial and vertical scroll bars are completely to their extreme.  It is an area of the block diagram that I do not at all.  In other words, if I scroll manually on this same area of the code, there is nothing there.  In other other words, it of like exeuction program is stop and highlighted to a region of code that is not yet visible.

    I know it is possible to hide the objects in the front, but is it possible that there is a code of block diagram which is hidden?  What can I do to understand what it is that is highlighted as shown above, when I hit the break?

    Thanks in advance.

    You can do a cleaning of block diagram (but not record) to see ifanything was hidden.  I would do that, especially if I inherited code.  I saw subVIs hidden behind the case structures and other things like that.

  • Deleting the definition of Type casuses control a lot of misreferences and program in the block diagram errors

    In LabVIEW 2010, I have a Def Type control i.e. a Cluster with several other controls within the Cluster. Apparently, the references to the controls in the block diagram are based on the order that the controls have been added to the Type definition command. The side effect of this is that if a control is removed from the command of Type definition, many of the done Variable reference in the block diagram or now either broken, or worse still, refer to wrong control in the Type definition. These problems are quite difficult to find and fix.

    Comment: If you create a control of Type definition and make a Cluster. Now add any controls to the Cluster in an order, let's say A, B, C, D. Their types does not matter. Now use the Type definition in one or more controls on the front panel. In the block mark references to controls inside the Type Def would control on FP. Now return to the Type definition and remove the command B of the definition of Type. Now, lots of errors appear. Broken links. But worse still, you see old references to B that now refer to C and old references to C are now referring to the old references to D and D are removed altogether, etc..  This side effect is much more errors, broken links and misreferences than expected otherwise.

    How add and remove controls anywhere in a Cluster in a Type definition, at will, without creating a whole bunch of errors in program, broken links and misreferences for controls in the Type definition that have not changed?


  • Impossible to select and place the Instrument Driver VI icons on the block diagram

    I am trying to automate some of the RF measurements using a Rohde and Schwarz Spectrum Analyzer. I downloaded the Rohde and Schwarz spectrum analyzer pilot named 'rsspecan' version 2.6.1 for Labview on Rohde and Schwarz site to use in my version of the software labview 7.1.

    I copied the files in the appropriate folders in the Labview software on the C drive files. I am able to access those files through the functions---> Instrument I / O---> range of Driver of instruments in the Labview diagram, but when I select the VI icon that I want to put, I am unable to place it on the block diagram. Instead of hovering under the cursor by clicking on the VI icon, by clicking on the icon of the VI has no answer whatsoever.

    Any help would be greatly appreciated.

    Thank you

    Thank you very much for the help.

    So, is there a way to get the above mentioned pilot online Spectrum Analyzer, which will be also compatible with LabVIEW 7.1, so that I don't have to go through the conversion of version Board?

    Thanks again,

    Vivek

  • How to set a menu of VI function to generate a copy of it self when it is move and dropped on the block diagram

    Is any way to put a VI that I placed on a palette in the menu functions to create a copy of it self when I place it on the block diagram?

    My example is as follows. I create a palette for a messaging configuration. The 'send message', 'message' and so forth will work normally with just called when necessary. But 'Create queues messge' must be specific for each instance, because I'm going to create a different number of queues each time I use it. (See system messages in queue OR for the "Continous Measument and Logging" model).

    So every time I drag and drop that VI (Create message Queues) in the palette, I want that it ask me where I want to save the VI.

    Is this possible?

    See you soon

    Henrik

    There is always the file-> new... that opens a new window.  You can have your models in this window by putting them somewhere (I can't remember where at the moment).

  • 2 How to remove an element from the tree and the database block tree?

    Hello

    2 How to remove an element from the tree and the database block tree?

    Kind regards

    Abdetu...

    The problem is caused by not sending forms is not a VALIDATION of the database because he thinks that there is no changes to save.

    Forms does know that changes to the data block, he does not know the changes made by the PLSQL INSERT, UPDATE, DELETE calls and procedure.

    Try to remove the line to block, rather than using a DELETION like that...

    go_block ('INSP_EQUIPMENT_TYPE');if form_success then   do_key ('DELETE_RECORD');end if;
    
    
    

    If you wish to continue using your original DELETE instead of my change above code, you can use different techniques to force forms to issue the COMMIT to the database, including this one...

            DELETE ...        FORMS_DDL ('COMMIT');
    

    Be careful... This will be the VALIDATION of the database, but the changes to the data block will not be sent to the database!

    I posted a few other ways to issue a VALIDATION of forms here
    www.seeristic.com/Forum_Posts/Forms_COMMIT.txt

  • What this block diagram?

    What this block diagram?

    Match a VI Modbus Library. But I have because if the block is configured to write multiple coils in the coils because reading is set to 1?

    All this work?

    Sorry if the question is a beginner.

    In this block diagram, 'Coils Read' and 'Write multiple coils' are enumerated values (or possibly ringtones of appeal, which is not serious for the purpose of this explanation). Enumerations assign names to numbers, to make them easier to read. The coils Read command is set to 1, the command to write multiple coils has a value of 15. You don't need to worry about this number, however, because the enumeration takes care of it for you.

    The constant cluster containing coils of reading is there just to provide the correct data type (a cluster with the right items). Almost all the elements of the latter shall be replaced by the values of wired in the Bundle to node Name. For example, the value of reading coils is there as a placeholder for any function Code. the actual Code of the function is defined by plugging write multiple coils in Bundle by name.

  • What is the best way to keep the block diagram / cleaning of façade?

    Hello

    I'm relatively new to Labview so I'm not able to say if I'm overloading my programs or make my too crowded block diagram. I was wondering if there was some ways to tell if I can simplify my programming just by looking (perhaps only experience contributes to these things)?

    I enclose my VI here. Currently, she is able to monitor the voltage and current of two engines. On the screen, you can see an indicator with the voltage and current values and there are cards that can display signals of different engines with a menu drop-down.

    The façade is pretty clean, in my opinion of novice, but the block schema seems messy to me, just at the first glance. I foresee a problem occurring in the future however. In the future, I will have the VI to monitor 50 engines globally. All of the programming will be the same as the one I have now, but it will have 50 indicators and unfortunately 50 times just about everything. I would like to avoid this, but I don't know how I did.

    I use a USB-6009. I use its four differential inputs to monitor the voltage and current of the two engines. In the future, I will get more units DAQ (25 in total because 2 motors can be monitored for each data acquisition). The new Renault will help will help with more resource space, but I think things complicate with the added option of 24 more Assistants of data acquisition (as used in my code).

    Thanks for any help you might be able to provide!

    Usually, it is above all the experience that will teach you the best methods for making your code to do pretty. I don't know anyone who is proud of his first application of claws. There are some resources out there to help with best practices, as that group on ni.com, but you will learn most of your own development.

    Your façade is superb. FPs in general really are to you. You can do it as ugly or pretty as you want. When you have a few controls in duplicate and the Group of indicators, you should use clusters and berries to simplify. You can use a bit of cleanup in this regard, but not much. In addition, I personally hate read red text unless it is a warning any.

    Your block diagram could use a little cleaning in a sense of modularity. You have a lot of repeated code, which you might consolidate in to a Subvi, which is used in multiple locations, or in a loop For. A general rule is to keep your block diagram within a single monitor. You should not scroll. Your application is quite simple, so it is difficult to BUMBLE

    Here are a few details on your block diagram:

    • Click with the right button on your devices on the block diagram and uncheck the "display as icon". You are welcome.
    • Operations on each waveform "(x*2-4)" / 16 in double ": create a Subvi and/or run the waveforms through a loop."
    • You do a lot of 2-element arrays and then indexing. Just replace the ones that have a Select node based on digital.
    • All your code runs every time, including the knots of your property at the bottom, which is not necessary. As you learn LabVIEW architectures, you will learn how to get around this with the initialization and the output of code, but for now, you should put a case around those structure for only when the engine numbers change.
    • I don't know how you're timing your main loop, but you should put a delay in there because you don't need the DAQmx node shoot as fast as your CPU will allow.

    There are videos of intro free that you can watch to learn what OR think in terms of coding and teach you some of the basic features and such. Here's a three-hour course, and here's a six-hour course.

  • Reduce clutter in the control on my block diagram reference...

    Is it possible to reduce the amount of clutter on my block diagram when needing to enable and disable controls so that the tests are running? I know that I can place the instruction box in a Subvi, but I'm looking for the best method recommended to reduce clutter when listing references. Using LabVIEW 2015.

    Here is a small example of what I speak, there will be only for references to be added as the devlops of VI.

    Thank you

    Kellen

    rkmadse wrote:

    When you say I can clustor FP, say things that I did, and I have a group of controls such as those below in a clustor. I still have to generate reference constants, which are then placed in clustors. If I want to disable I would have then to consolidate each reference in the clustor, then ungroup and disable each control individually. I bet I'm really missing the point here and I'd love more explanation.

    Thank you

    Kellen

    My main problem is not being able to place real dangerous in a Clustor.

    You think about transportation, when I talk about the horse. Your façade elements can be in a cluster, and then you can use the reference to the pole to disable all. See:

    You will get a façade looking slightly different between the two options if you use disabled and Grayed out because when you grey on the whole cluster, the gray edges. When you gray unique items in the cluster, the cluster edges remain normal.

  • VI of script to read comments of block diagram

    Hi people,

    I have a small project to attempt to harvest comments in the block diagram, perhaps the help of scripts of VI. So, for example, when I'm checking #ToDo comments, I can get a list of the VI appearing in the #tag and collect the text. I think I found the method to get the comment, but I don't know how to recover the text in the comment. Here is a picture of how to get to observation in the block diagram (just using this as one small example VI)

    Thanks for your help!

    Rik

    James.Morris wrote:

    Here's what you want. It is worth noting that the current code only outputs the comment outside the structure of the case because you will need to dive into the structure for what anyone inside.

    Yes this will cross all GObjects, but I'm sure there's a bookmark API Manager that will return comments bookmark if this is what you are looking for.

    EDIT: Okay, there's an invoke node returns info bookmark on a VI but the VI reference may not be running.

  • Block diagram open

    Is there a way to tell if the block diagram is open when a VI?  I have a Subvi, which is defined in modal when it is opened.  When troubleshooting, if I run my application, but forget to disable modal for the Subvi forcing the system to lock upward.

    It would be nice if I could set the property of the VI not be modal if the schema has been opened.

    Any suggestions?

    I would try to do several things:

    1) go to the properties of the VI > appearance of window and click on the Customize button. From there, uncheck the box for "see the front when it is called.

    (2) when the VI starts, read the 'Front Panel Window.State' VI property - this will tell you if the window is already open, (IE, if the window is open, the State of the window will be 'standard', "Increased" or "Reduced"). Note: This is the visibility of the front, not the block diagram

    (3A) if the VI is not already open, set the 'Front Panel Window.Behaviour' property to modal and then open the front panel by using the node to invoke VI of "Front Panel.Open". It's basically imitating the behavior you describe this moment.

    3 (b) if the VI is already open, set the property to the default or floating behavior to allow you to click other windows.

    (4) when it is finished, if the VI is not already open, close it manually using the Panel.Close before invoking node (if it was already open, leave it open)

    I've attached a screenshot of that sort of thing. I hope this helps.

    Shaun

Maybe you are looking for