Hi,
My PV780 receives can message every 10ms. Event which controls variable on the display fires every 10ms. Therefore, variable changes very fast on the display. How can I make a variable time dependent? For instanse, how can I refresh variable in every 500ms?
Regards.
Murat
Variable Refresh Rate On The Display
- MuratE
- Posts: 25
- Joined: Mon Jan 05, 2015 5:57 am
Variable Refresh Rate On The Display
Eppur Si Muove
- stalley
- Enovation Controls Development
- Posts: 618
- Joined: Tue Mar 18, 2014 12:57 pm
Re: Variable Refresh Rate On The Display
Hello Murat,
Do I understand that you have a CAN parameter variable (Var 1) being used to update another database variable (Var 2)? Do you have a calculation event that updates Var 2? If so, what fires this calculation event?
A simple way to update Var 2 every 500 ms is to create a 500ms recurring timer on an event. The action on the timer event would be the calculation event of Var 2.
Let me know if you need more information
Do I understand that you have a CAN parameter variable (Var 1) being used to update another database variable (Var 2)? Do you have a calculation event that updates Var 2? If so, what fires this calculation event?
A simple way to update Var 2 every 500 ms is to create a 500ms recurring timer on an event. The action on the timer event would be the calculation event of Var 2.
Let me know if you need more information
Sara Talley
Software Engineer
Enovation Controls
Software Engineer
Enovation Controls
- MuratE
- Posts: 25
- Joined: Mon Jan 05, 2015 5:57 am
Re: Variable Refresh Rate On The Display
Hello Sara,
I did required changings according to your explanation. Now, it works as I expect.
Regards.
Murat
Thanks.A simple way to update Var 2 every 500 ms is to create a 500ms recurring timer on an event. The action on the timer event would be the calculation event of Var 2.
I did required changings according to your explanation. Now, it works as I expect.
Regards.
Murat
Eppur Si Muove