Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Strings And Values [] Property

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

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.

Elements

Name Description
String A string in the ring control.
Value The corresponding value for the string.

Example

Remarks

The following table lists the characteristics of this property.

Data typeNo return value
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
Must wait until user interface is idleNo
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo

Example

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.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit