leo.karpenko 发表于 2023-8-19 20:02:00

[Question]Сhaotic dots instead of digit in data variables display

Hi. Trying 1st project. All works at simulation but on the real display DMG48270C043_15WTR I see the rectangle of chaotic dots instead of number (0-9).
How to correct this?

zzs999k 发表于 2023-8-19 20:08:29

You can download this,Download 0 font library.

leo.karpenko 发表于 2023-8-19 20:31:33

Thanks, but same story - dots instead of digit.
What else to check?

fay 发表于 2023-8-19 21:00:48

leo.karpenko 发表于 2023-8-19 20:31
Thanks, but same story - dots instead of digit.
What else to check?

What controls are used? If it is a text display control, check the encoding of the control Settings (use GBK or GB2312). If it is a data variable display control, check whether there is any conflict in the name of the font library. Your screen is 8M FLASH, and the naming range of the font library is 0-31 and cannot be exceeded.

leo.karpenko 发表于 2023-8-21 13:39:19

Hello. I use data variables display (I wrote it in the topic's name).
I have no idea how to "check where is any conflict in the name of the font library". Can you give more exact advice please?
I use 0_DWIN_ASC.HZK font libabry (geregated myself and working fine on simulation), and I've also tried font from zzs999k (link above) without any results.

Moreover I've tried a couple of demo projects which should also work fine. But there:
1. In data variables display and text display control I do not see anything at all
2. When I push button calling numeric variable data input I see same rectangle of chaotic dots instead of numbers when pushing buttons.

What else can I check?
Display FW version, cfg file etc? (and how to do this?)

其乐融融 发表于 2023-8-21 13:43:48

本帖最后由 其乐融融 于 2023-8-21 13:49 编辑

leo.karpenko 发表于 2023-8-21 13:39
Hello. I use data variables display (I wrote it in the topic's name).
I have no idea how to "check w ...
This screen FLASH only 8M, font library and icon library naming range is only 0-31, can not exceed,Check whether the name of the ICL file generated by the background image is more than 31,You can use the attached CFG file to define the ICL file generated by the background image as 23, and modify the name of the ICL file in your own project before testing

leo.karpenko 发表于 2023-8-21 15:58:37

Hello. icl file is for backgroud pictures as I undertand. And I don't have problems with them.
I have problems with the font0, i suppose.
Maybe cfg file, but I don't really believe because I've tried 4 different cfgs already

168988 发表于 2023-8-21 16:31:45

leo.karpenko 发表于 2023-8-21 15:58
Hello. icl file is for backgroud pictures as I undertand. And I don't have problems with them.
I hav ...

Would it be convenient to take a screenshot and see if your file size exceeds the maximum screen size of 31ID? For example, if the size of the 23ID file is 257K, it takes up 23.24 ID numbers. The next ID number needs to start numbering from 25 (note: one ID number is 256k)

leo.karpenko 发表于 2023-8-21 17:21:39

Hi, now the project is very simple.
I've attached files screenshot and also the SET arhive.

沃特玛贞帥斯基 发表于 2023-8-21 17:29:37

The naming of background image 32. ICL needs to be changed, and the maximum naming should not exceed 31.
页: [1] 2
查看完整版本: [Question]Сhaotic dots instead of digit in data variables display