You can help by commenting or suggesting your edit directly into the transcript. We'll review any changes before posting them. All comments are completely anonymous. For any comments that need a reply, consider emailing email@example.com.
We are experiencing playback issues from our video hosting provider. Please check back shortly.
4:55Configuring Tag History
1:06Add History to Tags in UDT
2:50Basic Easy Chart
3:18Data Partitioning and Pruning
Take topic challenge
Learn how to use the Easy Chart Vision component to make powerful and runtime-configurable timeseries charts from the Tag Historian data.
Video recorded using: Ignition 7.7
Transcript(open in window)
[00:00] Now that we have some tags logged in the historian, lets look at how we can display the history of those tags, on a chart. And for this we're going to use the easy chart component. It can be found under the charts tab of the component palette. It's the first one there. This is a really simple component to configure, and to use. Essentially all you need to do is drag the tags over here in the tag browser that we want to display. You want to make sure you're selecting all the tags that have a scroll icon to the right, making sure that there logged in the historian. So I drag these tags on, I'll start seeing the history of those tags right away. The default mode for the graph here is historical. So there's a property down in the bottom left called chart mode, which is either Historical or realtime, or manual. By being historical the operator has the ability to change start date, end date. So if I were to go to preview mode here I can actually change my slider here, I can make it a little smaller to show a smaller amount of data. I can make it larger here to show more data. And certainly I can you know move it around to change the different time ranges there. So I'm going to zoom in a little more here. Once you have data in the graph, you can easily make a box, you know clicking and making a box to zoom in to various areas here. You can zoom out by clicking and holding dragging up to top left and letting go. You can right click to change the mode to an X-trace so you can see what the values are at given times. If you're in zoom, zoomed in a little bit you can right click and pan over the data so you can kind of move back and forth over your data. And you can also mark individual points. Rather doing x-trace I can just click on somewhere and mark the closest point to that location there. It's quite a bit you can do just within the component its self. There's more right click things like you change the background of the component, you can zoom out, you can reset the axis, as well as you can print. In the top right there's a button here to save the data to an excel spreadsheet. We can print the graph out, we can maximize the viewing area of the graph, to remove the start date, and end date filter. As well as all the pins. With the pins over here we can change there colors, and we can actually remove pins if we didn't want them anymore on the chart. So it's very easy to use this component. And we can just go and drag any tags we want on to it to start displaying the history. Now there's quite a few other properties that we can work with. Going back to that chart mode I can set that mode to real time so I can look at the most recent, say five minutes of whatever time period you have down here at the bottom. So it's a polling graph here that automatically refreshes here for us. There's other properties here we're going to look at in other lessons. There's also a customizer on this component. We can right click, go down to customizers there's a built in one called easy chart, which allows us to edit pins, and axis, and subplots. So I can actually add more pins here by browsing for them, just like I did with my drag and drop onto the chart. I could add calculated pins, I could add axis, and I could add subplots. We're going to look at all these different configurations areas in the next few lessons.