LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Run time Property settings

I want to set some of the property of the front panel controls at run time. These properties can be differents. I want to set it by name.
e.g. Test.text = "test"
OR DUT.text = "HP 8350"
OR TestResult.ColumnHeading = (1,2,3,4) etc.

Here with attaching one file which explain my current approach.
But in this it restrict my usage of Control and their properties as well.

I want to use each kind of property available for selected control programmatically. If any one have idea how I can do it using LabVIEW plz. let me know.

I am using LV 7.0

Regards Vishal
0 Kudos
Message 1 of 2
(2,606 Views)
Because properties available vary with the type of control this is not as straighforward as one might think. If you limit yourself to just a few types, and obtain references dynamically from a front panel -> controls reference list, and use the To more specific class function to get access to the right properties it can be done without that much work...to make a more general tool is demanding though.

However - if that's your ultimate goal - in the last LTR issue a property saver toolkit by Konstantin Shifershteyn is discussed, and the toolkit is available on the web, check it out at:

http://www.kshif.com/lv/index.html
0 Kudos
Message 2 of 2
(2,606 Views)