Download
pi sdk n.
Skip this Video
Loading SlideShow in 5 Seconds..
PI-SDK PowerPoint Presentation

PI-SDK

184 Vues Download Presentation
Télécharger la présentation

PI-SDK

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. PI-SDK Bill Vaughan and Harry Smith

  2. Topics • Anatomy of the PI-SDK • Working with the PI-SDK • Under the hood • Features of the first release

  3. What is it? • PI-API • Library of loosely related functions • PI-SDK • Hierarchical Object Model

  4. Basic PI-SDK Objects Servers PIPoint PIPoints Server PIPoint PIPoints Server PIPoint PIPoints Server

  5. Collections • Manage a group of objects • Support standard methods and properties • Count • Item • For Each • Add • In PI-SDK represent underlying objects

  6. Collections and Parents Servers PIPoint PIPoint PIPoints Server PIPoint PIPoints Server

  7. View from a Server Server Version Server MessageLog StateSets PointClasses PIPoints PointClass PIPoint StateSet PointClass PIPoint StateSet PointClass PIPoint StateSet

  8. PIPoint Central EventPipe PIPoint PIPointWrite PointAttributes PIPointAttrEdit StateSet PointAttribute DigitalState NamedValue PointAttribute DigitalState NamedValue PointAttribute DigitalState NamedValue

  9. Object Universe

  10. Working with the PI-SDK

  11. Under the Hood

  12. Binary specification Language-independent Contract-based Familiar model Properties Methods Events COMobject Component Object Model IUnknown Interfaces

  13. 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)

  14. COM Everywhere:Developer tools PIPoint • Visual C++ • Native support: #import • Delphi • PowerBuilder • Visual Basic • Early binding Server

  15. COM Everywhere:Applications • Web Browsers • Internet Explorer • Netscape • Visual Basic for Applications • ProcessBook • Excel • Visio • And more!

  16. Faceplate control (VB) Simple COMobject (ATL) Implementation Architecture • Components • No user interface • C++ / ATL • Controls • GUI faceplates • Visual Basic

  17. Initial Release Goals • Expose new PI on NT and UNIX features • Coexist with PI-API • Support existing PI on VMS features

  18. Initial Release Features • Create Points • Edit point attributes • Delete points • Support for new point types • Point Classes • State Sets

  19. Summing Up • ActiveX Server • Easy to understand • Easy to use • Access to new features • Basis of new OSI products • Built for integration

  20. and just plain fun ...