Voices: OPC Connection

Free Your Mind with OPC HDA ... and the Rest Will Follow

How Do I Access the Data Files/Tables on Your HDA Historian?

By Mustafa Al-mosawi

There are few things I enjoy more than seeing the light go on in someone's mind, and the are few better places to see this than at an OPC Training Workshop. A student asked a very good question, and a few days later, when visiting a customer site, the same question came up again. So – here I am blogging about it.

The question asked both times was this: How do I access the data files/tables on your HDA Historian?

Some of you are probably chuckling under your breath. But these are very smart people—experts with a wide variety of technology. So why the disconnect? OPC-HDA wasn't something they were familiar with. So if you don't think that's a funny question, here are two answers for you: one short, one long.

Short answer: You don't. You don't. Need. To. That's the point. Any HDA tool will get you all the access to the archived data you need.

Long answer: You don't. You don't. Need. To. The whole point of the OPC HDA standard is to remove the need to understand deeply how the data is archived, accessed or organized. I can store my data in a single file or fifty-thousand. I can store them as csv, xls or DAT files. I can store them with an advanced configuration database with advanced lookups or in one giant, long, insanely over-indexed table. I can store the data however I want. HDA makes no restriction about which mechanism I should choose. The OPC HDA server's job is to make that invisible to you, whichever archive you choose.

That's the theory anyway. In reality, not all HDA servers or archives are created equal.

Archive structures are defined by good engineering, design constraints and project requirements. Choosing poorly can have implications related to security, reliability, auditability and availability of the data. Ultimately, whichever archive you or your vendor choose, the HDA server needs to understand the database schema, or the file structure. The HDA server is responsible for figuring out which files to open, how to structure the query, and for packaging them up so any OPC HDA client can understand the answer. The HDA server is almost always separate from the archive—just as the OPC DA server is almost always separate from the device.

Like DA, HDA frees you to pick and choose whatever tool to access the data from your historian. That's how OPC Excel Reporter and OPC Easy Trender work with any historian on the market, and how OPC Desktop Historian works with any HDA tool.

So instead of database schemas and file structures, gain knowledge about your processes and equipment performance from a wider variety of data sources with a greater selection of tools. That's the power of OPC.


Mustafa Al-mosawi, BSc, is Matrikon’s product manager for Matrikon Analytics. He has 8 years experience in design, develop­ment, commissioning and testing of industrial software products. Mustafa previously worked in the nuclear industry as a business and systems analyst with Ontario Power Generation-supporting next generation initiatives. Prior to his current role, he was a senior product designer for the Matrikon Suite of products, including Operational Insight, Alarm Manager, and TaiJi PID.

Read Mustafa Al-mosawi's blog "OPC Exchange."

More from this voice

Title

OPC Certification: New Things Brewing in the Lab

OPC Applications Are Not Communicating, Or Are They?

05/28/2008

Islands in the Stream

Unless You’re Talking Vacation Destinations, Islands Conjure Up Images of Isolation and Communication Difficulties

03/26/2008

Build Green and Stay Green with OPC

02/20/2008

Look before You Leap: Implementing Successful OPC Projects

The Right Way to Implement Industrial Automation Connectivity

01/17/2008

There’s OPC in Them There Oil Fields

Companies are using OPC connectivity to overcome challenges oil coaxing.

12/17/2007

Examining the Armor of OPC-UA Security

Centuries of conflict have seen technology develop from cowhides to Kevlar and beyond, but when talking of securing the realm, the image of a knight in shining armor still comes to mind.

11/13/2007

New Hopes and Old Worries – A Familiar Standards Story

Once upon a time, a new technology appeared to the Industrial Automation world. It came offering promises of new standardization that would make life easier, save money, improve efficiency and be safe and secure.

11/06/2007

OPC UA – Up and Running

So what exactly is OPC Unified Architecture (UA) specifications, and when can I get it?

09/13/2007

OPC is Hard and Gooey

What are the differences between discrete and process type manufacturing?

07/24/2007

Complacent with compliance?

OPC Certification creates a solid quality baseline for interoperability that separates the wheat from the chaff, according to OPC specialist Eric Murphy, and serious end-users will demand nothing less.

06/01/2007

OPC, Modbus and Fieldbus, Oh my!

Just as Dorothy and her companions each had unique characteristics, end users are faced with a multitude of protocol choices for use in the heart of their industrial process: their communications network.

03/30/2007

Energy saving solutions – Building IT with OPC

OPC provides the advantages of standardized data connectivity among many isolated systems, industry-proven applications to turn that data into information, and hence into cost and energy savings.

02/23/2007

OPC UA enables Business Intelligence (BI)

In a special-to-the-web article for OPC Connection, OPC specialist Eric Murphy presents his thoughts on OPC UA and how it offers the promise of unifying individual business units into true enterprise-wide solutions.

02/16/2007

Winning the battle for interoperability

In a special-to-the-web article for OPC Connection, OPC specialist Eric Murphy presents his thoughts on what it will take to achieve the mission of true interoperability.

01/16/2007

Ensuring OPC connectivity in mission critical applications

OPC specialist Eric Murphy presents important aspects to consider when addressing the uninterrupted flow of data and communications, and how OPC plays an increasingly mission-critical role in the enterprise.

10/05/2006

OPC security – better safe than sorry

OPC specialist Eric Murphy brings the latest in OPC technology to OPC Connection. This month, he presents important aspects to consider when addressing security in OPC and the process industry.

09/11/2006

OPC – A decade of success by any standard

OPC specialist Eric Murphy brings the latest in OPC technology and specifications, and his thoughts on where the technology is headed, to OPC Connection, our new Site Resource for the OPC community.

08/10/2006

OPC as the network glue

Industrial Networking columnist, Ian Verhappen, addresses open process connectivity (OPC) and how you can use different flavors of it depending on the application and system requirements.

03/22/2006

OPC tunneling increases data availability

OPC has quickly become the de facto open communication standard in the world of industrial connectivity. However, shortcomings in operating system components, particularly the security layer (DCOM), can lead to data loss.

09/27/2005

Historical OPC alarms and events

Understanding and searching alarms and events logs and turning them into valuable data stores can be difficult, but is instrumental in optimizing plant performance.

09/15/2005