200 likes | 409 Views
PI-SDK. Bill Vaughan and Harry Smith. Topics. Anatomy of the PI-SDK Working with the PI-SDK Under the hood Features of the first release. What is it?. PI-API Library of loosely related functions PI-SDK Hierarchical Object Model. Basic PI-SDK Objects. Servers. PIPoint. PIPoints.
E N D
PI-SDK Bill Vaughan and Harry Smith
Topics • Anatomy of the PI-SDK • Working with the PI-SDK • Under the hood • Features of the first release
What is it? • PI-API • Library of loosely related functions • PI-SDK • Hierarchical Object Model
Basic PI-SDK Objects Servers PIPoint PIPoints Server PIPoint PIPoints Server PIPoint PIPoints Server
Collections • Manage a group of objects • Support standard methods and properties • Count • Item • For Each • Add • In PI-SDK represent underlying objects
Collections and Parents Servers PIPoint PIPoint PIPoints Server PIPoint PIPoints Server
View from a Server Server Version Server MessageLog StateSets PointClasses PIPoints PointClass PIPoint StateSet PointClass PIPoint StateSet PointClass PIPoint StateSet
PIPoint Central EventPipe PIPoint PIPointWrite PointAttributes PIPointAttrEdit StateSet PointAttribute DigitalState NamedValue PointAttribute DigitalState NamedValue PointAttribute DigitalState NamedValue
Binary specification Language-independent Contract-based Familiar model Properties Methods Events COMobject Component Object Model IUnknown Interfaces
Why COM? • Unicode strings for easy localization • Integrated documentation • Object browser • Context-sensitive help • Microsoft uses it internally • Mission-critical OS features • High performance (DirectX)
COM Everywhere:Developer tools PIPoint • Visual C++ • Native support: #import • Delphi • PowerBuilder • Visual Basic • Early binding Server
COM Everywhere:Applications • Web Browsers • Internet Explorer • Netscape • Visual Basic for Applications • ProcessBook • Excel • Visio • And more!
Faceplate control (VB) Simple COMobject (ATL) Implementation Architecture • Components • No user interface • C++ / ATL • Controls • GUI faceplates • Visual Basic
Initial Release Goals • Expose new PI on NT and UNIX features • Coexist with PI-API • Support existing PI on VMS features
Initial Release Features • Create Points • Edit point attributes • Delete points • Support for new point types • Point Classes • State Sets
Summing Up • ActiveX Server • Easy to understand • Easy to use • Access to new features • Basis of new OSI products • Built for integration