LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using SI Prefix for Numeric Controls in Clusters

When I assign an SI prefix to the units label of a numeric control (e.g. mV) that is part of a front panel cluster, the prefix is lost when I subsequently access the value of the control. For example, if I get assign an indicator to the output of an Unbundle or Unbundle by Name, the indicator has default units of "V". I can explictly edit the Units String of the new indicator to include the SI prefix, e.g. to "mV", but I would have thought that this information should be propogated automatically. If I create an indicator for the cluster itself, the units of the numeric value are correct.

Is this a LabView bug?

Thanks,

Lyle

0 Kudos
Message 1 of 4
(3,151 Views)
Hi,
Could you attach a VI that reproduces the incorrect behaviour because I do not really understand exactly what is going on....
Regards,
 
David D. - Application Engineer - NI France
0 Kudos
Message 2 of 4
(3,138 Views)
Hello,

Here is a simple example.

Lyle
0 Kudos
Message 3 of 4
(3,137 Views)
Hi,
 
My guess is that the prefix is not part of the datatype. It is part of the scaling. Where as the unit itself is part of the datatype. However that is probably not what you expect.
Regards,
 
DD
0 Kudos
Message 4 of 4
(3,122 Views)