Just as with local variables, you can either read or write the property of an object (although a few properties are read-only). Each object has a set of base properties (common to all types of controls), and usually, an additional set of properties specific to that type of control. Now you have the choice of which property or properties you wish to select. To see what options you can set in a control’s property node, click on the node with the Operating tool or pop up on the node and choose property. A terminal with the same name as the variable will appear on the diagram. To create a property node, pop up on either the front panel object or its terminal and select a property from the Create>Property Node submenu. These types of changes can help create a more intuitive user experience. For example, you could change the color of a thermometer indicator from green to red as its numerical value increases. The key word here, programmatically, is changing the properties of a front panel object according to an algorithm in your diagram. Property nodes allow you to programmatically control the properties of a front panel object: things such as color, visibility, position, numeric display format, and so on. With property nodes, you can start making your LabVIEW program more powerful and a lot more fun.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |