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

| Parameter | Range | Default Value | Description | Illustration |
|---|---|---|---|---|
| Input Image | 0-8 | 0 | IM number for image input | ![]() |
Table Design


| Parameter | Range | Default Value | Description | Illustration |
|---|---|---|---|---|
| X | 0.000 | X coordinate of display position | ||
| Y | 0.000 | Y coordinate of display position | ||
| Data Content | Content to be displayed. Only binding supported, supports int/bool/string/float four types | |||
| Decimal Places | 0-6 | 3 | Only enabled when data content is float type, number of decimal places to retain for data content | |
| Prefix | Prefix, text displayed before "Data Content" | |||
| Suffix | Suffix, text displayed after "Data Content" | |||
| Font Size | 1-9999 | 12 | Font size, size of displayed text | |
| Status Association | true/false | true | If value is true, display OK color; if false, display NG color | ![]() |
| OK Color | Green | OK color, text color displayed when "Status Association" value is True, default is green | ||
| NG Color | Red | NG color, text color displayed when "Status Association" value is False, default is red | ||
| Display | true/false | true | If value is true, display on IM; if false, do not display |
Output Parameters

| Name | Type | Range | Description |
|---|---|---|---|
| Result | bool | true/false | true for success false for failure |
| Warning | bool | true/false | true indicates a warning false indicates no warning |
| Message | string | Output success, error, or warning messages. Empty if no error or warning. | |
| Time | float | Operator execution time, unit: ms |
Exception Troubleshooting
| No. | Exception Information | Corresponding Parameter | Solution |
|---|---|---|---|
| 1 | Image type not supported | Confirm IM is a 2D image | |
| 2 | Input image is empty | Confirm IM contains valid pixels |
Example Introduction
Engineering Design
Select the
Load Imagetool to load the required 2D image.Select the
2D Data Displaytool.
Tool Usage
Select the input image for the operation. The image number must match the IM number where the image is located in the project.
Set the input type, content, color, font size, and position.
Click
Testto check if the image window and parameters meet expectations.If there are no issues, click
Save. Run the operator in the run list, and then view the running results in the corresponding IM.


