A
namespace is a container used to organize files into logical groups. Items in the same namespace must have a unique name. Namespaces
help to prevent name collisions.
-
Open an Application or Library document.
-
On the document toolbar, click
.
-
Rename the namespace.

Tip
Give your namespace a meaningful name to indicate that the namespace contains files of the same logical group.
-
Drag files from the project to the namespace.
-
Optional:
Rename the files as necessary.
Different namespaces can contain files that have the same name. For example, the
Main VI namespace and the
SubVI namespace in the same Application or Library document can each contain a file named
Function.gvi.
-
Click .
After you build an application, each namespace corresponds to a folder in the output directory.