Get LV Class Default Value VI

LabVIEW 2018 Help

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

DOWNLOAD (Windows Only)

LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

Owning Palette: Cluster, Class, & Variant VIs and Functions

Requires: Base Development System

Returns the class data for the class whose path you wire to the class path input. If the class is not in memory, LabVIEW attempts to load it from disk. If any dependencies are missing, LabVIEW searches for the missing dependencies. If LabVIEW cannot find the dependency, LabVIEW assumes the dependency is missing and does not prompt the user to browse to the needed file.

Use this VI to dynamically create class objects, including class objects that are unknown at edit time.

Related Information

Creating a LabVIEW Class

class path specifies the path to the LabVIEW class.
options is a bit set that specifies the behavior of LabVIEW when loading the class into memory. The default is 0x0, which means that when loading the class, LabVIEW searches for missing dependencies but does not prompt the user to browse to missing dependencies. options can be a combination of the following values.
0x01This option has no effect when loading LabVIEW classes. For VIs, this is the Record Modifications value. When dynamically loading classes, modifications are always recorded and may prompt you to save any unsaved changes when the class unloads. This behavior has been true since classes were introduced in LabVIEW 8.2. This behavior might change in a future version of LabVIEW.
0x02This option has no effect when loading LabVIEW classes.
0x04This option has no effect when loading LabVIEW classes.
0x08This option has no effect when loading LabVIEW classes.
0x10Prompt user to find missing dependent VIs or libraries of the referenced class.
0x20Do not display the loading dialog box when searching for missing dependencies.
Note  This option does not affect whether LabVIEW prompts you to find the missing dependencies or not.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
object displays the data of the class wired to the class path input.
error out contains error information. This output provides standard error out functionality.


Not Helpful