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

OpenWorkspaceFile Method

NI TestStand™ 4.0 Help
April 2007

NI Part Number:
370052F-01

»View Product Info

Syntax

Engine.OpenWorkspaceFile ( workspaceFilePath, options = OpenWorkspaceFile_NoOptions, handlerType = ConflictHandler_Error)

Return Value

WorkspaceFile

Purpose

Returns the WorkspaceFile object for the workspace file specified by the workspaceFilePath parameter.

Remarks

Reads the workspace file from disk. The path must be an absolute path. If the path is not absolute, an exception is raised when trying to read the workspace file. Release your reference to this object when you finish using it.

Parameters

workspaceFilePath As String

[In] Specifies the absolute pathname of the workspace file.

options As long

[In] Pass one or more OpenWorkspaceFileOptions constants. Use the bitwise-OR operator to specify more than one option.

This parameter has a default value of OpenWorkspaceFile_NoOptions.

handlerType As TypeConflictHandlerTypes

[In] Specifies how to handle type conflicts.

This parameter has a default value of ConflictHandler_Error.


See Also

CurrentWorkspaceFile

NewWorkspaceFile

OpenWorkspaceFileOptions

TypeConflictHandlerTypes

WorkspaceFile


Resources


 

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