Welcome, Guest
Username: Password: Remember me

TOPIC: Script function to Refresh History DB Table Object

Script function to Refresh History DB Table Object 2 years 9 months ago #1478

  • arifcorp
  • arifcorp's Avatar
  • Offline
  • Senior Member
  • Posts: 46
  • 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: 2 years 9 months ago by arifcorp.
The administrator has disabled public write access.

Script function to Refresh History DB Table Object 2 years 9 months ago #1479

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 826
  • Thank you received: 123
  • Karma: -107
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: 2 years 9 months ago by fatkhrus.
The administrator has disabled public write access.
The following user(s) said Thank You: arifcorp
Go to top