The Daily CLAD

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

Get Control Values 2

Active Participant

Which of the following contains possible contents of Control Values Out following execution of the VI?

 

Get Control Values 2.png

 

Get Control Values 2 Answers.png

Combined.png

Comments
Member

B again.  

Knight of NI

A


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Member

Got a chance to look it up.  I change my answer to A.  

 

Why:  With the Controls input to true, returns data for all Controls.  If false, returns data for Indicators.

 

We have two indicators, "Boolean Out 1" and "Control Values Out".  Therefore we have two array elements.  I'm not sure how the Varient Data for the "Control Values Out" element came to be.  I think the VI was execuited twice, first with the Conrol Values Out displaying D (all items would have been set as Controls).  The second execuiting was as the snippet shows.  The Variant Data at index 1 is reformatting the array from D into a Variant.  (I hope this makes sense to someone else... I don't feel like I'm explaining it well.)

Member

C

Member

Answer is "C"

Knight of NI

In regard to the variant data in Control Values Out, I am sure it is because Steve did his previous question first.


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Active Participant

Answer:  Undefined.  MrStevenUND & crossrulz are correct, creating the previous question has impacted the results for this one.

 

A is kind of the correct answer, but the variant data for Control Values Out (index 1) contains items from a previous run (when I was creating the previous question).

 

The key to the question, as MrStevenUND points out, "With the Controls input to true, returns data for all Controls.  If false, returns data for Indicators"

Combined.png