Capula's OSISoft Pi to PTC Thingworx Connector

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Where a particular installation is having issues, the TwApiWrapper listener can be enabled in the OSIPIConnectorService.config file (uncomment the commented out section and restart).

Instructions

To enable the TwApiWrapper:

  1. Navigate to the install path for the connector

  2. Edit the OSIPIConnectorService.config

  3. Locate the following section in the file and remove the comments

      <!--source name="com.thingworx.communications.client.TwApiWrapper" switchName="SourceSwitch" switchType="System.Diagnostics.SourceSwitch">
        <listeners>
          <add name="file"/>
        </listeners>
      </source-->

Remove the comments so the file shows as:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
  </startup>
  <system.diagnostics>
    <sources>
      <source name="com.thingworx.communications.client.TwApiWrapper" switchName="SourceSwitch" switchType="System.Diagnostics.SourceSwitch">
        <listeners>
          <add name="file"/>
        </listeners>
      </source>
      ...

This listener is usually commented out as it is very verbose e.g. 1MB log growth approx. every 15 seconds so it is only recommended you leave it running while troubleshooting any issues.

Save the changes to the file and restart the connector service. See Starting/Restarting the Connector service manually for further details on how to do this.

Filter by label

There are no items with the selected labels at this time.

  • No labels