PropertyObject.SetValNumber

Syntax

PropertyObject.SetValNumber( lookupString, options, newValue)

Purpose

Sets the double-precision, 64-bit floating-point value of the property the lookupString parameter specifies.

Remarks

TestStand stores numeric values as double-precision, 64-bit floating-point values, signed 64-bit integer values, or unsigned 64-bit integer values.

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. You can also pass lookup strings to this parameter.

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 Double

[In] Specifies the new value for the property.

Example

LabWindows/CVI:     TS_PropertySetValNumber(propObj, &errorInfo, "Step.Limits.High",                             0, 1.234); Visual Basic (function call):     propObj.SetValNumber("Step.Limits.High", 0, 1.234) Visual Basic (inline):     propObj.Step.Limits.High = 1.234 Visual C++:     propObj->SetValNumber("Step.Limits.High", 0, 1.234);

See Also

Lookup Strings

PropertyObject.GetValNumber

PropertyObject.SetValNumberByOffset

PropertyOptions

Thread Safety of the PropertyObject API and TestStand Variables