Skip to main content

Built Status PyPI-Server Project generated with PyScaffold

data-agent-osisoft-pi

Data Agent plugin for accessing Osisoft PI Historian.

CLI Examples

Example of using Data Agent CLI to access PI tags

dagent exec create_connection --conn_name=pi --conn_type=osisoft-pi --enabled=True --server_name=DATA-SERVER
dagent exec list_connections
dagent exec connection_info --conn_name=pi
dagent exec list_tags --conn_name=pi
dagent exec read_tag_values_period --conn_name=pi --tags="['sinusoid', 'sinusoidu']" --first_timestamp=*-100h --last_timestamp=*
dagent exec copy_period --src_conn=pi --tags="['SINUSOID', 'sinusoidu']" --dest_conn=csv --dest_group='sinus.csv' --first_timestamp=*-100h --last_timestamp=*

Troubleshooting

OSIsoft.AF.PI.PITimeoutException when reading historical data

Increase the SDK data access timeout settings on the client machine. There are two timeouts for the SDK, a connection timeout and a data access timeout. The connection timeout default is 10 seconds. The data access timeout is 60 seconds. Data access timeouts are the most likely cause of the error.

  • Launch AboutPI-SDK.exe.
  • Navigate to the Connections tab.
  • Select the PI Data Archive in question.
  • Increase the Data Access Timeout and Connection Timeout to 120 seconds or more.

Metadata

Release files for data-agent-osisoft-pi 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for data-agent-osisoft-pi 0.4.1
File Size Uploaded
data_agent_osisoft_pi-0.4.1.tar.gz 28.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for data-agent-osisoft-pi 0.4.1
File Interpreter ABI Platform
data_agent_osisoft_pi-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 38.8 kB

Release files / data_agent_osisoft_pi-0.4.1.tar.gz

Download URL data_agent_osisoft_pi-0.4.1.tar.gz
Size 28.1 kB
Tags Source
SHA-256 checksum
How to use checksums
24e2e1af2b0a74f324eb0441ca6c5046d23ab94d1e7039b09a8f06882deee4ef
BLAKE2b-256 checksum
How to use checksums
fd893db9a4420d25ff1fa866883f3b3b4f60df9c5d38fe3b83edd5494e0b71f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release files / data_agent_osisoft_pi-0.4.1-py3-none-any.whl

Download URL data_agent_osisoft_pi-0.4.1-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63d9602cf318366a735867ecd1d6c9ecc04790fdf19feb1baf2ca3778d9aa300
BLAKE2b-256 checksum
How to use checksums
8ee1d6c1c09625d3f15647c74992337d0eee64db705abccc21a48d92f49af175
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page