Comparison
Why one PI OPC DA interface cannot carry two historians' archives
Short answer
One PI OPC DA interface cannot deliver complete archives and events from a Wonderware and a Proficy historian, because OPC DA defines live value, timestamp and quality exchange but no archive-range query or event transfer. Use PI Interface for OPC DA through the Proficy OPC server for Proficy, and PI Connector for Wonderware Historian for Wonderware.

On this page
A client with a Wonderware Historian at one site and a Proficy historian at another wants everything in one central PI system. The direct answer is no: one PI OPC DA interface cannot carry complete archives and events from both, because OPC Data Access exchanges live values with timestamps and quality but defines no archive-range query and no event transfer. Build two source-specific paths: the PI Interface for OPC DA through the Proficy OPC server for Proficy, and the PI Connector for Wonderware Historian for Wonderware, then accept backfill and events as separate requirements.
Which connection belongs on each historian? #
Two source-specific paths, not one: Proficy through its OPC server into PI Interface for OPC DA, and Wonderware through the purpose-built PI Connector for Wonderware Historian. A working live value proves a data path exists, not that history and events migrate, so decide the transport per source.
| Approach | Connection path | What decides its suitability |
|---|---|---|
| Proficy through OPC DA | Proficy historian → Proficy OPC server → PI Interface for OPC DA → PI | Each required item must be exposed by the server, readable by the interface and mapped into PI; history needs a separate documented retrieval method |
| Wonderware connector | Wonderware Historian → PI Connector for Wonderware Historian → PI | Documented treatment of source history, timestamps, quality and metadata; compatibility of the installed versions |
| One OPC DA interface for both | Requires an OPC DA endpoint per source | A common protocol does not establish multi-server support, archive retrieval or event transfer; each requirement fails or passes on its own |
The connector reads Wonderware through the Historian SDK and a SQL command data reader and builds a hierarchical view of the source in PI automatically, which is exactly the archive access an OPC DA item read cannot give. If you are weighing this against migrating one historian's history wholesale, the method comparison in Backfilling Wonderware Historian data into PI covers connector versus RDBMS in detail.
Why can a live PI value appear while history and events are missing? #
Because OPC DA was designed for real-time exchange: a server can hand over a value that originated in a historian without exposing the stored archive through the same read. The interface documentation states this design scope directly. Archived samples need a mechanism that requests a time range and returns the stored samples, and events need their own transport because an alarm occurrence, an acknowledgment, an operator action and a stored numeric change are different records with different attributes.
| Operator requirement | Data to inspect | Acceptance question |
|---|---|---|
| Current process value | Value, timestamp, quality, update behavior | Does PI receive the source value with its source time? |
| Archived process values | Requested interval and recorded samples | Does PI hold the required historical coverage? |
| Alarms and other events | Event identity, times, state, attributes | Does the destination preserve the meaning operators need? |
The same gap explains why alarm replication into PI fails over a data path; why PI Server cannot receive Historian alarms and events treats events as a separate design item.
How do you configure the two acquisition paths? #
Configure each path against its documented scope, pilot with a small point set, and expand only after live, history and event checks pass separately. Do not let one interface product be the design constraint for both sites.
- Define the scope: list representative analog, discrete and status points, the historical interval and each required event category. Decide whether PI gives central visibility only or must reproduce source records for reporting.
- Check installed compatibility: read the source historian, OPC server, interface, connector and destination versions and match them against the manufacturer documentation. The interface supports OPC Data Access 1.0a, 2.0 and 2.05.
- Prepare authorized connectivity: service identities, source permissions, destination write access and network paths. For OPC DA, account for its Windows COM/DCOM security rather than testing only host reachability.
- Configure the Proficy path: point PI Interface for OPC DA at the Proficy OPC server and map a small representative set of exposed items into PI. The interface supports both input and output, so decide per item whether PI writes back.
- Configure the Wonderware path: connect PI Connector for Wonderware Historian to the intended historian and configure its point selection and destination mapping; the connector's hierarchy creation defines the resulting point structure.
- Resolve history and events explicitly: use documented backfill where the component provides it, and a supported extraction or event integration method where it does not.
Separate the interface product from its instances: check the documented multi-server configuration before deciding how many instances or hosts the two-site deployment needs. If one of the sources is itself a PI system rather than an OPC server, the path changes; PI-to-PI interface versus an OPC DA path covers that single-source case.
How do you prove the central data is complete? #
With a written source-to-destination comparison per requirement, because retention, filtering, compression, interpolation and timestamp handling can make two plausible trends represent different stored data. Never sign off on a visual trend check alone.
- Compare live values against the corresponding source items, including timestamps and quality.
- Query the same interval at the source and in PI and compare recorded samples, not recorded against interpolated values.
- Count events by category and state at both ends for the test window.
Worked example: the test window is 24 hours at a 1-minute logging interval for one analog point, so the source should hold 24 × 60 = 1440 recorded samples if no exception filtering dropped any. The source query returns 1440 rows and the PI query for the same interval returns 1440 recorded values with matching first and last timestamps: the archive requirement passes for that point. A PI count of 360 recorded values means only every fourth sample arrived, which is a partial transfer that a trend would still draw as a continuous line; fix the retrieval path before expanding to the remaining points. Repeat with the source's actual logging trigger, since a count derived from the interval is an expectation to compare against, not a guarantee. The overflow-versus-status distinction matters when the backfill tool reports failures; OPC HDA overflow records versus status -109 in PI archive backfills shows how to read those results.
Which decision closes the two-site design? #
Commit to two paths and three acceptance checks: Proficy through its OPC server into PI Interface for OPC DA, Wonderware through PI Connector for Wonderware Historian, and live values, archive ranges and events each tested separately against the source. Where the Proficy archive must also be backfilled, add a documented historical extraction path rather than expecting the OPC DA interface to deliver it. Record the actual diagnostic messages from each component during the pilot so a blank display is traced to binding, mapping, connection or source coverage rather than assumed to be a network fault.
Questions asked
Does the PI Interface for OPC DA work when the PI Data Archive is unavailable at startup?
Yes. The interface is built on a UniInt version that supports disconnected start-up, so it can start and begin collecting from the OPC server before the PI Data Archive is reachable, buffering until the connection is restored.
Which OPC Data Access versions does the PI Interface for OPC DA support?
The standard is designed for real-time data exchange, which is why archive retrieval and event transfer fall outside what the interface can promise.
Can the PI Connector for Wonderware Historian create PI points automatically?
The connector uses the Wonderware Historian SDK and a SQL command data reader to build a hierarchical view of the source in PI automatically. Confirm the resulting point names and attributes against your naming standard before adding points to displays.
How do we test completeness after the two paths are running?
Query the same interval at the source historian and in PI and compare recorded sample counts and end timestamps, using recorded values rather than interpolated ones. Treat live value, archived values and events as three separate acceptance checks with their own pass criteria.


