Skip to main content
Category

C#

Sample description for C#

5 articles
PI System
Asset Framework
+2

Importing XML to a Specific AF Element Path with AFSDK: Best Practices and Pitfalls

Learn how to reliably import XML fragments to a specific AF Element in OSIsoft PI Asset Framework (AF) using AFSDK. This post covers the correct use of ImportXml, proper XML structure, and troubleshooting common mistakes.

#PI System
#AFSDK
#XML
+5

Roshan Soni

PI System
AF SDK
+2

C# and the Future of OSIsoft PI System Connectivity: Migrating to AF SDK

The PI AF SDK is now the standard for .NET development with the OSIsoft PI System, replacing the deprecated PI SDK. Learn how to read tag data in C#, access metadata, and leverage official documentation and community resources.

#OSIsoft
#PI AF SDK
#C#
+4

Roshan Soni

PI System
AF SDK
+1

Traversing AF Elements and Checking PI Point Attribute Mappings Using OSIsoft AF SDK

Learn how to use the OSIsoft AF SDK to traverse AF elements, check PI Point attribute mappings, retrieve data, and handle common errors. We'll cover traversing the entire AF database, checking for attribute mapping errors, retrieving data for the last 10 days, and handling time range issues. Get the total element count programmatically.

#OSIsoft PI
#PI System
#AF SDK
+6

Roshan Soni

PI System
AF SDK
+1

How to Create and Manipulate Tables Using OSIsoft AF SDK in C#

Learn how to create and manipulate AF Tables using the OSIsoft AF SDK in C#. This blog post covers connecting to an AF Server and Database, creating AFTables, adding columns, inserting data, and saving changes back to the PI System.

#OSIsoft PI
#AF SDK
#Data Management
+3

Roshan Soni

PI System
AF SDK
+1

Traversing an AF Database Hierarchy to Count All Elements Using OSIsoft AF SDK

Learn how to use the OSIsoft AF SDK in C# to traverse an AF database and count all elements within its hierarchy. This blog post provides a comprehensive guide with code examples for connecting, traversing, and counting AF elements.

#PI System
#AF SDK
#AF Database
+3

Roshan Soni

About C#

Explore our collection of expert articles about C#. Our content is written by experienced PI System professionals and covers everything from basic concepts to advanced implementation techniques.

Whether you're new to PI System or an experienced engineer, you'll find valuable insights, tutorials, and best practices to help you get the most out of your industrial data infrastructure.