Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI to CONNECT Agent

Change transfer rate parameters

  • Last UpdatedNov 19, 2025
  • 1 minute read

It is possible to tune some transfer parameters by updating the agent settings.

  1. Open an administrator command prompt and navigate to %ProgramData%\OSIsoft\PItoOCS.

  2. Run the command:

    notepad.exe appsettings.json

  3. Update the value of any of the parameters:

    "MaxStreamingDataRefreshRateInSeconds": 30,

    "DataIngressRequestTimeoutInSeconds": 60

  4. Save the changes and restart the PI to CONNECT Agent service with the commands:

    net stop pitodatahubagent

    net start pitodatahubagent

Parameter

Description

Default Value

Min Value

Max Value

MaxStreamingDataRefreshRateInSeconds

Controls the maximum time (in seconds) that the agent will wait before sending collected data to the cloud. The agent will transmit data to CONNECT when either the specified timeout has elapsed or the number of accumulated events reaches 50,000, whichever comes first. Allowing the agent to wait longer before sending data can help optimize network usage and reduce the frequency of data uploads. This allows you to balance between data latency and transmission efficiency.

30

1

60

DataIngressRequestTimeoutInSeconds

Defines the maximum amount of time (in seconds) that the PI to CONNECT Agent will wait for a response from the cloud after sending a data upload request.

60

60

180

TitleResults for “How to create a CRG?”Also Available in