Qtdragon "RUN TIME" timer problem

More
31 Mar 2024 13:13 #297279 by Tim Bee
Hello everyone:

I got a  problem when a use Qtdragon:

I used a button to start program on my panel, the configuration like bellow:
net     program-run             [HMOT](CARD0).gpio.014.in   =>  halui.program.run

The program can start normally, but the "RUN TIME" timer don't running
if I push "CYCLE START" button on screen to start program, both program and timer running well

can i fix that?

Thanks

Tim

 
Attachments:

Please Log in or Create an account to join the conversation.

More
01 Apr 2024 04:26 #297338 by cmorley
I have no immediate solution for you.
There are a few possibilities that come to mind but would take code changes in Qtdragon.

Please Log in or Create an account to join the conversation.

More
01 Apr 2024 12:28 #297363 by Tim Bee
Thanks for your reply

I think the “RUN TIME” timer is very useful,If you make the modification, I'll be happy to test it

Best wishes to you

Tim

Please Log in or Create an account to join the conversation.

More
02 Apr 2024 15:25 #297440 by persei8
The latest version of qtdragon uses the HAL TIME component to track program runtime. To use it in the current version, you would need code changes like Chris said. However, it you want to try the new version at github.com/persei802/QtDragon_hd you have to make a small change to the qtdragon_postgui.hal file. Find the lines with net run-start and net run-pause and change them to:
net run-start halui.program.is-running => time.0.start
net run-pause halui.program.is-paused => time.0.pause
This sample config does not use halui, but to enable it make sure you have the line HALUI = halui in the [HAL] section of the ini file.
Also, the latest qtdragon version is not supported on this forum so if you decide you want to try it, please direct any issues to the the github repo.
Jim
 
The following user(s) said Thank You: tommylight, Tim Bee

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.186 seconds
Powered by Kunena Forum