You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »


Datasets Module Overview

The Datasets module enables bi-directional real-time communication between your solution and SQL databases, managing data exchange with various database platforms and file formats.


On this Page:

Key Concepts

  • *DatasetDB*: Connection configuration for external databases
  • *DatasetQuery*: SQL query configuration with execution properties and methods
  • *DatasetTable*: Table mapping configuration linking tags to database columns
  • *DatasetFile*: File I/O parameters for ASCII, Unicode, or XML formats

What It Does

  • Connects to multiple SQL databases simultaneously
  • Executes queries and stored procedures in real-time
  • Maps database tables to tags for automatic synchronization
  • Reads and writes data files in various formats
  • Provides query results to displays, scripts, and reports
  • Manages Store and Forward for database reliability

Configuration Workflow

Datasets Module Configuration Workflow

Action

Comments

Define database connections

Create the DatasetDB connection mapping out the databases you solution is going to use

Prepare Queries

Paste our queries, or use the built-in SQL Query Editor, or the VisualQueryBuilder, to define your queries. 

Use the Queries

Onde defined, the queries can be used on Displays, Reports and Scripts


Runtime Execution

Providing Query Results

The Datasets Module enables the solution to interact with SQL databases seamlessly,acting as a Service to other modules.

The data retrieved from databases can be utilized in various ways throughout your solution. For example:

  • In the Displays Module: Visualization tools like DataGrids can present query results on screens and dashboards, creating custom views of the data that are accessible and easy to understand for your users.
  • In the Scripting Module: Custom scripts can reference query results and trigger specific actions, such as sending notifications, updating tags, or performing calculations, thereby implementing complex logic based on database data.
  • Devices:  Sending data from field equipments to a SQL database, or applying settings from the database to the field equipments.

Visualization and Interaction 

During runtime, the DataGrid component connects with the server to disapxlsy queries and DataTable tags.


Features Highlights

  • SQL Query Support: Effortlessly extract, manipulate, and transform data from diverse sources using efficient SQL queries.
  • Integration with External Data Sources: Seamlessly collect and analyze data from various external sources like SQL databases and CSV files.
  • Visual Query Editor: Easily create and edit advanced SQL queries without needing extensive SQL knowledge, simplifying the process.
  • Distributed Architecture: Supports simultaneous requests and provides flexibility in processing data on either the client or server side.
  • Stored Procedures Execution: Allows for advanced data manipulation and analysis directly within the platform.
  • Real-Time Execution: Execute SQL queries with real-time data, enabling parameter customization and timely analysis of generated data.

Built-in Embedded SQL

Every system comes with a fully functional embedded SQL Lite database at no additional cost, requiring no setup. This offers several benefits:

  • Secure Project Configuration: It serves as a secure repository for your entire project configuration.
  • Historian Database: Suitable for small to medium systems, it can function as a historian database for logging tags, alarms, and events (up to 10GB of data).
  • Store and Forward: For large systems, it serves as a local Store and Forward location, - stepping in when the remote database is unavailable.
  • Storage for Local Data: It's an ideal system for storing local runtime settings, retentive information, local recipes, schedules, tables, and queries needed for report preparation.

Multiple Database Connections

Our projects support multiple databases, seamlessly integrating with SQL and other database technologies such as ADO.NET, ODBC, OleDB, and more.

SQL Statement Editor

Our editor enhances code editing by offering Intellisense and helpful code suggestions, making the process faster and more efficient.

Secure Data Gateway

Our platform offers a built-in data gateway that's firewall-friendly, ensuring secure data query routing from clients without requiring direct access to the database.



  • No labels