8.PIAPI_PISDK使用

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
12
Questions
Version 1.2
PI Application Development Course
10.0 Programming with Visual Studio
Technologies
What are the technologies offered to access data from the PI System? PIAPI,PISDK with C/C++/C#/VB/VBA.
PIUser
PIGroup
PIContext
PITransferRecord
PIUnitBatches
PICampaign
PIUnitBatch
PIBatches
PISubBatches
PISubBatch
9
12.2.2 Steps to Develop an Application
Declare variables
10.1 PI API
12.1.1 PI API FUNCTION
Function Groups
Unit PIAR PIBA PIEL PILG Description Archive Functions PI Batch Functions Event Log Functions Login Functions and Message Log (Home and Net Node) Functions / Login connections and user dialogs (MSW and NT only) Point Database Functions Snapshot Functions Time Functions Utility Functions
Disconnect PI
• piut_disconnect
12.1.3 Range of ApplicatBaidu Nhomakorabeaon
通讯接口
批量数据处理
10.2 PI SDK
12.2.1 PI SDK Object Model
PI SDK Servers
Server
Aliases
PathAliases
PointClasses
PIPoints
StateSets
ServerVersion
MessageLog
ServerManagement
PointClass
PIPoint
StateSet PIModuleDB
AttributeSets
DigitalState PIHeadingSets PIModuleTemplates PIModules EventPipe
• Server(s). • Items.
Connect
• PI.
Map to items
• PI Points.
Perform desired actions
• Retrieve data. • Manipulate data. • Write data.
12.2.3 Range of Application
WEB应用
Client工具
12.2.4 Calculation Boundary Types
C
A F (interpolation)
D
G (interpolation)
B E
Start Time
End Time
• Inside (B,C,D) • Outside (A,B,C,D,E) • Interpolated (F,B,C,D,G)
PointAttributes
Data PIHeadingSet PIModuleTemplate PIModule
PointAttribute PIBatchDB
PIUsers
PIGroups
PIContexts
EventPipe
PITransferRecordDB
PIBatch
PICampaignDB
PIPT PISN PITM PIUT
5
12.1.2 Steps to Develop an Application
Connect PI
• User/Pass • Trust.
Get Points Info
• Point ID • Point Type
Read/Write Data
• Retrieve data. • Manipulate data. • Write data.
相关文档
最新文档