Ring Control Parameters - LabVIEW VI Call Parameters

Ring Control Parameters

When you configure calls to VIs that use ring controls as parameters and you are using LabVIEW 2012 or later, the Value column of the VI Parameter Table on the LabVIEW Module tab shows a ring control for LabVIEW ring control input parameters. The ring control contains the items in the LabVIEW ring control.

In TestStand 2016 and later, LabVIEW ring controls are enumeration parameters . In addition to selecting a value from the Ring control elements or passing in a Number variable, you can also specify a TestStand Enum variable as the value of a Ring control parameter. For more information about the behavior of enumeration parameters with respect to Ring controls, refer to the Enumeration Parameters help topic.

Note The VI Parameter Table does not show a ring control for a picture ring control.

At edit time, TestStand stores the numeric value and the string label value of the ring control parameter value you select.

When you pass a ring control value as a parameter to TestStand at run time, TestStand stores only the numeric value. In addition, for input parameters at run time, TestStand passes the numeric value to LabVIEW without checking whether the numeric value is within range. This behavior is similar to LabVIEW.

TestStand supports all numeric representations of a ring control parameter.

When you reload a VI prototype and you specify an expression for the ring control parameter, TestStand always retains the expression.

The following table describes how TestStand updates ring control parameter values in a similar way to LabVIEW when you reload a VI prototype and you do not specify an expression for the ring control parameter.

Change You Make to LabVIEW Ring Control Values Effect You See in TestStand VI Parameter Table Effect You See in TestStand Step Properties
You delete the numeric value currently stored in the step property. TestStand displays the numeric value because it cannot find a corresponding string label. TestStand always retains the numeric value.
You update the string label but retain the numeric value currently stored in the step property. TestStand retains the numeric value and updates the corresponding string label to match the numeric value. TestStand always retains the numeric value and updates the corresponding string label to match the numeric value.

See Also

LabVIEW Data Types in TestStand