You are tasked to write a VI?
INPUT(s): 1D Array (Numeric Array In) of I32 numerical values.
OUTPUT(s): 1D Array (Numeric Array Out) of I32 numerical values.
FUNCTION: The VI must return in Numeric Array Out the contents of Numeric Array In with all duplicate values removed.
Which of the following VI satisfies those requirements? NOTE: Multiple answers may apply
Have a go at coding the VI yourself or expand the Spoiler tag to see the possible answers.
B, C, D
B, C and D
Answer A)1. Sorts the input array. So the order/sequence of the output array is different (wrong)2. It deletes an element but uses the same index/numeration than before (wrong).
Answer B)Should be a possible answer.Running the snippet confirms answer B. Answer C)Should work, but I would prefer to use the shift register output.Running the snippet confirms answer C.
Answer D)Should work.Running the snippet confirms answer C
So answer b, c, d
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.