06-13-2014 01:10 PM
Hi,
I have been working with an instrument driver that deals extensively with property nodes. I have never worked with them before and their purpose is a bit unclear to me. What is the programming reasoning behind property nodes and what kind of applications are they useful for?
Thanks
06-13-2014 01:15 PM - edited 06-13-2014 01:18 PM
Right-click on any of the property nodes and select "Help For Property Node." This is a very important LabVIEW concept. It allows you to manipulate the properties of a control programattically. For instance, you could change a control's enabled property to gray it out.
[edit]
Actually, it is called the "disabled" property. Go figure. 😉
[/edit]
06-13-2014 01:18 PM
I'd have to see the code to see exactly what they are doing with it. But Property Nodes can do all kinds of fun things. They set/get the properties of a control/indicator, VI, VISA Session, DAQmx Task, DAQmx Channel, etc. They are often abused to set the value to a control/indicator, which is not a proper way of using them. The most common thing I do with property nodes is to disable and gray out a control to keep users from playing with a control when I don't won't them to.