Change transfer rate parameters
- Last UpdatedNov 19, 2025
- 1 minute read
- CONNECT
- PI to CONNECT Agent
- Agents
- PI Server
It is possible to tune some transfer parameters by updating the agent settings.
-
Open an administrator command prompt and navigate to %ProgramData%\OSIsoft\PItoOCS.
-
Run the command:
notepad.exe appsettings.json
-
Update the value of any of the parameters:
"MaxStreamingDataRefreshRateInSeconds": 30,
"DataIngressRequestTimeoutInSeconds": 60
-
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 |