Archived:Error 1004 at Open VI Reference in LabVIEW NXG

Updated Oct 20, 2022

NI does not actively maintain this document.

This content provides support for older products and technology, so you may notice outdated links or obsolete information about operating systems or other relevant products.

Reported In

Programming Language


Issue Details

I am getting the following error while trying to call a subVI by reference in LabVIEW NXG. How should I resolve it?

Error 1004 occurred at Open VI Reference in Main.gvi.

The specified VI name (subVI.gvi) was not found or not exported by the component.

Possible reason(s):

LabVIEW: (Hex 0x3EC) The VI is not in memory.



This issue can be resolved by providing fully qualified name of the subVI to VI name input of the Open VI Reference as illustrated below:
full name

Image below shows where to obtain the fully qualified name of a VI given that the VI is store within an application (.gcomp) or a namespace.
get fully qualified name

Additional Information

Even the subVI is stored within the similar directory level with the main VI, the fully qualified name of the subVI must be used.