Skip to content

Connect to PI

Hugo van den Berg edited this page Mar 28, 2018 · 1 revision

Connecting to a PI server is simplest by using the context manager:

import PIconnect as PI

with PI.PIServer() as server:
    print(server)

Selecting one or more PI Points in the PI system can be done using the search function:

import PIconnect as PI

with PI.PIServer() as server:
    for point in server.search('*'):
        print(point)
Clone this wiki locally