Assert Same or Descendant Type VI

Owning Palette: Assert Type VIs and Functions

Requires: Base Development System

Breaks the calling VI unless the input data is the same as or is a descendant of the input class or interface.

This VI does nothing at run time. Use this VI in conjunction with the Type Specialization structure to customize sections of code in a malleable VI (.vim) for the specified class or interface or the descendants of the specified class or interface or to force a malleable VI to accept the specified class or interface or the descendants of the specified class or interface only.

 Add to the block diagram  Find on the palette
ancestor type specifies the input class or interface with the requirements that the input data must meet.

This input accepts any class or interface. To set the class or interface of this input, wire a constant or control of the desired class or interface to ancestor type. LabVIEW ignores any data in the constant or control wired to ancestor type.
value in specifies the input data.

This input accepts the class or interface of ancestor type or descendants of ancestor type.
value out returns the input data if value in meets the requirements. Otherwise, this output returns the default value of ancestor type.