2024-06-07 12:26 AM
Hello.
I would use a static graph to display data. In the handletickevent function, I update the addDataPoint(x data, y data) function for the given page, but nothing appears on the graph, the scale is fine, but no line or change in the x direction can be seen on the display. I am currently using the tickcounter++ variable value for X data, which also increases in debug. For X data, I entered 0min, 200max data in the touchgfx program. I also tried the dynamic graph.
Thanks if anyone can help.
Solved! Go to Solution.
2024-06-08 11:46 AM
2024-06-08 12:14 PM
Okey, I think it should not do that. Which version you use ?
I allready tested this with 4.32.2 because i'm not so familiar with radiobuttons and it does only single call (at least on the simulator).
2024-06-08 12:17 PM
In 4.23.0
2024-06-08 12:30 PM
Weird, I make quick test project in that version and it works like charm. Only single call when radiobutton is selected.
2024-06-09 09:59 PM
Hi JTP1
I don't know what happened in my project, but it's a strange thing that the function keeps running. I solved it with one condition that the code should only run once.
In addition, I have 3 togglebuttons that used to work but now don't. Using the togglebutton, a variable is flipped to 0-> or vice versa by using getstate(). However, I set the button with force status, but at the moment I can't turn it on because it turns off immediately.
Thank you!
2024-06-10 11:32 AM
HiThomas
I think there must be some exact reason for those issues. Is there possibility that from model comes some calls to view- class continously which causes problems... or some leftover interactions or code somewhere etc. Maybe disable temporarily some tasks or handlers to see is there any affect to problems.
Just shots in the dark...
Br JTP
2024-06-10 12:46 PM
Now it's working. I replaced the variables. I dont know, what it was
Thank you!