Search Results for 'WriteMinPer'

Forum Home Forums Search Search Results for 'WriteMinPer'

Viewing 6 results - 1 through 6 (of 6 total)
  • Author
    Search Results
  • #8067

    In reply to: sec data save

    JW
    Participant

    In administrator – Instances – Server – Saving parameters, you can choose the save interval for minute data.

    The options available options can be as low as per 30s.

    in the project folder, you edit the following file,
    Instances/Default/ScadaServer/Config/ScadaServerSvcConfig.xml
    change the following line

    <Param name=”WriteMinPer” value=”60″ descr=”Minute data writing period, sec” />

    fill in value=”1″.

    It will save data in ArchiveDAT/Min folder per 1 second on my test.
    But be very careful, I am not sure if there will be any negative impact.
    I suspect it can slow down or even crash the server when you download minute report or plot chars.

    #8034

    In reply to: ScadaComm error

    Artos9
    Participant

    You should check its log. Make sure that you changed server directories in the project before uploading (Server – Common Parameters).

    Yes, I change it.

    ScadaServer logs.
    2021-01-15 08:04:23 <shm2><root><ACT> ScadaServerService 5.1.4.1 is started
    2021-01-15 08:04:23 <shm2><root><ACT> Check the existence of the data directories is completed successfully
    2021-01-15 08:04:23 <shm2><root><ACT> Check the existence of the configuration database files is completed successfully
    2021-01-15 08:04:23 <shm2><root><ACT> Input channels are read from the configuration database. Active channel count: 10
    2021-01-15 08:04:23 <shm2><root><ACT> Ouput channels are read from the configuration database
    2021-01-15 08:04:23 <shm2><root><ACT> Users are read from the configuration database
    2021-01-15 08:04:23 <shm2><root><ACT> Formulas are read from the configuration database
    2021-01-15 08:04:24 <shm2><root><ACT> The formulas source code has been compiled
    2021-01-15 08:04:24 <shm2><root><ACT> Connection listener is started
    2021-01-15 08:04:24 <shm2><root><ACT> Start server
    2021-01-15 08:04:24 <shm2><root><ACT> Current data are loaded

    ScadaServer Settings.
    <?xml version=”1.0″ encoding=”utf-8″?>
    <ScadaServerSvcConfig>
    <!–Common Parameters–>
    <CommonParams>
    <Param name=”TcpPort” value=”10000″ descr=”TCP port number” />
    <Param name=”UseAD” value=”false” descr=”Use Active Directory for users authentication” />
    <Param name=”LdapPath” value=”LDAP://server” descr=”Domain controller server path” />
    <Param name=”DetailedLog” value=”false” descr=”Write detailed information to the log” />
    </CommonParams>
    <!–Directories–>
    <Directories>
    <Param name=”BaseDATDir” value=”/opt/scada/BaseDAT/” descr=”The configuration database in DAT format directory” />
    <Param name=”ItfDir” value=”/opt/scada/Interface/” descr=”The interface directory” />
    <Param name=”ArcDir” value=”/opt/scada/ArchiveDAT/” descr=”The archive in DAT format directory” />
    <Param name=”ArcCopyDir” value=”/opt/scada/ArchiveDATCopy/” descr=”The archive copy in DAT format directory” />
    </Directories>
    <!–Saving Parameters–>
    <SaveParams>
    <Param name=”WriteCurPer” value=”1″ descr=”Current data writing period, sec” />
    <Param name=”InactUnrelTime” value=”5″ descr=”Unreliable on inactivity, min” />
    <Param name=”WriteCur” value=”true” descr=”Write current data” />
    <Param name=”WriteCurCopy” value=”true” descr=”Write current data copy” />
    <Param name=”WriteMinPer” value=”60″ descr=”Minute data writing period, sec” />
    <Param name=”StoreMinPer” value=”365″ descr=”Minute data storing period, days” />
    <Param name=”WriteMin” value=”true” descr=”Write minute data” />
    <Param name=”WriteMinCopy” value=”true” descr=”Write minute data copy” />
    <Param name=”WriteHrPer” value=”60″ descr=”Hourly data writing period, min” />
    <Param name=”StoreHrPer” value=”365″ descr=”Hourly data storing period, days” />
    <Param name=”WriteHr” value=”true” descr=”Write hourly data” />
    <Param name=”WriteHrCopy” value=”true” descr=”Write hourly data copy” />
    <Param name=”StoreEvPer” value=”365″ descr=”Events storing period, days” />
    <Param name=”WriteEv” value=”true” descr=”Write events” />
    <Param name=”WriteEvCopy” value=”true” descr=”Write events copy” />
    </SaveParams>
    <!–Modules–>
    <Modules />
    </ScadaServerSvcConfig>

    #7083
    manjey73
    Participant

    Yes, perhaps. You must manually set the time in the configuration file and do not touch this parameter in the GUI.

    <Param name=“WriteMinPer” value=”60″ descr=”Период записи минутных срезов, с” />

    in ScadaServerSvcConfig.xml

    When you zoom in on the ChartPro you will see the values for each entry point.
    Memory will eat up a lot

    #6137
    Mikhail
    Moderator

    Writing period for the archive is set in ScadaServerSvcConfig.xml
    You should the existing topics.

    #4367
    manjey73
    Participant

    <Param name=”WriteMinPer” value=”60” descr=”Период записи минутных срезов, с” />

    See settings of this file ScadaServerSvcConfig.xml but in this way you will increase the database in size

    #111
    Mikhail
    Moderator

    As a workaround you can manually set the value in C:\SCADA\ScadaServer\Config\ScadaServerSvcConfig.xml

    It defines how often snapshots are stored in minute data file. SCADA-Server shell may display custom values incorrectly despite of that it works.
    If you write more details about your task I could give more efficient advice.

Viewing 6 results - 1 through 6 (of 6 total)