LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

units cause overhead?

Hello everybody,

I was wondering whether it caused any overhead to use units
within a LabView program. Or if you do not use any units,
this just means that the "unit attribute" is set to zero (or
another nil value) and thus uses the same resources as
having set it to some different value.

Thanks for the help,

Tobias
0 Kudos
Message 1 of 2
(2,851 Views)
> I was wondering whether it caused any overhead to use units
> within a LabView program. Or if you do not use any units,
> this just means that the "unit attribute" is set to zero (or
> another nil value) and thus uses the same resources as
> having set it to some different value.
>

Most of the overhead of numeric units is done at compiletime.
At runtime, the only thing that happens is a linear scaling
when you display the number. The rest of the time, all values
are passed on the diagram in SI units and no conversions are
done.

Greg McKaskle
0 Kudos
Message 2 of 2
(2,851 Views)