piclient
Description
The PI client object provides access to an AVEVA® PI Data Archive so that you can search tags and read their data.
Creation
Syntax
Description
piClient = piclient(
creates a PI
client object piServer
)piClient
, and connects to the AVEVA PI Data Archive specified by piServer
.
piClient = piclient(
uses Windows® credentials if required by the PI Data Archive. piServer
,Username="WinUserID",Password="WinPwd")WinUserID
and WinPwd
are your Windows login name and password, specified as strings. Credential information is
used only to connect to the PI Data Archive, and is not retained in the
piClient
object properties.
piClient = piclient(
specifies the domain name, as a string, associated with the user credentials, if required
by the PI Data Archive.piServer
,Username="WinUserID",Password="WinPwd",Domain="WinDomain")
If an invalid argument is specified or the connection to the server cannot be established, the object is not created.
Input Arguments
Properties
Object Functions
Examples
Version History
Introduced in R2022a