Set Property Method

Short Name: SetProperty

Requires: VI Scripting

Class: PropertyItem Methods

To Use: Create a method.

Sets the selected property of the PropertyItem.

Parameters

Data typeNameRequiredDescription
ID StringYesSpecifies the Unique ID string of the property you want to set. Use the All Supported Properties property to determine the Unique ID string of the property you want to set. Set Allow Alternative Names? to TRUE if you want to match the ID String to any of the following values of the property: Unique ID string, Data name, Short name (localized), or Long name (localized).
Allow Alternative Names?NoSpecifies whether you can set the property or method using the Unique ID string, Data name, Short name (localized), or Long name (localized) of the property or method. The default is FALSE, which means you must specify the Unique ID string of the property or method in ID String.

Remarks

The following table lists the characteristics of this method.

Data typeNo return value
Available in Run-Time EngineYes (Read/Write)
Available in Real-Time Operating SystemYes
Settable when the VI is runningNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes