From Variants To Labels

You are currently viewing the documentation for the latest version (2.1.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

Function

This Step converts data of type DoubleList or QtVariantList to label data.

Usage Scenario

This Step is a general Step for data type conversion. It has no fixed usage scenarios.

Input and Output

  • Input: DoubleList or QtVariantList data input to this port will be converted to labels.

  • Output: Labels converted from the input data.

Parameter Description

The following section introduces the parameters displayed for inputting data of the DoubleList and QtVariantList types respectively.

Input DoubleList

When the input data type is DoubleList, the “Precision” parameter will be displayed.

Precision

Description: This parameter is used to set the number of decimal places to retain after rounding the label data.

Default value: 2

Tuning recommendation: Please set the parameter according to the actual requirement.

If Standard Interface communication is used, set “Precision” to 0 to ensure the output labels are integer strings. Otherwise, the error code 1017 will occur when the “Output” Step is used to output label data.

Example: When “Precision” is set to 2, assuming that the input data is 1.275, the output label data is 1.28.

Input QtVariantList

When the input data type is QtVariantList, there is no parameter.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.