LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"Square" node doesn't handle units correctly

It's not likely that fractional powers of units will be supported in the foreseeable future.  Unit specifiers in the type definition are stored as nine 32-bit integers (which are the exponents of base units).  Supporting fractional powers would require major changes to the type definition structure.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 21 of 22
(489 Views)

I can understand that the management of fractional powers of units is difficult to solve (albeit this lets the treatment of units in LV incomplete as square roots of units are not so uncommon, for example in voltage spectral densities, V / sqrt(Hz)) , but I think the bug in the square function and other bugs in the management of units would be not so hard to solve and could be addressed in the foreseeable future.

 

For the other part, I was unable to find information in the LV help system about how functions (like square and square root) manage units. It would be of help for users to include this information in the LV help system instead of be forced to navigate the forums to get some scattered information about the issue.

 

0 Kudos
Message 22 of 22
(465 Views)