Tagged: command
- AuthorPosts
Dear STONE Support Team,
1. I want to control (activate, move) the cursor of the Edit Widget using the uart command.
2. I want to activate the keyboard specified in Stone-Designer in the Edit Widget using the uart command.
3. When I change the value in the imageValue Widget using the uart command, I want to show only the changed value on the screen.
Currently, when I change a value, the changed value is not applied immediately, but is changed to the intermediate value and then to the final value.Best regards,
Hi dear,
Thanks for choosing us and you can let me know directly if you have any tech and purchase needs via email chao@stone-hmi.com or WhatsApp 008613260055123
About your questions,
1. We have command to set_xy, and to ”focus” Edit widget (need to update the latest firmware for HMI, I will share to you via email)
Send: ST<{“cmd_code”:”set_xy”,”type”:”widget”,”widget”:”edit1″,”x”:0,”y”:0}>ET
ST<{“cmd_code”:”set_focus”,”type”:”edit”,”widget”:”edit1″,”focus”:true}>ET
ST<{“cmd_code”:”set_focus”,”type”:”edit”,”widget”:”edit1″,”focus”:false}>ETThis focus command can be used on edit and combo_box, not spin_box. The keyboard will be pop up and please use “false” to close it if you want to focus the second edit widgets
2. Need to use “focus” command as above
3. image_value has an animation effect. For example, when setting from 1 to 5, it will quickly display 2, 3, 4 in sequence, and then stay at 5. The underlying system is like this, and there are customers who use this feature so there is no plan to change it for the time being. You can choose to use label’s set_text
I will share the firmware to you soon. Thanks again and have a good day!
Best Regards,
Chao
- AuthorPosts
- You must be logged in to reply to this topic.