Configuration
  • 31 Jan 2024
  • PDF

Configuration

  • PDF

The content is currently unavailable in Ja - 日本語. You are viewing the default English version.
記事の要約

The config file is located in the PORTIOFileCopy subfolder of the Capstone folder. To change the settings of PortIO File Copy open the file, PortIOFileCopy.exe.config in a text editor.

The file should contain the following text:

<?xml version="1.0"?>

<configuration>

  <appSettings>

    <add key="sourceNames" value="*"/>

    <add key="sourceFolder" value="C:\Program Files\Capstone\PortIO\Data"/>

    <add key="destFolder" value="\\QUARRY\capstone\PortIO\Data"/>

    <add key="destSnapFolder" value=""/>

    <add key="SnapBufferInterval" value="1000"/>

    <add key="SnapInterval" value="1000"/>

    <add key="HourlyDailyInterval" value="30000"/>

    <add key="sourcehistpath" value="C:\Program Files\Capstone\PortIO\Data"/>

    <add key="desthistpath" value="\\Capstone\PortIO\Data"/>

    <add key="CopyAverageFiles" value="False"/>

    <add key="HourlyUpdateMode" value="DAILY"/>

  </appSettings>

  <startup>

    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>

  </startup>

</configuration>

To configure a setting, change the value for the setting following these rules:

sourceNames: A list of the sources. Separate the list of sources with a “;”. Use “*” to copy all sources.

sourceFolder: The folder to monitor for PortIO snap and exceptions files.

destFolder: The path to the historian snap and exceptions files. Should be the folder that matches the folder that is the ‘datapath’ for a source. Normally a network folder.

destSnapFolder: The folder to copy only the snap files. If snap files need to be copied leave this field empty. Separate multiple paths with “;”.

SnapBufferInterval: The frequency in ms to check for new files.

SnapInterval: The frequency in ms to copy only snap files. This frequency overrides SnapBufferInterval.

HourlyDailyInterval: The frequency in ms to check for new hourly or daily aggregate files.

Sourcehistpath: The folder to monitor for PortIO hourly and daily files.

Desthistpath: The file path to the historian hourly and daily files. Should be the folder that matches the folder that is the ‘histpath’ for a source. Normally a network folder.

CopyAverageFiles:  Set to true to copy average files.

HourlyUpdateMode: Set to DAILY to update hourly files once a day after midnight. Any other value will update the hourly files when they change.


この記事は役に立ちましたか?

What's Next