LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to reset a control

Hi
I am using a dial control to set a speed value for 2 out of 3 tests. The
third test however is only allowed to have one set value. As such I have
used a case structure which when tests 1 & 2 are selected, allows the value
dialled to be used for the speeds, while when test three is executed it
sends a constant and disables the dial. My question is, is there a way to
move the dial to the value of the constant for aesthetic reasons when test 3
is activated?

Any help would be appreciated.

Martin.
0 Kudos
Message 1 of 4
(2,737 Views)
create a local variabe for your knob and write the constant to it.



-**** Posted from RemarQ, http://www.remarq.com/?a ****-
Search and Read Usenet Discussions in your Browser - FREE -
0 Kudos
Message 2 of 4
(2,737 Views)
I think there is a way to set a dial to be both a control and an indicator
at the same time (or maybe alternatively). You would switch the knob to be
an indicator and then set a value. Or, alternatively, you can disable the
knob (Create atribute node, disable) and set a value.

Tolga

Martin Stanley wrote in message
news:384da114@newsgroups.ni.com...
> Hi
> I am using a dial control to set a speed value for 2 out of 3 tests. The
> third test however is only allowed to have one set value. As such I have
> used a case structure which when tests 1 & 2 are selected, allows the
value
> dialled to be used for the speeds, while when test three is executed it
> sends a constant and disables the dial. My question is, is there a way to
> mov
e the dial to the value of the constant for aesthetic reasons when test
3
> is activated?
>
> Any help would be appreciated.
>
> Martin.
>
>
0 Kudos
Message 3 of 4
(2,737 Views)
Create and use a local variable to write to the control when you are in
that test.

Martin Stanley wrote:
>
> Hi
> I am using a dial control to set a speed value for 2 out of 3 tests. The
> third test however is only allowed to have one set value. As such I have
> used a case structure which when tests 1 & 2 are selected, allows the value
> dialled to be used for the speeds, while when test three is executed it
> sends a constant and disables the dial. My question is, is there a way to
> move the dial to the value of the constant for aesthetic reasons when test 3
> is activated?
>
> Any help would be appreciated.
>
> Martin.
0 Kudos
Message 4 of 4
(2,737 Views)