1. Home
  2. Docs
  3. ATFC UI Tool
  4. 1. Introduction

1. Introduction

1. What is ATFC UI Tool

ATFC UITool is a resource integration, interface editing, and control configuration tool for ATFC series modules. Users can use this tool to complete the graphical user interface design, as well as configure the display content of each display interface, control configuration, and the message response mechanism between controls.

2. ATFC UI Tool and ATFC modules

The ATFC UI Tool generates a resource file, which contains pre-set display resources and interface data. The pre-set display resources are mainly images, fonts, and common control resources required for the user interface; these pre-set display resources are the basic materials for the entire user interface.

The interface data is a number of display screens edited by the user for the resource file on the ATFC UI Tool, each with a unique interface index number; the user can preset multiple general display operation commands for each screen as well as set multiple controls and configure response messages between controls.

The ATFC UI Tool generates a resource file with the suffix “.ers”, which needs to be present in the resource memory of the ATFC modules, and the ATFC modules will read and analyze the resource file from the resource memory in the module during its operation. It will display and respond according to the interface edited in the resource file.

Below is the flowchart of how to create a resource file.

Flowchart: How to create a resource file using ATFC UI Tool
Flowchart: How to create a resource file using ATFC UI Tool
3. Files involved with ATFC UI Tool
  • “.ers”: resource file created by ATFC UI Tool
  • “.tmp”: temporary files
  • “.bmp”: Bitmap files. Must be Windows format
  • “.jpg”: JPEG files. Image files.
  • “.png”: PNG files. Transparent background supported.
  • “.asc”: ASCII character files. The file name starts with “single-character width X single character height”. i.e. the font file name for 16 x 32 points must be: “16X32.asc”.
  • “.nir”: Numeric input box resource file. Loaded as control.
  • “.sir”: String input box resource file.
4. Requirements of ASCII character files

The data of the font (i.e., the set of character patterns) is composed in the same way as a normal monochrome dot-matrix LCD, i.e., a bit in the font represents a pixel in the LCD display, and the points are taken in a left-to-right, top-to-bottom order. For this, the ASCII English font has the same requirements as the Chinese font.
The font uses a byte-based bitstream structure, i.e., when a line is not an integer multiple of 8, the data is filled to 8 bits, and the useless bits are filled with zeros.
The naming of the font file should follow the requirements in the above section, otherwise, it will not load properly.
And the number of characters of the ASCII character file is 256.

5. Quantity of resource items that can be loaded in a resource file

The ATFC UI Tool supports a maximum of 400 resource items (like images) in a resource file.
And up to 150 interfaces are allowed to be created within a resource file.

Was this article helpful to you? Yes No

How can we help?

Leave a Reply

×
×

Cart