Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the...
Transcript of Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the...
![Page 1: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/1.jpg)
INSIGHT
AND
OVERVIEW
Slide Show 25:
Using the IGSS ODBC Interface
![Page 2: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/2.jpg)
Contents
• ODBC and the IGSS ODBC Driver• Use of the ODBC Driver• Installing the ODBC Driver• When the ODBC Server Runs• How to Access the ODBC Tables• ODBC Table Overview• Fetching IGSS Data Into MS Excel• Interface Help File• Online Demo
![Page 3: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/3.jpg)
ODBC and the IGSS ODBC Driver
• ODBC (Open DataBase Connectivity)A Microsoft standard for communicating with different database products using SQL (Standard Query Language).
• IGSS ODBC DriverThe driver that makes IGSS data appear as a relational database.
Any SQL-enabled database product will be able to access the IGSS ODBC tables (e.g. Microsoft Access or Microsoft Excel)
![Page 4: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/4.jpg)
Use of the ODBC Driver
The ODBC interface can be used to:
• Modify an IGSS configuration directly from a database
• Access process data (ALM, LOG, BCL)
• View a snapshot of online data
![Page 5: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/5.jpg)
ODBC Network Driver
• ODBC server (Odbcixv8se.exe)
Typically activated on IGSS Server
Fetches data from the report folder
• ODBC client (Odbcixv8cl.dll)
Must be configured manually on operator stations
The ODBC client connects to the ODBC server via TCP/IP
By default, the ODBC Server runs locally
![Page 6: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/6.jpg)
Installing the ODBC Driver
![Page 7: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/7.jpg)
Adding the driver manuallyDepending on the operating system,
the ODBC manager may look
different. But the principles
are the same.
![Page 8: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/8.jpg)
Setting up and starting the server
Manual startupWhen manipulating the active configuration via ODBC, the IGSS configuration must not be running.Instead, start the server manuallyor put it in the Windows Startup group.
Auto startThe ODBC Server is started andstopped with the IGSS
configuration.
![Page 9: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/9.jpg)
ODBC Client Setup
• Multiple data sources
• Active configuration or specify path
• ODBC client points to ODBC server TCP/IP host name and port
![Page 10: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/10.jpg)
When the ODBC Server runs
The ODBC Server must be running in order to use these features:
• Object Historian
• Embedded graphs
• Event Report Writer (ERW)
• Snapshot reports
![Page 11: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/11.jpg)
Online Demo
• Show setup under ”Data Sources (ODBC)” in the Control Panel
• Show ”Auto start” option in System Configuration
• Show how to manually activate the ODBC Server
![Page 12: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/12.jpg)
Accessing the ODBC tables (1)Create a blank databasePut the database in the configuration folder. Nameit f.ex. ”ODBC.xxx”.
Link to ODBC data sourceIn ”Files of type” select”ODBC Databases()”.
![Page 13: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/13.jpg)
Accessing the ODBC tables (2)
Select the data sourceDouble-click the IGSS ODBC data source.
Select the IGSS ODBC tablesClick ”Select All” to show all tables.
![Page 14: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/14.jpg)
Accessing the ODBC tables (3)
All ODBC tablesThe arrow indicates that the table is linkedto the IGSS ODBC driver.
![Page 15: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/15.jpg)
ODBC Tables – overview
• General tables(CONF, ATOM, SUPERCONF, etc.)
• Type-specific tables(ANALOG, ANA_TEMPLATE, etc.)
• Process data tables(ALM, LOG, BCL)
• Online data tables(ALM_ONLINE, ATOM_ONLINE, CONF_ONLINE)
• Descriptor Tables(DSC_xxx)
![Page 16: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/16.jpg)
General ODBC tables (1)
The SUPERCONF table
•A collection of propertiesfor analog, digital, table, counter and string objects•Other object types must be defined in CONF• SUPERCONF creates the required records in the relevant tables
![Page 17: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/17.jpg)
Type-specific tables (1)
All tables have primary keys on OAN or
area name and object name
(flat, but simple structure).
These bind the tables together.
Analog, table, counter and string objects
ANALOG
COUNTER
STRING
TABLE
CONF
ANA_TEMPLATE
ATOM
Properties common to
all object types
Properties for specific
object types
STANDARD
TABLEVALUESTAB_TEMPLATE
CNT_TEMPLATE
Properties for specific
templates
![Page 18: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/18.jpg)
Type-specific tables (2)
Digital objects
CONF
ATOM
Properties common to
all object types
Properties for digital
objects
STANDARD
DIGITALDIG_TEMPLATEDIG_CMD
DIG_STATE
DEFAULTCMD
INVALIDCMD
Properties for digital
templates
DIG_ALARMS
All tables have primary keys on OAN or
area name and object name
(flat, but simple structure).
These bind the tables together.
![Page 19: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/19.jpg)
Type-specific tables (3)
Non-process objects
SCALINGPOINTS
FKEY
CONF
AREA
Properties common to
all object types
Properties for scaling
objects and function
keysGRAPHELEM
PICTURE
GRAPH
Properties for areas,
diagrams and graphsList of graph objects
All tables have primary keys on OAN or
area name and object name
(flat, but simple structure).
These bind the tables together.
![Page 20: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/20.jpg)
Process Data Tables
The amount of data in these tables can be enormous.
Example:
ONE object ONE reduction method BCL reduced every 60 sec.
1440 records/day = 43200 records/month = 525600 records / year
Use as narrow filters as possible when accessing these tables.
Remove old data (”Files” tab in System Configuration)
![Page 21: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/21.jpg)
Online Data Tables
The ONLINE tables•Values can be changed online
![Page 22: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/22.jpg)
Online Demo
• Create a new database
• Link to the ODBC tables
• Create a new analog object
• Create a new diagram
• Show the resulting configuration
![Page 23: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/23.jpg)
Fetch IGSS Data Into Excel (1)
STEP 1:Import data fromdatabase
STEP 2:Choose the IGSS ODBCData Source
![Page 24: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/24.jpg)
Fetch IGSS Data Into Excel (2)STEP 3:Choose the ODBC tableand the relevant fields
STEP 4:Filter data and define sort order
![Page 25: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/25.jpg)
Fetch IGSS Data Into Excel (3)
STEP 5:Return data to Microsoft Excel
STEP 6:Specify target cells in Excel
![Page 26: Slide Show 25: Using the IGSS ODBC Interface - Database...Manual startup When manipulating the active configuration via ODBC, the IGSS configuration must not be running. Instead, start](https://reader033.fdocuments.in/reader033/viewer/2022053008/5f0c45cb7e708231d43494b5/html5/thumbnails/26.jpg)
Interface Help
• Interface overview
• Interface details
• Examples