"Rob Young" wrote:
>>How can I programatically initialize the value of a Knob control? I want
to be able to dismiss a control pannel with knobs but when I bring it back
I want it to retain the last setting.
One way would be to use a local variable. If it is a sub-vi, pass in the
"old" value and set the knob with a local variable. If it is a top level
VI, read in the value from a file and set it with a local variable. This
would mean that you would have had to written a file at the end of the previous
There are other ways to do this, but this is the simplest.
I hope that this helps,