From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Coersion dot at boolean AND by using I16 and Hex controls. What is LabVIEW doing in the background?

Solved!
Go to solution

Hello Community,

I am struggling to understand what LabVIEW is doing exactly in the background if you connect an integer 16 value and a Hex-Value to a boolean AND.

I just saw a conversion dot but I am not sure what LabVIEW is doing exactly.
Is it breaking down the problem by using boolean arrays which represents the bit structure of these numbers or is it doing something else?

In the attachment you will find a snippet for explaination reasons (LV17)

 

Thanks for your help

Regards

 

0 Kudos
Message 1 of 4
(2,298 Views)
Solution
Accepted by topic author D-Kid

What are the datatypes of the two constants attached to the AND?

 

HEX is only a display option, it has nothing whatsoever to do with the actual datatype.

 

My guess is that the datatype of both constants do not match, hence a coercion (which doesn't show up in the snippet BTW).

Message 2 of 4
(2,294 Views)

Opened with LV17. I don't see any conversion dot, which is expected as both constants are I16 values.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 3 of 4
(2,291 Views)

Hi,

thank you very much for your quick answer.

You are right. It is just a display setting. I did not see it obviously.

The coercion dot gave me some confusion referring the bit-wise comparison of the input.

 

 

 

0 Kudos
Message 4 of 4
(2,282 Views)