LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

programmatically make current value default for just one control

Hi,

I am looking for a way to store the current value of a control (just one, not all) as the new default value programmatically. For this, I can't use the invoke method 'Make current values default', since that saves all front panel control and indicator values. I found out that I cannot hook up a reference to a control to this invoke method.

Does anyone have an idea?

Thanks,
Joost
0 Kudos
Message 1 of 3
(3,069 Views)
Hi,

one solution is to safe the default value into a file and read it out when
you like to set your control to default. Not very fine but works.

Niko
0 Kudos
Message 2 of 3
(3,068 Views)
Thanks for your posting.
That was indeed plan B. I was just hoping there was a fancier way.

Joost
0 Kudos
Message 3 of 3
(3,068 Views)