Assert Same or Descendant Type VI

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Owning Palette: Assert Type VIs and Function

Requires: Base Development System

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

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 the descendant classes of the specified class or to force a malleable VI to accept the specified class or the descendant classes of the specified class only.

ancestor type specifies the input class with the requirements that the input data must meet.

This input accepts any class. To set the class of this input, wire a constant or control of the desired class 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 of ancestor type or descendant classes 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.

WAS THIS ARTICLE HELPFUL?

Not Helpful