Strings And Values [] Property

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Short Name: StringsAndValues[]

Requires: Base Development System

Class: ComboBox Properties

To Use: Create a property.

Array of clusters containing the strings from which you can select in the combo box control and the values for each string. Use the Strings [] property if you do not need to specify custom values for each string.

If you wire strings to this property but you do not wire any values, LabVIEW sets the values equal to the strings you wired. If you wire the same values to this property, LabVIEW returns an error.

This property is similar to the Edit Items item on the shortcut menu of a combo box control and to the Labels and Values options on the Edit Items page of the Combo Box Properties dialog box.


Name Description
String A string in the combo box.
Value The corresponding value for the string.



The following table lists the characteristics of this property.

Data type
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


Refer to the Programmatically Add Ring Items VI in the labview\examples\Controls and Indicators\Ring and Enum directory for an example of using the Strings And Values [] property.


Not Helpful