From Variants To Labels
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.