Strings [] Property

Short Name: Strings[]

Requires: Base Development System

Class: NamedNumeric Properties

To Use: Create a property.

Array of the items from which you can select in the named numeric control. For enumerated type controls, the index of each item in the array is the same as the value in the enumerated type control. For ring controls, the order of the items in the array is the same as the order in which they are displayed in the ring control.

If the string is an enumerated type control, you cannot write this property when the VI is running. If the string is a ring control, you can write this property when the VI is running.

For ring controls, use the Strings And Values [] property to assign specific numeric values to each item.

You cannot use this property on picture ring controls because the items in picture ring controls do not contain text.

If you use this property with a ring control that does not have sequential numeric values, the number of values for the ring control determines the number of strings you can set using this property. For example, if the ring control has the values 1, 2, and 4, you can set only three strings using this property.

If the ring control has more numeric values than the number of strings you wire to this property, LabVIEW creates strings for any values that do not have corresponding strings. For example, if the ring control has the values 1, 2, and 4 and you wire the strings One Hour and Two Hours to this property, LabVIEW sets the last string to <4>.

Remarks

The following table lists the characteristics of this property.

Data type
PermissionsRead/Write
Available in Run-Time EngineYes
Available in Real-Time Operating SystemYes
Settable when the VI is runningYes
Loads the front panel into memoryYes
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes