取消
顯示結果 
搜尋替代 
您的意思是: 

How to reset everything to default?

已解決!
前往解決方案

Hi there,

  Is there any way to reset all controls to default? I search it here and someone suggest to use the "Reinitialize Values to Default" in the Edit menu, it works for the value field. But to some control like Case Structure, it doesn't work. Any other suggestion (without any programming)? Thanks

0 積分
1 條訊息(共 8 條)
14,120 檢視

A case structure is not a control.

 

To reset a VI to the way it is stored on the disk, you could try a "menu..file..revert..." (of course if you did not edit anything yet, it might be greyed out).

0 積分
2 條訊息(共 8 條)
14,118 檢視

@dragondriver wrote:

Hi there,

  Is there any way to reset all controls to default? I search it here and someone suggest to use the "Reinitialize Values to Default" in the Edit menu, it works for the value field. But to some control like Case Structure, it doesn't work. Any other suggestion (without any programming)? Thanks


You can also do it programmatically using Default Values:Reinitialize All To Default Method as shown below...!!

 

Reinitialize All.png

 

And Case Structure is not a Control... its, obviously, a Structure... and every time it will execute based on the value tied to its Case Selector terminal..

in order to execute its default (or any other specific) frame, you need to control the value tied to its Case Selector terminal.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 積分
3 條訊息(共 8 條)
14,109 檢視

@moderator1983 wrote:

And Case Structure is not a Control... its, obviously, a Structure... and every time it will execute based on the value tied to its Case Selector terminal.. in order to execute its default (or any other specific) frame, you need to control the value tied to its Case Selector terminal.

I was under the impression that he wants (in edit mode!) to have the visible cases the same as they were when first loaded, even after some manual flipping to other cases during editing.

0 積分
4 條訊息(共 8 條)
14,101 檢視

@moderator1983 wrote:

@dragondriver wrote:

Hi there,

  Is there any way to reset all controls to default? I search it here and someone suggest to use the "Reinitialize Values to Default" in the Edit menu, it works for the value field. But to some control like Case Structure, it doesn't work. Any other suggestion (without any programming)? Thanks


You can also do it programmatically using Default Values:Reinitialize All To Default Method as shown below...!!

 

Reinitialize All.png

 

And Case Structure is not a Control... its, obviously, a Structure... and every time it will execute based on the value tied to its Case Selector terminal..

in order to execute its default (or any other specific) frame, you need to control the value tied to its Case Selector terminal.


Thanks a lot. Could you please tell me where to call out the Invoke Node block? I only see one under [Programming]->[Application Control]->[Invoke Node] but there is no such item "Default Values".

0 積分
5 條訊息(共 8 條)
14,099 檢視
解決方案
接受者 dragondriver

Place the very same invoke node on the block digram, right click it and select Select Method >> VI Server >> VI >> VI.

 

Select VI Class.png

 

After that again right click it and select Select Method >> Defailt Values >> Reinitialize All To Default.

 

Select Method.png

 

 


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


6 條訊息(共 8 條)
14,086 檢視

You need to first select the right class:

 

 

(EDIT: mod was faster ;))

 

 

0 積分
7 條訊息(共 8 條)
14,085 檢視

@altenbach wrote:

You need to first select the right class:

 

(EDIT: mod was faster ;))

 


once in blue moon... 極度高興的表情


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 積分
8 條訊息(共 8 條)
14,076 檢視