Welcome, Guest
Username: Password: Remember me

TOPIC: Script function to Refresh History DB Table Object

Script function to Refresh History DB Table Object 3 months 3 weeks ago #1478

  • arifcorp
  • arifcorp's Avatar
  • Offline
  • Junior Member
  • Posts: 27
  • Karma: 0
Hi,
I am using TeslaSCADA version 2.42

I am using the Database - History bind to History DB Table object.
The Database-History allow data storage either via tags or time duration.

However, I utilize the Database-History and History DB Table object with ST script to programmatically to store the record - with this approach i can control the timestamp. This works fine.

However, i unable to refresh via scripts (even try using autorefresh or update).
Is there are way to refresh the History DB Table records using the scripts. At this moment i have to click the History values for the object to be refreshed.

Thanks
Last Edit: 3 months 3 weeks ago by arifcorp.
The administrator has disabled public write access.

Script function to Refresh History DB Table Object 3 months 3 weeks ago #1479

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 516
  • Thank you received: 71
  • Karma: -110
Hello,

Did you try to use script command like this Objects.HistoryDBTableName.update = true;
It think it should refresh your table.

Best regards,
Ruslan
Last Edit: 3 months 3 weeks ago by fatkhrus.
The administrator has disabled public write access.
The following user(s) said Thank You: arifcorp
Go to top