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

FindPath Method

NI TestStand™ 4.0 Help
April 2007

NI Part Number:
370052F-01

»View NI TestStand Product Info

Syntax

Engine.FindPath ( pathToFind, absolutePath, statusFlag, [currentSequenceFile])

Return Value

Boolean

True if the directory is found.

Purpose

Searches for a directory under the TestStand search directories using a simple directory name or relative pathname.

Parameters

pathToFind As String

[In] Specifies a string containing the simple directory name or relative pathname of the directory to search for.

absolutePath As String

[Out] Returns the absolute pathname of the directory if it is found.

statusFlag As FindPathStatusValues

[Out] Returns more information about the directory.

currentSequenceFile As Variant

[In] [Optional] If you pass a SequenceFile object for this parameter, the FindPath method initially searches the directory where the sequence file is stored if the Current Sequence File Directory option is enabled. Enable the current sequence file directory in the sequence editor by selecting Configure»Search Directories and enabling the Current Sequence File Directory option.


See Also

FindFile

SearchDirectories

SearchDirectoryTypes


Resources


 

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