The Daily CLAD

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Boolean to (0,1)

SercoSteveB
Active Participant

What is the value of Numeric Value Out following execution of the VI?

Boolean to Number.png

a) 1

b) 8

c) 16

d) 32

Comments
hemanths
Member

C,

Directly copied from Labview help, Boolean To (0,1) Converts a Boolean FALSE or TRUE value to a 16-bit integer with a value of 0 or 1, respectively.

anusooya
Member

C 16

crossrulz
Knight of NI

C

I did remember that it did not return an I32, just couldn't remember what the default data type was.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
vnkat62
Member

C

nik35324
Member

C

Sonti_11532
Member

Answer is "C"

MrStevenUND
Member

C

Matt-A.
Member

C

SercoSteveB
Active Participant

Answer: C.  Not sure why you would ever need to hold this sort of information in your head, but it would be nice to know the rationale used by NI when deciding the output data type of certain nodes.