Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Autoscaling a dial.

Is it possible to auto scale a dial without having to go in and physically change it manually every time i want to use a different scale?

0 Kudos
Message 1 of 4
(3,655 Views)
Create a property node of the scale, select the range property
and put this in a while loop with a 100ms wait.
now you can update the range, when you want.
PS use a local for the value parameter.


greetings from the Netherlands
0 Kudos
Message 2 of 4
(3,653 Views)
in the range options i am allowed to choose all elements, maximum, minimum, or increment. Which 1 is the one i want to use , and what gets wired to it?
I only want my program to scale the dial once at the beggining.
0 Kudos
Message 3 of 4
(3,651 Views)
try range.max and fill in the value you want, before the main loop.
greetings from the Netherlands
0 Kudos
Message 4 of 4
(3,646 Views)