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

DisplayPreconditionBuilderDialog Method

NI TestStand™ 4.0 Help
April 2007

NI Part Number:
370052F-01

»View NI TestStand Product Info

Syntax

Engine.DisplayPreconditionBuilderDialog ( dlgTitle, preconditionExpr, sequence, dlgOptions = 0, sequenceContext = NULL)

Return Value

Boolean

True if you click OK in the dialog box. False if you click Cancel.

Purpose

Launches the Preconditions dialog box, which you can use to construct the precondition expression of a step.

Parameters

dlgTitle As String

[In] Specifies the title of the dialog box. Pass an empty string to use the default title for the dialog box.

preconditionExpr As String

[In/Out] Pass the initial precondition expression string for the dialog box. You may pass an empty string for this parameter. This string must be a localized expression. Refer to LocalizeExpression for more information.

sequence As Sequence

[In] Pass the sequence that the dialog box displays for building the precondition expression.

dlgOptions As long

[In] Pass either CommonDlgOption_NoOptions or CommonDlgOption_ModalToAppMainWind. By default, the dialog box is modal to the last active window of the calling thread, or if there is none, to the last active window from AppMainHwnd. Pass CommonDlgOption_ModalToAppMainWind if you want the dialog box to be modal with respect to the window handle of the AppMainHwnd property. Typically, you do not need to set this option.

This parameter has a default value of 0.

sequenceContext As SequenceContext

[In] Pass the context to be used for browsing expressions.

This parameter has a default value of NULL.


See Also

Preconditions dialog box

Step.Precondition


Resources


 

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