No. Obviously you can't change dynamically feet for millibars; you must stay
consistent and stay with the base units.
What you can do is to use controls and indicators with no units and use
different "Convert units" functions in a case structure to convert the
displayed number to required units. For example, you may have a boolean on
the front panel to select US or SI units. Before wiring a length display,
you pass the wire(length units) to a convert to "m" or convert to "ft"
functions. The same after reading a control.
--
Jean-Pierre Drolet
Scientech R&D inc
Trois-Rivieres-Ouest (Quebec)
CANADA G8Z 4H1
Randall Miller a écrit dans le message :
20000419221459.26268.00001344@ng-fa1.aol.com...
> Is there any method by which a control
's units attribute cam be set
> programatically?
> Randall Miller