Short Name: StringsAndValues[]
Requires: Base Development System
Class: Ring Properties
To Use: Create a property.
Array of clusters containing the strings from which you can select in the ring control and the numeric values for each item. Use the Strings [] property if you do not need to assign specific numeric values to each item.
If you wire the same numeric values to this property, LabVIEW returns an error.
This property is similar to the Labels and Values columns on the Edit Items page of the Ring Properties dialog box.
Name | Description |
---|---|
String | A string in the ring control. |
Value | The corresponding value for the string. |
The following table lists the characteristics of this property.
Data type | No return value |
Permissions | Read/Write |
Available in Run-Time Engine | Yes |
Available in Real-Time Operating System | Yes |
Settable when the VI is running | Yes |
Loads the front panel into memory | Yes |
Need to authenticate before use | No |
Loads the block diagram into memory | No |
Remote access allowed | Yes |
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.