11-17-2007 02:14 PM
11-18-2007 12:40 AM
@cbfsystems wrote:Is there a relative easy way to "inherit" the properties from the XYGraph control?
09-27-2008 06:24 PM
I was surpised to read that an XControl doesn't inherit the properties of controls on its facade. Have more recent LabVIEW versions changed this behavior? I couldn't find anything in 8.5.1. Is the LabVIEW team planning on adding this capability? It sure seems like a must-have to me.
Thanks,
Alan
09-29-2008 08:35 AM
It is probably not as straight-forwards as you might think to do the inheiritance, since an xcontrol will generally be composed of multiple controls. For instance, I drop a horizontal and vertical slider on my xcontrol...which control should the slider scale property be linked to?
That said, it would be nice to be able to click on a control and tell it to auto-create the property node directories in the xcontrol library that aren't already created. ie. You right click on a numeric control on the facade and select autopopulate properties, and the xcontrol has the correct directories created automatically, including empty default VI's. you just delete the ones you don't need.
Another nice addition would be a pass-through property node, where you define a property node that is a direct connection to the control on the facade. But the programmer would have to specifically define it in some manner. (This would be similar to passing a reference to the control via the xcontrol State typedef and using a property node in the property subVI to do the update. Difference would be you wouldn't need to create the property subVI, it would be automatically created in essence.)