The Daily CLAD

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

Re: CLAD2017 - An Introduction to Sets 2 of 5

SercoSteveB
Active Participant

What are the contents of Numeric Array Out following execution of the VI?

 

Set 1.png

 

Set Answers.jpg

Comments
crossrulz
Knight of NI

D


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

Is the "insert into set" vi available in Labview 17(32 bit)? I don't see it anywhere in search

crossrulz
Knight of NI

Maps and Sets were new in 2019.


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

Only option D is the appropriate one.

wayrider
Member

D

Sangameshsh
Member

D

NishaV
Member

D

Matt-A.
Member

D   I have some uses for these sets.  In fact it simplifies a few of my data sorting routines. 

skian
Member

D

istan0227
Member

D

NishaV
Member

D

SoundNLight
Member

D

CA-Pioneer
Member

D. The loop iterates the array to do two things. 1) build the set by each element. 2) check if the element in the set already. if the element is included in the set, it does not flow to the output array. So the elements order of output array keeps the original order of input array.