SortKey Property

Short Name: SortKey

Requires: VI Scripting

Class: LVClassPropDefFolder Properties

To Use: Create a property.

Gets or sets the sorting order of the LabVIEW class property definition folder. Properties are normally sorted by their long name, but this property can override that for LabVIEW class properties. All properties with sort keys greater than or equal to zero will be sorted according to their sort key in ascending order. Properties with the same sort key will then be sorted by long name. If the sort key is -1, the property will be placed at the end of the property list, sorted by long name. The default sort key is -1. Setting the sort key to a non-negative number effectively moves that property to the top of the properties list and leaves the other properties unchanged. Setting the sort key to -1 effectively sorts the property normally among other properties that are sorted normally. Properties are always sorted within their class.

Remarks

The following table lists the characteristics of this property.

Data type
PermissionsRead/Write
Available in Run-Time EngineNo
Available in Real-Time Operating SystemNo
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