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

SetValBoolean Method

NI TestStand™ 4.1 Help
May 2008

NI Part Number:
370052G-01

»View NI TestStand Product Info

Syntax

PropertyObject.SetValBoolean ( lookupString, options, newValue)

Purpose

Sets the Boolean value of the property specified by the lookupString parameter.

Parameters

lookupString As String

[In] Pass an empty string to denote the PropertyObject to which the method applies, or pass the name of a subproperty within the PropertyObject. Refer to Lookup Strings for more information about the strings you can use.

options As Long

[In] Pass 0 to specify the default behavior, or pass one or more PropertyOptions constants. Use the bitwise-OR operator to specify multiple options.

newValue As Boolean

[In] New value for the property.

Example

LabWindows/CVI:
    TS_PropertySetValBoolean(propObj, &errorInfo,
                             "Step.Result.PassFail", 0, VTRUE);

Visual Basic (function call):
    propObj.SetValBoolean("Step.Result.PassFail", 0, True)

Visual Basic (inline):
    propObj.Step.Result.PassFail = True

Visual C++:
    propObj->SetValBoolean("Step.Result.PassFail", 0, VARIANT_TRUE);


See Also

GetValBoolean

Lookup Strings

PropertyOptions

SetValBooleanByOffset


Resources


 

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