NamedNumeric class/Strings () property

From LabVIEW Wiki
Jump to: navigation, search
VI Server Property Information
Property ID 633C807
Scope Basic Development Environment
Data Name Strings []
Short Name* Strings[]
Long Name* Strings []
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 19
Owning Class Name NamedNumeric Class
Data Type String Array data type

String Array

Property Node Strings []
Available in Real-Time Operating SystemYes
Available in Run-Time EngineYes
Loads the block diagram into memoryNo
Loads the front panel into memoryYes
Need to authenticate before useNo
Remote access allowedYes
Settable when the VI is runningYes

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>.



Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links