The Daily CLAD

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

CLAD2017 - Variants - Set and Get Attribute Names

Active Participant

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

 

Variants 1.png

 

Variants 1 Answers.png

Combined.png

Comments
Member

Good one :-)

David Corney

Certified Developer, Certified Professional Instructor and LabVIEW Champion.
Knight of NI

B

 

At least something does Smiley Tongue


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

Hold onto your hats, there is a weeks worth of Variant questions scheduled. 

 

I don't think Variants would form part of a CLAD exam but well worth the introduction.

Combined.png

Member

Nice one.

I will check it in LV later. I'm curious if the sorting happens at the Set or the Get function.

Knight of NI

The variant attributes are stored in a Red–Black Tree, so the sorting is done at the set.  This makes the search a lot faster​ than a linear search such as a Search 1D Array.


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

B

Member

B

Member

ans: B 

Nice example sir...for CLAD preparation...

thank you!!!!!