Close Reference Function

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: Application Control VIs and Functions

Requires: Base Development System

Closes a refnum associated with an open VI, VI object, an open application instance, or a .NET or ActiveX object.

Details  

reference is the refnum associated with an open VI, VI object, an open application instance, or a .NET or ActiveX object. reference also accepts 1D arrays of references.
error in describes error conditions that occur before this node runs. With the following exception, this input provides standard error in functionality.

This node runs normally even if an error occurred before this node runs.
error out contains error information. This output provides standard error out functionality.

Close Reference Details

When you create a refnum to a VI, LabVIEW loads the VI into memory. The VI stays in memory until you close the refnum and until the VI meets the following conditions:

  • There are no other open references to the referenced VI.
  • The front panel of the VI is not open.
  • The VI is not a subVI of another VI in memory.
  • The VI is not a member of an open project library.

WAS THIS ARTICLE HELPFUL?

Not Helpful