Info | ||
---|---|---|
Built with v10. This solution demonstrates the functionality of the TagProvider with the SQL Database. | icon | falseDownload the Solution Examples Example here: |
Summary
This solution demonstrates the functionality of the TagProvider with the SQL Database, enabling runtime data querying without the need for local Tags. This allows queried data to be displayed on TrendCharts and other areas of the application, streamlining real-time access and utilization of database information within the Unified Namespace.
First Solution:
Second Solution:
Technical Information
In the
initialfirst solution,
a set of tags is defined, each representingwhich works as a publisher, each tag corresponds to a data point of interest
. These tags areand is configured to store
theirits values
withinin a SQLite database. This setup
allows the system to capture and logensures essential information is captured and logged from various sources,
ensuring organized and queryable storage of tag data. Each tag iswith each tag mapped to a specific table
within the database, establishing a streamlined approach to data managementfor organized and easily queried storage.
In the second solution, real-time monitoring of tag values is achieved by
utilizingusing a TrendChart, enabled through the use of a Tag Provider connection to the SQLite database from the first solution.
Additional Information
After downloading the files, move them to C:\Documents\FrameworX\Solutions. Then, open the TrendChart Solution, navigate to Datasets
→/ DBs, and edit the Data Source for Provider 1 by specifying the path to the TrendChartPenValues.dbHistorian file.
Reference Information
ControlIn this section:
Page Tree | ||||
---|---|---|---|---|
|