取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
1 条消息(共 2 条)
2,607 次查看
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 项奖励
2 条消息(共 2 条)
2,607 次查看