Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

FDepth (CIN Function)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

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
–1Badly formed path.
0Path is the root directory.
1Path is in the root directory.
2Path is in a subdirectory of the root directory, one level from the root directory.
n–1Path is n–2 levels from the root directory.
NPath is n–1 levels from the root directory.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit