Variable Refresh Rate On The Display

Discuss issues and ideas you have to configuring displays with PowerVision
MuratE
Posts: 25
Joined: Mon Jan 05, 2015 5:57 am

Variable Refresh Rate On The Display

Post by MuratE » Wed Jun 03, 2015 12:48 pm

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
Eppur Si Muove
stalley
Enovation Controls Development
Enovation Controls Development
Posts: 618
Joined: Tue Mar 18, 2014 12:57 pm

Re: Variable Refresh Rate On The Display

Post by stalley » Wed Jun 03, 2015 1:42 pm

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
Sara Talley
Software Engineer
Enovation Controls
MuratE
Posts: 25
Joined: Mon Jan 05, 2015 5:57 am

Re: Variable Refresh Rate On The Display

Post by MuratE » Thu Jun 04, 2015 10:12 am

Hello Sara,
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.
Thanks.

I did required changings according to your explanation. Now, it works as I expect.

Regards.

Murat
Eppur Si Muove