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.

The Daily CLAD

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

Re: Interleave Arrays

SercoSteveB
Active Participant

What is Numeric Array Out following execution of the VI?

Interleave Arrays 08_09_2016.png

Interleave Arrays Answers 08_09_2016.png

Comments
crossrulz
Knight of NI

D

Almost had me with the datatypes


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

Yes Answer: D

If the destination type is unsigned, the resulting value is the least unsigned integer congruent to the source integer (modulo 2^n where n is the number of bits used to represent the unsigned type).

N=32 (It U32)

2^32 = 4294967296

If the output type is integer the Answer is A (-1)

nik35324
Member

D

ReeceTredway
Member

D

Had to look close to set data type correctly back at the empty array

MrStevenUND
Member

D. 

SercoSteveB
Active Participant

Answer: D.  Nice one crossrulz (close one), VenkatStony, nik35324, ReeceTredway & MrStevenUND.

Those sneaky little data types

levonsg
Member

D

https://images.youracclaim.com/size/340x340/images/2edb5b1a-9414-44e1-8519-c774fc6dd079/36015_Certificate_Badges_FINAL__1__NI_Instructor_v5.png
NishaV
Member

D