FDepth (LabVIEW Manager Function)

int32 FDepth(path);

Purpose

Computes the depth, or number of component names, of a path.

Parameters

Name Type Description
path Path Path whose depth you want to determine.

Return Value

int32, indicating the depth of the path, which can contain the following values.

Value Description
–1 Badly formed path.
0 Path is the root directory.
1 Path is in the root directory.
2 Path is in a subdirectory of the root directory, one level from the root directory.
n–1 Path is n–2 levels from the root directory.
N Path is n–1 levels from the root directory.