Skip to content

2D Data Display

Operator Function

On a 2D image, edit the data parameters to be displayed and show them on the image.

Parameter Introduction

Input Parameters

ParameterRangeDefault ValueDescriptionIllustration
Input Image0-80IM number for image input

Table Design

ParameterRangeDefault ValueDescriptionIllustration
X0.000X coordinate of display position
Y0.000Y coordinate of display position
Data ContentContent to be displayed. Only binding supported, supports int/bool/string/float four types
Decimal Places0-63Only enabled when data content is float type, number of decimal places to retain for data content
PrefixPrefix, text displayed before "Data Content"
SuffixSuffix, text displayed after "Data Content"
Font Size1-999912Font size, size of displayed text
Status Associationtrue/falsetrueIf value is true, display OK color; if false, display NG color
OK ColorGreenOK color, text color displayed when "Status Association" value is True, default is green
NG ColorRedNG color, text color displayed when "Status Association" value is False, default is red
Displaytrue/falsetrueIf value is true, display on IM; if false, do not display

Output Parameters

NameTypeRangeDescription
Resultbooltrue/falsetrue for success
false for failure
Warningbooltrue/falsetrue indicates a warning
false indicates no warning
MessagestringOutput success, error, or warning messages. Empty if no error or warning.
TimefloatOperator execution time, unit: ms

Exception Troubleshooting

No.Exception InformationCorresponding ParameterSolution
1Image type not supportedConfirm IM is a 2D image
2Input image is emptyConfirm IM contains valid pixels

Example Introduction

Engineering Design

  1. Select the Load Image tool to load the required 2D image.

  2. Select the 2D Data Display tool.

Tool Usage

  1. Select the input image for the operation. The image number must match the IM number where the image is located in the project.

  2. Set the input type, content, color, font size, and position.

  3. Click Test to check if the image window and parameters meet expectations.

  4. If there are no issues, click Save. Run the operator in the run list, and then view the running results in the corresponding IM.

Local Image

AI-Vision, Making 3D Measurement Easier