A key feature of any HMI package is the ability to not only show the current state of your control system, but to then store that information for historic purposes. But being able to easily access that historical data is key for making important decisions.
LGH File Inspector enables scalable, fast access to local daily historical data files (*.lgh files) logged by AVEVA InTouch™ HMI and SCADA applications without the limitations imposed by other solutions.
In this blog post, we'll cover how to seamlessly integrate LGH File Inspector with InTouch using InTouch scripting using two different methods.
With local history data stored by AVEVA InTouch™ in LGH files, LGH File Inspector is a flexible third-party option for querying that InTouch history data for report generation and other uses cases. For those InTouch users that prefer a more integrated user experience, though, it's possible to interact with LGH File Inspector directly from your InTouch applications via InTouch scripting.
The following are two different examples of how to use InTouch scripting to integrate LGH File Inspector:
Now, when the user clicks the Button on the display, the script will run and will open the LGH File Inspector query file which will then run the previously defined query and present the Excel workbook with query results to the user.
The next method is integration via a conditional script in InTouch, where the same action as the button script is performed but based on a defined condition. In this example, that condition is based on the value of an item.
So these examples were just two types of InTouch script but any script type can accomplish similar functionality and integrate LGH File Inspector functionality seamlessly. For full details on what scripting capabilities are supported in AVEVA InTouch, please consult the InTouch documentation.
Being able to quickly and cost-effectively access historical process data for decision making can provide significant benefits for an enterprise. If your InTouch history data is just sitting there and you’d like a quick and easy method of accessing it that can be integrate with your InTouch applications, I encourage you to download a free trial of LGH File Inspector and try for yourself.