LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Input has an Unit for example(A,V,km),does the "formula node" work with it?

Is it possible to use the "Formelknoten"(formula node), while the input variable has an Unit for example (Ampere,Volts and so on!)?

Please answer the question in englisch or in german!

Thanks very much!
0 Kudos
Message 1 of 5
(2,991 Views)
Unfortunately, no. The formula node is unit-unaware. You'll need to strip the unit (using the "Convert Unit" function) before passing the wire into the formula node.

This is one of many unit-related behaviors that we would like to improve in a future version of LabVIEW.

Steven H.
0 Kudos
Message 2 of 5
(2,980 Views)
thank you, but how to convert the unit?

I like to work with with unit, how can i deal with this problem!
0 Kudos
Message 3 of 5
(2,975 Views)
Hello gnurt,

to convert a unit you can use "Convert unit" from numeric->conversion palette.
You can also "strip" ANY unit like shown in the picture.

Best regards,
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 5
(2,967 Views)
Its great, it seems to be simple, but i haven't found this convertunit function. I didn't realize that this function exist in general.

Thanks you all very much. Your tips were very helpful to me!

best wishes!
0 Kudos
Message 5 of 5
(2,945 Views)