I have managed to configure a time chart with a tag. I have a tag that I have set the tag to sample every 30min, and the chart to display 48 points. My database seem to add size very fast, and write to the database very often. I'm completely new to this, how do I tell the database or history tag to only save 48 samples of my tag for example? Is it somewhere in the gateway?
You have the deadband set to 0.01. That means it will try to track changes of 0.01. What should it be set to? How much deviation do you really need to track?
See Configuring Tag History - Ignition User Manual 8.1 - Ignition Documentation for details on how this works.
It's just for displaying a trend of the temperature of my warmwater at home. I just wan't to record one sample every 30min. And then display 48 of them (a day)
I set the deadband mode to off and historical deadband 15. Will see if it changes anything
Out of curiosity, are you looking at the actual database size to say its growing fast/writing very often or? Is there anything else writing to your historian that could be causing the writes your seeing? Have you pulled the data into a table using the "AsStored" query mode to see the raw entries?
I'm assuming since you mentioned this is for at home that this is using Maker Edition, if so, this should be in that section of the forum.
But since you want it every 30 minutes, I would wonder if a transaction group would be better. Especially if you think you may have other values that you want to get at the same rate. Then you can set a schedule so the values are logged at the interval you want, and you can even have it do it at the bottom and middle of the hour if you wanted. Setting your sample rate and the max rate in your tag the way you did, I would expect to log twice an hour but it won't be on a fixed schedule so depending on how you trend it, you may see more or less values than your expecting.
I'm looking at the size. 40MB per day, I don't think I have anything else that does the writings, and also on the gateway under status>connection>databases it says 1query/s.
I'm sorry I thought it was a general question since it's working the same as perspective?
Thanks, I'll look into that!
If you're measuring domestic hot water temperature then you want a deadband of 1° (F or C) or thereabouts. 15° would be rather coarse.
But I just want to log it each 30min, not based on temp