Hourly Chart with Single Tag

I need some support with this. I have a hourly chart I would like scripted. I want so that it has live data within its time frames but once that time frame is done it remains in the last value of that time frame. I have a single tag that will be the one giving the values(the highlighted tag). any advice would help!

I recommend that you record the count every hour and save it in a database.
You asked for a "chart", but I think you mean a "table" and the table component with a database binding would be very simple and tidy.

2 Likes

Another option for this would be to create a Dataset tag with each of the time frames that you want to store, and then on the hour trigger record the tag value into that. Then a simple tag binding to a table, or some other form of mapping can be used to display the data.

This will work so long as you don't care to abandon the data after 24 hours.

1 Like

thats actually what I have right now, but I wanted it show it incrementing live while its on each time frame

Hi, I thought of this but I didn't go with this solution because like I mentioned I want the live data when it is going thru the current time frame. Unless I am wrong and what you said is capable of doing that

Query tag polling

You would create a named query - usually with some search criteria parameters - and then use that in a Query Binding.

I think you're using Vision (add the tag from the dropdown below your question title) and I do little work in that so it may be different to how this would be done in Perspective.