IMD SolutionComputing LibraryShop main store

Explainer

PI AF Server is a separate download with its own license

Edge computing and IIoT Published 10 min read

Short answer

Yes, you still need the server: the PI AF SDK and the AF Client kit install client libraries and tools only, while PI AF Server and PI Data Archive arrive as a separate PI Server download that appears under your company's entitlements. Developing is free and a 45-day trial exists; reading production data and deploying the application require a PI System Access license.

On this page
  1. Do the SDK and AF Client install the PI Server?
  2. What comes in the PI Server download?
  3. Where does the AF Server kit show up in downloads?
  4. Can you develop without buying a production license?
  5. Can the application use the plant's existing PI System instead?
  6. Why does a clean C# build still show no data?
  7. Which server answers when one attribute is read?
  8. What do you install first when no plant system exists?
  9. So which download do you need, and when?
  10. Questions asked

PI AF Server is a separate download with its own license, and none of the kits already on your workstation will stand it up. The PI AF SDK gives a C# project the libraries it references, and the AF Client kit adds the tools that browse and test an AF Server; both are client-side, and neither carries a server inside it. That is why the server does not appear next to them in your download list: it becomes visible only under the entitlements of your company's account in the vendor customer portal. This article takes the decision in the order you meet it — what each installed piece is, what the server kit contains, where the download appears, what the free developer terms allow and what a PI System Access license adds, and how to prove a real read before any application code runs.

Do the SDK and AF Client install the PI Server? #

No — the AF Client kit is a standalone install that puts client tools on the workstation and reaches an AF Server only through the PI AF SDK, so the server itself is a different kit that neither of your two installs contains. The vendor documents the AF Client install kit as a standalone kit that installs the client application communicating with an AF Server through the PI AF SDK. Your project does the same job at a lower level: it references the SDK assemblies and calls them, and that is the whole extent of what a client install contributes. Nothing on the server side is provisioned, no service is created and no asset database appears.

Keep the AF Client anyway: its tools are how you will later confirm that the AF Server, the database and a test element exist and are readable before the first run of your code, and the verification steps below assume you have it.

What comes in the PI Server download? #

The PI Server download groups three server components — Data Archive, PI AF and the PI Notifications Service — and a server role is a named collection of those individual features, so the AF Server arrives as a selectable part of a server kit and never hides inside a client install. In the AVEVA PI portfolio, the server side is the PI Server, and the vendor's component documentation describes it exactly that way. PI AF holds the asset model — elements, attributes and their configuration — in an AF SQL database backend, and the vendor's AF installation guidance has long supported installing that database and the AF Server service on separate machines, with remote AF Clients reaching the server over the network. Data Archive stores the PI points and their historical values.

Component What it provides Where it is installed
PI AF SDK Libraries the C# project references and runs against Development workstation
PI AF Client Tools to browse, configure and test an AF Server Development workstation, or any client machine
PI AF Server Asset model: elements, attributes, data references Server host, under the company entitlement
AF SQL database Backend that stores the AF model With the AF Server, or on its own machine
PI Data Archive PI points and historical time-series values Server host, under the company entitlement
PI Notifications Service Delivery of notifications Only when an application raises notifications

A plain read client exercises the SDK, an AF Server and — for point-backed attributes — a Data Archive, and nothing else in this table.

Where does the AF Server kit show up in downloads? #

It appears only under your company's entitlements: log into the vendor customer portal with the company account, open the products and downloads area, and every kit listed there is one your organization is licensed to install. The vendor's answer to this exact question is unambiguous: the PI AF Server has to be downloaded separately, and the downloads page under your account shows what your company is licensed to download. If the kit is absent from your list while your project compiles happily, it is not bundled anywhere — it is simply not on your company's entitlement yet.

If the server kits are missing while the client-side kits appear, the account is either not associated with your company or the company holds no entitlement for that kit. Resolve that through the portal's account management or the vendor's licensing support. Do not go looking for an installer anywhere else: server software that arrives from outside the manufacturer's own distribution is a licensing violation and an integrity risk on the very machine you intend to turn into a data server.

Can you develop without buying a production license? #

Yes — the vendor's developer technologies are free to download and free to develop with, and the vendor documents a 45-day trial license plus a paid subscription that includes access to a development PI System, while reading production data and deploying the finished application take a PI System Access license. Free covers download and development only; the production rights are a separate grant the free tools never include. Between compiling and production, two documented options exist: the trial and the paid development subscription, both obtained through the vendor — this part of the decision is not something a walkthrough video settles.

Worked example — the trial clock against a pilot date. Say the trial license is issued the day the development host is ready and the kit installs, and operations wants the pilot demonstrated on day 60. The trial runs 45 days from issue, so the gap is 60 - 45 = 15 days without a licensed server. The decision that closes it: repoint the pilot at the plant's licensed system before the trial ends, or have the production licensing signed and the server re-licensed inside the trial window. Start the trial the day the host is ready, not the day the idea is approved — if the host takes 10 days to build, 10 of the trial's days are spent without a server to test against.

Before promising continuous service from that box, verify which license the deployed server is actually running: an expired trial fails at run time, while the project keeps compiling against the SDK without complaint.

Can the application use the plant's existing PI System instead? #

Yes, and it is the shortest path: when the plant already runs a licensed PI System, the workstation needs only the SDK libraries and read permission, and you install no server and no development license at all. Three connection facts come from the administrator, and they are three different targets: the AF Server name, the AF database the application should read, and the Data Archive name behind the point data. Finding the AF database does not by itself prove the time-series side is reachable, so verify both.

The proof costs five minutes: open the AF client tools on the workstation, confirm the agreed test element is visible under the account your application will run as, and read its value once at a timestamp whose answer you already know. Keep the access read-only and keep the test element one the administrator chose; a development session against a production system is a guest, and it behaves like one.

Whether to lean on the plant's production system or stand up an isolated development environment is the same trade-off weighed in when a separate historian earns its place beside your SCADA.

Why does a clean C# build still show no data? #

Because a successful build proves exactly one thing — the project resolved its referenced libraries on disk — and says nothing about whether a server exists, whether the network reaches it, or whether the account running the application may read. It is the same trap the vendor's cloud-based examples fall into: the SDK needs a real server endpoint to aim at, which is the situation described in why PI SDK needs a real PI Server endpoint for cloud tests.

Prove the stack from the bottom before running the application: connect from the AF client tools; confirm the expected database and test element are visible under the application's own account; read the element's value at a timestamp you already know the answer for. Only then point the project at the same servers and require its first read to match that known value. If any step fails, the application is not yet the thing under test — fix that layer, then re-run.

Which server answers when one attribute is read? #

Both of them: an AF attribute backed by a PI point is one read that crosses two servers, with the AF Server resolving the element path and data reference and the PI Data Archive supplying the values behind it. That split gives one failed display value three candidate layers, and they are tested in order. A server that cannot be reached at all points at the service state, name resolution or the network path. A client that connects but sees no database or element points at the object path and the account's permissions, compared against a working session. An attribute that resolves but returns no value points at the data reference and the archive behind it.

One more constraint narrows the last case: a client session reads from one Data Archive, not several — the same single-archive rule behind when PI Vision connects to only one PI Data Archive. So when a point-backed attribute stays empty, test the Data Archive connection on its own before re-testing anything on the AF side.

What do you install first when no plant system exists? #

Plan two server roles from the start — Data Archive for the points and their history, PI AF for the asset model — and follow the install guide of the release you chose, because component selection and prerequisites change between releases. Choose those releases from the vendor's compatibility documentation rather than from a walkthrough: a PI Server 2016 walkthrough pairs AF Server 2.8.0.7444 with Data Archive 3.4.400.1162, which is a useful demonstration of the components but not a release-independent install sheet. Then work the order:

  1. Prepare the host and the SQL Server backend the release requires; the AF SQL database may sit on a machine of its own, separate from the AF Server service.
  2. Install Data Archive, then PI AF with its database, selecting the roles the application actually needs.
  3. Change the installer's default service settings as the guide directs instead of accepting them as installed.
  4. Create a test element whose attribute is a data reference to a real PI point.
  5. Connect with the AF client tools, open the database, and read that element at a known timestamp.
  6. Add the SDK references to the C# project last, pointed at the same two servers, and require its first read to match step 5.

That order keeps the licensing story straight too: every server role you select is an entitlement your company must hold, and the trial clock from the licensing section starts the day the kit actually installs, not the day the plan was approved.

So which download do you need, and when? #

You need the PI AF Server kit the moment your C# project must read an AF attribute no plant system can serve, and you need it under a company entitlement: free client libraries compile, but a server that holds your asset model and its history is never part of them. The decision, case by case:

  • A plant PI System exists and the administrator grants read access: install nothing new. SDK and AF Client on the workstation, a read-only account, an agreed test element, and the application reads production data under the plant's existing license.
  • A plant system exists but your work may not touch it, or you need isolated data: your company holds the entitlement for the server kits and takes a development license — the documented trial or the paid subscription — and runs two server roles on its own host.
  • No entitlement is in place and a production deployment is ahead: resolve the account association and the entitlement through the portal and the vendor's licensing channel before writing code against an assumed server, because the free client libraries will compile either way and tell you nothing.

Questions asked

Is the AF Client kit required for my C# application to run?

No. The running application references the PI AF SDK libraries and calls them directly, so the AF Client kit is not a runtime dependency of the program. It is a dependency of you: its tools are how you confirm the AF Server, the database and a test element are visible and readable before the first run. Install it on the development workstation, or on a separate machine from the server, and keep it for the connection tests.

Where does the paid development option come from?

Through the vendor itself. The developer community program is where the vendor documents the trial, and the paid subscription that includes access to a development PI System is arranged through the vendor's sales or customer success channel. Current terms and duration belong to that conversation; an older walkthrough or a second-hand number is not a licensing document. If your downloads page shows no server kits at all, the same channel resolves the entitlement question.

Does installing the PI AF Server also install the Data Archive?

No, and the reverse is also true: you select the roles the application needs. Read PI point history through AF data references and you provision both servers; read only AF metadata and an AF Server whose archive partner already exists elsewhere can be enough. Each component carries its own build number, so keep both on the release's documented compatibility list.

Do I need the Notifications Service for a read-only client?

No. The Notifications Service is the third component in the PI Server kit and it exists to deliver notifications, not to store or serve process data. A client that only reads attributes and point values exercises the AF Server and the Data Archive and nothing else, so leave Notifications out of the server role until an application actually raises messages. Every feature you add to the role is also something to license, patch and monitor on that host.

Keep reading

  • Explainer

    PI AF SDK: the native path from a C# application to PI

    No driver joins two OPC UA clients, so KEPServerEX needs no new driver for this. Read PI Data Archive and PI Asset Framework from C# through PI AF SDK, which needs the server-side PSA license. Any new values must flow through a real OPC UA server endpoint that a licensed PI OPC UA interface or connector collects from.

    Edge computing and IIoT

  • Explainer

    Why PI SDK needs a real PI Server endpoint for cloud tests

    No. No public PI Server accepts direct PI SDK connections on port 5450, so a cloud address alone never yields a read-only test endpoint. Use the managed VLE included with a paid PI Developers Club membership, deploy a licensed PI System on Azure or AWS, or build new code on AF SDK — and put the read-only boundary in the server-side identity, not the client code.

    Edge computing and IIoT

  • Troubleshooting

    Why an AF SDK application cannot connect on a client machine

    The installer copying only OSIsoft.AFSDK.dll does not deploy the AF SDK; the target machine needs the AF Client package as a prerequisite, with the AF SDK assemblies component selected. Add the separate PI SDK installer when the application targets .NET 3.5. Install that client package on the failing machine and the same application connects; then separate loader failures from connection and data failures by the exception the first AF call throws.

    Edge computing and IIoT

PI AF attribute with no PI Point tag in PI Vision