06-27-2008 01:20 PM
06-27-2008 01:53 PM
I do not understand what you are referring to by "create a text control which is wired to the property node". You cannot wire a control to a property node. A property node is linked to a control. As for the "Disabled" state, this is a numeric value. If you have the Context Help window open and you hover the mouse over the node element, the Context Help will provide some short help on that property:
First from the left) I understand that you create a numeric first, then make a property node from the numeric. You can then create a text control which is wired to the property node. However, how does go about creating the different states "Disabled", "Enabled", and "Disabled and greyed out"?
To the first question: yes.
Second) Am I right to think that the select function receives either a reference to the Boolean or a reference to Numeric 2, depending on T/F of the control selection? Also, what does the property node on the right do and how do I create it? Why is it titled "Ctl"?
The answer to this is actually from my last statement for your second question above. In the "Application Control" palette there are Property Node and Invoke Node elements. When you plop them down on the block diagram you need to wire a reference to a front panel element to them so they know what to act upon. With control references there is sometimes the additional option of including the datatype within the reference. When this is done you will see a red star on the control reference icon on the front panel, and the property node will have the text "(strict)" in the yellow header, as that one in the subVI has. The datatype is used primarily if you access the "Value" property. If the datatype is known, then the color of the "Value" property will reflect the datatype. Otherwise, it will be of type "variant".
Third) The third example I fail to understand at all. Of course I see that the chart is made on the leftmost side and it's reference is sent to a SubVi. However, when I go to the subVI, I am confused. How does one create a Property Node like that (which includes creating entires such as "XScaleMaximum")?
06-27-2008 02:05 PM
06-30-2008 05:27 PM
06-30-2008 11:25 PM - edited 06-30-2008 11:26 PM