迪文科技论坛

 找回密码
 立即注册
搜索
查看: 35|回复: 1

[Question]T5L0 Display Variables sometimes disappear

[复制链接]

1

主题

0

回帖

26

积分

新手上路

Rank: 1

积分
26
发表于 2025-6-6 22:06:36 | 显示全部楼层 |阅读模式
Good day. Can anyone please tell me if anyone has encountered this problem. on the T5L0
I set Text Display and Variable Icon types on the screen. In general, something like menu items, and I try to move them smoothly: when rotating the encoder, I call the sys_write_vp function in a cycle with the sp address and coordinates. In general, it works, but sometimes either the image or the text can disappear. And sometimes the Variable Icon remains visible, but the change to its alternative icons stops working. And also these broken elements stop responding to commands from the Dwin Dgus debug tool
I tried to set delays between sys_write_vp calls, it seems better, but they still break sometimes

回复

使用道具 举报

0

主题

705

回帖

3033

积分

论坛元老

Rank: 8Rank: 8

积分
3033
发表于 2025-6-7 08:41:22 | 显示全部楼层
Hello, you can send me your project for review. Additionally, when using description pointers, please note the following points regarding description pointer address conflicts:

1. For the same control, a 10H interval between description pointers is acceptable.
2. For different types of display controls, follow the software's prompt – a 30H interval is safe.
3. Description pointers of different display control types must not be set to the same value.
4. If a display control has a description pointer set, when reusing this control on another page, it must be copied and pasted in its entirety (i.e., without moving the coordinate position) to ensure the pointer is effectively set.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|迪文科技论坛 ( 京ICP备05033781号-1 )

GMT+8, 2025-7-2 01:16 , Processed in 0.029612 second(s), 22 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表