LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to reset everything to default?

Solved!
Go to solution

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 Kudos
Message 1 of 8
(11,772 Views)

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 Kudos
Message 2 of 8
(11,770 Views)

@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 Kudos
Message 3 of 8
(11,761 Views)

@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 Kudos
Message 4 of 8
(11,753 Views)

@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 Kudos
Message 5 of 8
(11,751 Views)
Solution
Accepted by 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.


Message 6 of 8
(11,738 Views)

You need to first select the right class:

 

 

(EDIT: mod was faster ;))

 

 

0 Kudos
Message 7 of 8
(11,737 Views)

@altenbach wrote:

You need to first select the right class:

 

(EDIT: mod was faster ;))

 


once in blue moon... Smiley Very Happy


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

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 8 of 8
(11,728 Views)