/
Disabling/Enabling the Connector to write to OSISoft PI

Capula's OSISoft Pi to PTC Thingworx Connector

Disabling/Enabling the Connector to write to OSISoft PI

The Connector can be run in read-only mode or read/write mode. This can be enabled/disabled by modifying the OSPIConnector.config file as described in the section Accessing the configuration file.

To enable or disable this mode:

  1. Open the configuration file and locate the following Rows section within the Settings section of the configuration file

  2. Change the isWritePermissionsDisabled setting to one of the following options:

    • True - The Connector is set to read only mode

    • False - The Connector is set to read and write mode

  3. Save the changes to the file

"rows": [ { "Username": "testuser", "Password": "testpassword", "AFAttributeScanRate": "10000", "ConnectWithCreds": true, "PIServerName": "lab-glopida1", "AFServerName": "lab-glopiaf1", "isWritePermissionsDisabled": false } ]

After you have saved the changes, the Connector service will need to be restarted for the changes to take effect, refer to Starting/Restarting the Connector service manually .

Related content

Changing the OSISoft PI and AF server details
Changing the OSISoft PI and AF server details
More like this
Starting/Restarting the Connector service manually
Starting/Restarting the Connector service manually
More like this
Making manual Configuration changes to the Connector
Making manual Configuration changes to the Connector
More like this
Changing the Thingworx server details
Changing the Thingworx server details
More like this

Capula © 2020