VeriStand

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

Main Menu values

Most of my Custom Devices retain last values selected on the Main Menu, but I have some that do not.  Is Veristand expected to retain the values, or should I be using VI "Make Current Values Default" to force the behavior.  If Veristand does have the option to retain values, is there a setting that I am missing?

0 项奖励
1 条消息(共 5 条)
5,974 次查看

Hi DinaDemara,

 

It looks like the VI you're looking for is this one:

http://zone.ni.com/reference/en-XX/help/372846H-01/veristandmerge/vs_set_custom_device_channel_defau...

 

Regards,

Joel I.
Applications Engineer
National Instruments
0 项奖励
2 条消息(共 5 条)
5,938 次查看

Are there any examples using this?  All the Main Menu examples just seem to show vs_set_item_property.

0 项奖励
3 条消息(共 5 条)
5,933 次查看

Are there any examples using this?  All the Main Menu examples just seem to show vs_set_item_property.

0 项奖励
4 条消息(共 5 条)
5,933 次查看

DinaDemara,

 

When you say "Main Menu" do you mean the controls on your custom device main page?

 

If so you will need to make sure that the values the user inputs into those controls are stored somehow, likely as properties of that page.  Then you will have to read those properties and write them to the controls when the page launches.  So in additions to the Set_Item_Property VI, you will need to use the Get_Item_Property VI at the beginning of the custom device page VI.


The NI-provided template for custom device pages demonstrates this functionality with the description control.

Chris
Certified LabVIEW Architect
Certified TestStand Architect
0 项奖励
5 条消息(共 5 条)
5,922 次查看