LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problem with units squared

I am using LabVIEW 8.6.1, so I am not sure if this has been addressed in newer versions.

 

I have attached a VI that illustrates the problem I am having.  Units are not squared when connected to the "Square" function.  Furthermore, you can get inconsistent results since everything is really stored in the base unit, and only converted for display or when you insert a "Convert Unit" function.  I would expect the Square function to behave exactly the same as the Multiply function with the same input value on both terminals, but this is not the case!

 

One example here:

Using the Multiply function

4000m * 4000m = 16,000,000m^2 = 16 km^2

but using the Square function:

(4000m)^2 = 16000km (clearly 16,000,000m equals 16,000km but the untis should be squared and hence should be 16km^2)

0 Kudos
Message 1 of 2
(2,002 Views)

This has been brought up before. It's still broken as far as I know.

0 Kudos
Message 2 of 2
(2,000 Views)