All objects property node and grouped objects

Hi
I am trying to position a the objects on my GUI in the centre of the screen using property nodes. However, I do not want to have to have a property node for every decoration, image and control. Is there a way that I can group all the objects and then use a property node to position them? I have tried using the all objects property node but none of the indexes seems to apply to my group of objects.
Help please!
Many thanks.
John
p.s. i have uploaded my test vi's. The chart, decoration and exit button have been grouped. use the control on check.vi to set the object to move. 
Solved!
Go to Solution.
Attachments:
check.vi ‏13 KB
run.vi ‏13 KB

Tab pages are a nice way to group GUI objects.
Instead of using a decoration,
use a tab control
Remove all but the first tab
Hide the tab
Set the proprties of the tab control and the control on that page will move, hide, show along with the tab control.
I hope that helps,
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • Tentative bug report: property node (and other objects) resizes structure in which they are dropped even when this is not needed

    This one has bugged me for a while, so, since I am in a mood to report annoying features, here it is:
    On the diagram, when you drop an object that could have its size increased by user action (for instance a property node in which you chose "Value", which is a short property, but you could later change this to a "longer" one, which admittedly might require more space on the diagram), a case structure in which you drop it, will automatically increase its size.
    Let me illustrate this with ONE example (can be reproduced with other objects such as enums, clusters, etc...).
    Here is a simple diagram:
    Note that I am going to create a property node from the front panel. This, for a reason that makes the beauty of this "feature", is very important. Apparently, if you create the property node from the diagram, nothing weird happens. The exact location where I will drop the node is not very important but needs to be close enough from the border.
    Here is the result (LV 2011 but as I said, this has bugged me for a few versions already):
    Basically, the case structure (and the whole diagram as a matter of fact) has expanded.
    This is particularly annoying, say, when you are creating a diagram with 10 cases in a case structure and you start dropping things such as property nodes in each case: the structure keeps growing, and growing, and growing...
    That also works with Event structure, and I am ready to bet, with other as well.
    As I said, it is also not limited to Property nodes. I have noticed that this happens if you drop a cluster constant that contains an enum (presumably because some of the enumerated strings are longer than others).
    I could speculate why this is the case, but that is not my job.

    Actually, this might not be true. I found a variant of this behavior. With "Place Structure with Auto Grow enabled" unchecked, here is what I observed while dropping a property node on my diagram:
    Before:
    After:
    This is the expected behavior. The Property Node is partly hidden inside the Case Structure I dropped it in. Now that's not what I wanted to do. I wanted to drop it in in the innermost Case Structure:
    The problem is that now this Structure has grown (as has the whole diagram) to leave space for the whole Property Node:
    It is a subtle bug in the sense that I tried to reproduce it on a new VI with a series of nested Case Structures, but it did not result in this behavior.
    Anybody caring to comment?

  • Where can I find docs on all the property nodes

    Are all the property nodes for things like waveform charts and graphs documented somewhere. I have looked throught all the .pdf files that came with LV ( at least I think I have ) and haven't been able to find what I'm looking for.
    If someone could point me to where all these are documented I would be most appreciative.
    Thanks.

    The LabVIEW Help describes every VI Server property and method. The easiest way to find the help for a specific property and method is to select the property or method in the Property or Invoke Node, right-click the node, and select Help for xxx from the shortcut menu, where xxx is the name of the property or method.
    In LabVIEW 6.0, you can browse the property and method help by selecting Help>Contents and Index, clicking the Contents tab, and navigating to Networking in LabVIEW>Properties and Methods.
    In LabVIEW 6.1, select Help>VI, Function, & How-To Help, click the Contents tab, and navigate to Programmatically Controlling VIs>VI Server Properties and Methods.
    Kelly H
    LabVIEW Documentation
    National Instruments

  • Descritpti​on of property nodes and what they mean

    Does anybody know where I can get a good description of property nodes and what the specific properties mean?  The help files are a start, but in many areas they are kind of lame..

    My company is sending a representative to NI Week to meet with some head honchos from NI on possible improvements and suggestions.  I have added what you are asking for to the list of what will be discussed.  In addition to property nodes, I am asking for documentation of all methods.  I've seen a large TestStand poster that lists API calls, properties and methods, and such.  I think the same ought to be done with Labview.  Of course that poster would be humongous.  Any kind of document would suffice.  I am anxiously awaiting the outcome of this meeting.
    Many other items are on the list, including some issues that were brought up in this forum.  I have asked for a way to "comment out" sections of code without having to use a case structure set to false with all the wiring changes.  Another item I asked for was a wizard to automatically generate the basic code for some architectures, like producer-consumer, state machine (simpler that using the state machine toolkit), and such.  Many others here have joined in to make suggestions, too numerous to list them all here.
    - tbob
    Inventor of the WORM Global

  • Programmatically Change a Property Node Link to Object

    Is there a way to programmatically change a "link" to an object in a property node?  I'm trying to create a user configurable front panel for a project that I'm working on, in which the user can change the caption for numerous controls and indicators.  I would like to set-up a for loop that will take information contained in a string array and change each caption accordingly, instead of having 100 different property nodes on the block diagram.  If you need anymore details, let me know and maybe I can attach a picture to the response.

    There's various ways you can do this as far as exact implementation. You will need to use something to identify which control you're dealing with. Attached is one way that uses the control's label as a lookup. You could, for example, use a default caption instead to make it more apparent to the user which control they're specifying to change.
    Attachments:
    change captions.vi ‏20 KB

  • Feature restore request. (allow locked and grouped objects to be able to tagged.

    In CS2, using the direct selection tool, I'm able to select and tag the image even if it's grouped and locked, no script needed at all, no sweat and fast!
    Furthermore this XML element can also be moved freely in the structure hierarchy after tagged and remains grouped and locked.
    In CS3 and CS4,
    I can't do that.
    It will give a warning message "Cannot modify elements that contain locked content, or are contained by locked content. Please unlock or check out the content and try again."
    So need to write script to unlock the image's parent first, and then tag and locked the object back automatically.
    (This script is essential so as to prevent any unintentional and accidental change on the page layout if it's done manually)
    But to make matter worse, grouped objects will need to also find out all these ancestors and have them unlocked first!
    It creates alot of hassle! Really being user-unfriendly in CS3/CS4 when doing such a simple xml tagging task.
    PLEASE please restore the wonderful CS2 feature back in the next version of Indesign.
    MILLIONS of thanks!!

    I'd suggest you submit your suggestion through the iTunes application feedback page. It's more likely to be seen by the iTunes development group that way.

  • Grouping objects then moving the grouped objects

    In adobe Pro XI when I group objects and try to move the grouped objects only one of the objects move. I need to move all the objects at one time

    I'm not able to reproduce this issue.  Are you using the Edit Text & Images tool to select your content within Acrobat XI?

  • Broblem with property node and DAQ-card

    Hi!
    I am using NI DAQ-card to control mini relays and I have a following broblem. I use a "binary" button to control the DAQ-assistant and so on the relays. I have made property node of the "binary" button and set it to value mode(write). When I change the value of property node, the "binary" button in user interface works properly, but the the relay doesn't change the state.

    The boolean array constant that you are writing to the property node is empty. That is it has been defined as a boolean array, but it has no elements.
    The array constant on the left is an empty boolean array. Notice that all teh boolean constants are grayed out. This indicates that none of the constants are 'active'. The array on the right contains 8 active elements. Note that the 8 elemants are more solid in color adn the the 9th element is grayed out.
    What you need to do is define your boolean array with the proper constants to turn on or off the proper digital lines.
    EdMessage Edited by Ed Dickens on 05-25-2005 09:15 AM
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
    Attachments:
    emptyarrays.png ‏2 KB

  • Error with property nodes and svx_DAQmx Popup for DSA.vi

    Some example vi of the sound and vibration toolset 3.1 use property nodes with an undefined class (e.g. svx_DAQmx Popup for DSA.vi). I use Labview 7.1 and NI-DAQmx. Could it be that the vi uses classes from traditional NI-DAQ?

    The error occurs in:
    C:\Programme\National Instruments\LabVIEW 7.1\examples\Sound and Vibration\Utility\Daq\DAQmx\svx_Get DAQmx Info.vi
    C:\Programme\National Instruments\LabVIEW 7.1\examples\Sound and Vibration\Utility\Daq\DAQmx\svx_DAQmx Popup for DSA.vi
    see also attached screen shot.
    It is a new installation on a PXI-system, WinXP, LabView 7.1, SVT 3.1, NI-DAQ 7.4 (only DAQmx driver installed). The examples had not been tested before.
    Attachments:
    screenshot.jpg ‏144 KB

  • How to increment array that contains two clusters whose visibility is controlled by a visible property node and selected by a radio button.

    I am trying to use a property node: visible in order to enable or disable one of two clusters. These clusters are in a larger cluster and this larger cluster is in an array. The two clusters are controlled by a radio button (one labeled transistor and the other diode). When diode is selected, the corresponding diode parameters cluster should be visible and when transistor is selected, the corresponding transistor parameters cluster should be visible. In the mean time, the cluster of the device that is not selected should not be visible. There are at least 45 elements in the array (but not more than 45). Data is entered into each cluster (diode or transistor data) for each element in the array via the increment/decrement. The problem is when you select the first radio button (transistor) and enter data, when you increment the array for a new device selection, since a visible property node was used on the cluster, a loop is created where a new cluster is trying to be shown, but the old cluster is also trying to be shown (because it is the one referenced by the property node. How do I get rid of this loop and still be able to increment the array and keep my data intact for future use? Attached is the vi
    Attachments:
    ChooseScan.vi ‏17 KB

    You could try something like this.  However, if you know how to use an xcontrol, that would be a better way to implement the above functionality so that these UI characteristics are not a part of your main VI.  The problem with the above VI is that you're looping every 100 ms just to update your UI.
    Also, try using the "disabled" property node, instead of the "visible" one.  That way, the user will still see the options he has but they will be grayed out.
    Message Edited by Sudhir Gopinath on 06-25-2007 04:45 PM
    S G
    Certified LabVIEW Architect, Certified TestStand Developer, Certified Professional Instructor
    Attachments:
    ChooseScan_1.vi ‏19 KB

  • HT4759 So I moved my contacts and calendars to icloud. THEN I find out that 2010 outlook is not supported--so how do I get all of my contacts and groups back into OUtlook 2010. It had better not be one at a time.

    I moved my contacts and groups as well as calendars to icloud. Nor I can't use them in outlook 2010--which I now know is not supported--how do I reverse what I have done?

    Outlook 2010 is supported, as is 2007.

  • Appraisals object type VA and auth object P_HAP_DOC

    The system is running 2005 version. While running
    APPCHANGE tcode the program ignores values in PD Profile
    for object type VA. Furthermore the program bypasses
    the check against P_HAP_DOC object. Any hints why this happens? F.ex 2005 IDES system we have performs these checks ok.

    Hi Carlos,
    The Otype VA - Template, VB- Criteria group and VC - Criterion.
    The hierarchy is as follows
    VC is blow VB is below VA.
    The objects as such wil be created in the HRP1000 as usual.
    In addition, there are tables which starts with HRHAP* which holds the appraisal document related data.
    But the table contents cannot be seen from SE11 or SE16. Create a SQ01 Quick viewer query for the Database tables.
    Hope this helps.
    Reward points if it helps you.
    Regards,
    Subbu.

  • Difference in the count of deleted objects in recyclebin and user objects

    Hi
    I m using Oracle 10G in windoes 2003 server. We queried on the recycle bin and the user objects for the deleted objects and found that the count is different. Here are the queries which i used to check.
    1. select object_name from user_objects where object_name like 'BIN$%'; 
    2. select * from recyclebin;
    When i ran 1. in our user mshist and msmodel, the counts were 343 rows in mshist and 514 rows in msmodel.
    when i ran 2. in our user mshist and msmodel, the counts were 353 rows in mshist and 530 rows in msmodel.
    Kindly advise me why exactly is thr the difference as they both are checking the deleted objects in a schema.
    Thanks
    Ram

    Join to views and use MINUS to get the list of nonviewed objects and their types
    select * from recyclebin
    minus
    select object_name from user_objects where object_name like 'BIN$%'; - - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • What does mean "property node and invoke node"?

    I want to read excell file and could program it with refering to this discussion board.
    But I can't understand details of this process.
    For examples , What does mean to put "workbooks,visible,Displayalert"?
    and What does mean "open,filename,etc・・"?
    I want to be taught this object meaning each process as minutely as possible.
    Hope your help!
    Attachments:
    設定配列読込(Excel to string table).vi ‏64 KB

    Typically with any activeX programming in labview you drop an reference to an object , open the reference, then invoke the methods and set the properties and when done you close the reference.  To select what reference you would like right click on the activeX reference and choose "browse".  The excel object library provides many activeX interfaces but typically you would manipulate the application object, Workbook or worksheet but I have only used the excel interface a few times, I prefer to use excel offline and not directly communicate with the application programmaticly.  You can also place an axtiveX container on the front panel and select the Excel container object to embed an excel instance on your front panel.  Good luck.
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • Object Serialization(Materialization and Dematerialization)

    I've encountered some issues with mapping my objects to an RDBMS and am hoping for some advice.
    I've tried various O/R mapping frameworks like Castor(too complex and too slow for my liking), JRF(nice but very repetitive and difficult to extend) and then some, but have yet to find one which I'm comfortable with building an application on.
    Instead, I've chosen to do it the low-tech way, with each domain class, say Book for instance, having a Broker class which knows how to communicate with the chosen form of persistence. So, since I chose an RDBMS, Book class has a BookRelationalBroker class which knows how to materialize and dematerialize Book objects to and from a RDBMS. If so required, I can plug in a BookXMLBroker which knows how to serialize the object in the form of an xml data file.
    I've also implemented a primitive object caching system which (when enabled), caches objects requested so we only have to materialize it from the db once.
    Here are 2 issues I have with my system:
    It is amazingly tedious (not to mention inefficient) to recreate the entire object from the database. This is even more so because I've implemented the Event Notification pattern, such that when say a book is deleted, the members who have reserved it are notified. The whole point of the Event Notification mechanism is so that the object being watched does not need to know of the objects which need to be notified on a state change. However, I've found it necessary to re-attach all the listeners on an object when it is materialized from the DB, defeating the purpose of the pattern.
    Complex object relationships are mapped poorly and recursive materialization leads to slow response times. If a Group object has a Vector of Members and other Groups, then whenever a Group object is materialized, all its constituent Members and Group objects also need to be materialized. (I understand O/R frameworks solve this through lazy instantiation)
    I studied the Jive2 architecture and found that they approached this problem by accessing the DB directly for any complex object relationships. In other words, the Group object does not actually contain a Vector of Members and Groups. Instead, it has a method called say getMembers() which proceeds to retrieve the necessary data from the DB and then materialize these objects.
    I'm not too excited about this approach for 2 reasons:
    How object-oriented is this approach? Seems more like database-oriented programming to me.
    Every call to retrieve Members necessitates a call to the DB. The data isn't cached with the Group object because the Group object does not actually contain the necessary reference to the Members and Groups.
    Can anyone shed some light on this topic?

    How object-oriented is this approach? Seems more like database-oriented programming to me. There is a reason people still use Relational databases rather than OO DBs. First, is that the vast majority of data in the real world maps easily to a relational model, consequently there is no advantage to a OO model. Second, either because of this or simply because OO models are not computationally simple, OO databases tend to be slower than relational DBs.
    It sounds like you are trying to implement a OO DB model using a relational database. So you basically end up with two problems. The DB is not optimized for OO models, and you have to find a way to map it in the OO model itself. And this is slow and messy.
    To solve the slowness problem you could, just like EJB servers, cache the data in memory. Lot of work but if you want to do it then have fun.
    The second way is to give up. Realize that your data model is not inherently OO'd and just implement it efficiently as a relational model. Then provide an interface that loads it into the OO model. And where needed add pass through logic to allow the database itself to do things it is really good at - like queries.

Maybe you are looking for