The Daily CLAD

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

Re: Not Cluster

SercoSteveB
Active Participant

Assuming the value of U8 Numeric, U16 Numeric, U32 Numeric, I8 Numeric, I16 Numeric and I32 Numeric are all set to 1.  What is Output Cluster following execution of the VI?

Not Cluster 17_12_2014.png

Not Cluster Answers 17_12_2014.png

Comments
MrStevenUND
Member

D

Can't be B since unsigned cant go negitive.  Assuming NOT is bitwise, C is incorrect for the signed values.  A had no change.

kasliwal
Member

D.

'NOT' does bitwise complementation.

I had to look this up: I8 bit representation is interpreted in two's complement format. Therefore

11111110 for I8, gives - 2.

A.Bernau
Member

As far as I remember for data representation for signed integer: If most significant bit is set it should be a negativ value and it cant be B how MrStevenUND explained....
answer is D

LordNobady
Member

D The not makes the signed negative and the unsigned sty positive. D is the only option.


Learning LabVIEW since January 2013
crossrulz
Knight of NI

D.  It is doing a bitwise inversion.  From there, you need to know 2's Compliment.


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
nik35324
Member

D

mini09
Active Participant

D, for unsigned 8 bit integer the formula would be (255-1), and for Interger it would be (-x-1). I found this on wiki, http://en.wikipedia.org/wiki/Bitwise_operation

SercoSteveB
Active Participant
M.P.Bharghavi
Member

Ans:D