Forum Home › Forums › Understanding the Software › Entering future data
Tagged: channel future data
- This topic has 5 replies, 3 voices, and was last updated 3 weeks ago by
Mikhail.
-
AuthorPosts
-
March 24, 2026 at 12:25 pm #17787
oley
ParticipantHi,
I work with future data, such as:
– next-day energy prices
– future power constraints
The data is available in a database, and I retrieve it in real time using DrvDbImport.
Is it possible to save future data for some channels?March 24, 2026 at 12:45 pm #17788
manjey73Participant– Will you have yesterday’s soup?
– Yes, of course.
– Then come back tomorrow. 🙂In order to write into the future, this future probably needs to be created. You can’t do this with scripts like that. It also doesn’t seem to be possible to read database data using scripts. But is it possible to rewrite the channel data all the time so that these values will be relevant tomorrow?
March 24, 2026 at 1:46 pm #17789oley
ParticipantHi,
My example isn’t made up: the energy exchange publishes prices for the entire next 24 hours. I already have tomorrow’s prices and am entering them into the database:
0:00-1:00 100
1:00-1:00 500
…
23:00-24:00 333Now I’m querying the database constantly, comparing the time to the current time, but the simplest solution would be to once enter data with future times into the channel.
I wouldn’t burden the system with queries, and I’d see future data in the table.March 24, 2026 at 1:48 pm #17790
MikhailModeratorHi,
As a first step, try writing historical data to the future using ScadaTestClient.
If data successfully saved and displayed, then we can think how to read them by a driver.-
This reply was modified 5 months ago by
Mikhail.
August 3, 2026 at 9:59 am #18220oley
ParticipantLet me get back to the topic. I tried using ScadaTestClient to enter a future value, and it works – the value appears in the table. However, once that specific time point is reached, it gets overwritten with a zero.
Another problem I’m having is with the channels showing the exchange price of energy, which are sometimes published with a delay – for example, the price for 12:00 is 100, but I receive that data at 12:05. SCADA records the data with the actual time – can I enter both the value and the time (12:00, 100) directly in SCADA?
August 3, 2026 at 12:26 pm #18223
MikhailModeratorYou should check the historical archive options.
I suppose, it is possible to disable auto recoding data, so it will not be overwritten. And there is an option to pull timestamps to the period. -
This reply was modified 5 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.