Welcome, Guest
Username: Password: Remember me

TOPIC: History DB table - auto refresh?

History DB table - auto refresh? 6 years 7 months ago #311

  • lichtaus
  • lichtaus's Avatar
Hi Ruslan,
I find the new 2.16 version extremely helpful, espescially the history db table. It would be even better if I could set the table to autorefresh the most recent line to the top. Of course you can set the start and end time and then get the latest data but that does not autorefresh.
Is there a way to trigger autorefresh? Thanks
Niclas
The administrator has disabled public write access.

History DB table - auto refresh? 6 years 7 months ago #312

  • fatkhrus
  • fatkhrus's Avatar
  • Online
  • Administrator
  • Posts: 826
  • Thank you received: 123
  • Karma: -107
Hello,
At this moment you can do autorefresh only one way. Create Boolean tag, bind this tag to the output of the Script object - Multivibrator. Value of this tag will be changed from the FALSE to TRUE. Bind this tag to the one of the property of the Table (for example Visibility) and make the condition of the property always TRUE (for example for boolean value !=2). Table will be refresh every time when tag's value will be changed from FALSE to TRUE.
I think in the next version we'll add some property in History Table to make it more comfortable to set up conditions of refresh.
Best regards,
Ruslan
The administrator has disabled public write access.

History DB table - auto refresh? 6 years 7 months ago #313

  • lichtaus
  • lichtaus's Avatar
Hi Ruslan,
thanks for your reply. I am not too familiar with script objects: The input tag of the multivibrator connects to what?
The administrator has disabled public write access.

History DB table - auto refresh? 6 years 7 months ago #314

  • lichtaus
  • lichtaus's Avatar
I can trigger the update with a button, that is fine for the moment. However the table always adds the latest value at the bottom, I can change the order by clicking on the column - but everytime I refresh it goes back to the old way (latest value at the bottom of the table).
The administrator has disabled public write access.

History DB table - auto refresh? 6 years 7 months ago #315

  • fatkhrus
  • fatkhrus's Avatar
  • Online
  • Administrator
  • Posts: 826
  • Thank you received: 123
  • Karma: -107
About Multivibrator:
First input starts multivibrator when value triggers from FALSE to TRUE.
Second input period of the multivibrator in milliseconds.
About adding value at the bottom of the table:
Yes it's true. We'll add possibility of chosen order in the next version.

Best regards,
Ruslan
The administrator has disabled public write access.
The following user(s) said Thank You: lichtaus

History DB table - auto refresh? 6 years 7 months ago #316

  • fatkhrus
  • fatkhrus's Avatar
  • Online
  • Administrator
  • Posts: 826
  • Thank you received: 123
  • Karma: -107
Hello,
I the new version (2.17) we add possibility to order and refresh value of history database table.

Best regards,
Ruslan
The administrator has disabled public write access.
Go to top