Zeus

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 156 total)
  • Author
    Posts
  • in reply to: Visual Devide Driver #13881
    Zeus
    Participant

    Hi,
    The first situation
    I use sendcommand sending about 30 commands to virtual device per second and the base session will be suspended. The session will wait until the cmd is handeld.

    The second situation
    I use the writcurdata method to send data to the server and persist the data to a dat file. When the line starts, read and assign the dat file to curdata.

    in reply to: 设备轮询提示没有注册类 #12970
    Zeus
    Participant

    什么提示

    in reply to: A question about telecommand #12662
    Zeus
    Participant

    Hi,
    I see

    • This reply was modified 2 years, 4 months ago by Zeus.
    in reply to: A question about telecommand #12622
    Zeus
    Participant

    When i send a command the commandResult.IsSuccessful is true
    But The received command is ignored, because its recursion level is higher than 10

    in reply to: GetCurrentData function error #12218
    Zeus
    Participant

    Hi,
    I solved it myself.
    I way i inject webcontext is wrong.

    in reply to: ScadaClient.GetSlice #12039
    Zeus
    Participant

    OK I will try

    in reply to: ScadaClient.GetSlice #12021
    Zeus
    Participant

    Hi,
    I use influxdb storage history data.
    I can use api GetTrend and GetCurrentData get data from influx.
    When i use getslice

    ScadaClient.GetSlice(ArchiveBit.Minute, DateTime.UtcNow.AddMinute(-1), new int[] { 101 })

    it returns scadadata undefined stat 0 val 0

    the influxdb has cnl 101’s data every secend.

    If i want to get cnl 101’s data at “DateTime.UtcNow.AddMinute(-1)”. how can i make it?

    in reply to: ScadaClient.GetSlice #12013
    Zeus
    Participant

    Hi,
    I save data into influxdb per secend.
    How can i get cnl data an hour ago.

    in reply to: config fie upload #12003
    Zeus
    Participant

    Hi,
    It works excellent

    in reply to: config fie upload #11999
    Zeus
    Participant

    Hi,
    I use ExtDepPostgreSql to storage config.
    So the config files won’t written into the directory.
    The config info in directory and sql are different.
    The server and comm start up with the config in file but not sql.
    How to config it to make it right?

    in reply to: config fie upload #11998
    Zeus
    Participant

    Hi,
    There is nothing special in log fie
    Config file is below

    <ScadaAgentConfig>
    <ListenerOptions>
    <Port>10002</Port>
    <Timeout>10000</Timeout>
    <SecretKey>0E063D581B1DB27B8E984993DED65CE99284A706756C706C7F3B12C44BD55D4D</SecretKey>
    </ListenerOptions>
    <ReverseConnection enabled=”false”>
    <Name>Reverse Connection</Name>
    <Host>localhost</Host>
    <Port>10002</Port>
    <Username>ScadaAgent</Username>
    <Password>B9D0F030265751578B00E9801C69320C</Password>
    <Instance>Default</Instance>
    <Timeout>10000</Timeout>
    <SecretKey>0E063D581B1DB27B8E984993DED65CE99284A706756C706C7F3B12C44BD55D4D</SecretKey>
    </ReverseConnection>
    <Instances>
    <Instance active=”true” name=”Default”>
    <ProxyMode>false</ProxyMode>
    <Directory>/data/scada/</Directory>
    <AdminUser>
    <Username>ScadaAdmin</Username>
    <Password>B9D0F030265751578B00E9801C69320C</Password>
    </AdminUser>
    </Instance>
    <Instance active=”false” name=”Remote Site”>
    <ProxyMode>true</ProxyMode>
    <AdminUser>
    <Username>ScadaAdmin</Username>
    <Password>B9D0F030265751578B00E9801C69320C</Password>
    </AdminUser>
    <AgentUser>
    <Username>ScadaAgent</Username>
    <Password>B9D0F030265751578B00E9801C69320C</Password>
    </AgentUser>
    </Instance>
    </Instances>
    </ScadaAgentConfig>

    in reply to: config fie upload #11991
    Zeus
    Participant

    Hi,
    I tried it and it do not work. there won’t be new file. The directory is empty

    in reply to: config fie upload #11981
    Zeus
    Participant

    Hi,
    I did not get any error in log file.
    I test it in a new ubuntu 20.04.
    It could not override the old config files in the config directory.
    the user and group is both root and the permissions is 777

    in reply to: DrvDsOpcUaServer BUG #11764
    Zeus
    Participant

    Thanks

    in reply to: scada v6 archive error #11593
    Zeus
    Participant

    My archive config is like this

    <Archives>
    <Archive active=”true” code=”Cur” name=”Current Data” kind=”Current” module=”ModArcInfluxDb”>
    <Option name=”FlushPeriod” value=”30″ />
    <Option name=”LogEnabled” value=”false” />
    <Option name=”ReadOnly” value=”false” />
    <Option name=”UseCopyDir” value=”true” />
    </Archive>
    <Archive active=”true” code=”Min” name=”Minute Archive” kind=”Historical” module=”ModArcInfluxDb”>
    <Option name=”Connection” value=”” />
    <Option name=”IsPeriodic” value=”true” />
    <Option name=”LogEnabled” value=”false” />
    <Option name=”PullToPeriod” value=”0″ />
    <Option name=”ReadOnly” value=”false” />
    <Option name=”Retention” value=”365″ />
    <Option name=”WriteWithPeriod” value=”true” />
    <Option name=”WritingPeriod” value=”1″ />
    <Option name=”WritingPeriodUnit” value=”Minute” />
    </Archive>
    <Archive active=”true” code=”Hour” name=”Hourly Archive” kind=”Historical” module=”ModArcInfluxDb”>
    <Option name=”IsPeriodic” value=”true” />
    <Option name=”LogEnabled” value=”false” />
    <Option name=”PullToPeriod” value=”0″ />
    <Option name=”ReadOnly” value=”false” />
    <Option name=”Retention” value=”365″ />
    <Option name=”UseCopyDir” value=”true” />
    <Option name=”WriteWithPeriod” value=”true” />
    <Option name=”WritingPeriod” value=”1″ />
    <Option name=”WritingPeriodUnit” value=”Minute” />
    </Archive>
    <Archive active=”false” code=”Day” name=”Daily archive” kind=”Historical” module=”ModArcBasic”>
    <Option name=”LogEnabled” value=”false” />
    <Option name=”PullToPeriod” value=”0″ />
    <Option name=”Retention” value=”365″ />
    <Option name=”UseCopyDir” value=”false” />
    <Option name=”WritingMode” value=”AutoWithPeriod” />
    <Option name=”WritingPeriod” value=”24″ />
    <Option name=”WritingUnit” value=”Hour” />
    </Archive>
    <Archive active=”true” code=”Events” name=”Event Archive” kind=”Events” module=”ModArcInfluxDb”>
    <Option name=”LogEnabled” value=”false” />
    <Option name=”ReadOnly” value=”false” />
    <Option name=”Retention” value=”365″ />
    <Option name=”UseCopyDir” value=”true” />
    </Archive>
    <Archive active=”true” code=”CurCopy” name=”Current Data” kind=”Current” module=”ModArcPostgreSql”>
    <Option name=”Connection” value=”” />
    <Option name=”FlushPeriod” value=”30″ />
    <Option name=”LogEnabled” value=”false” />
    <Option name=”MaxQueueSize” value=”1000″ />
    <Option name=”ReadOnly” value=”false” />
    <Option name=”UseStorageConn” value=”true” />
    </Archive>
    <Archive active=”true” code=”MinCopy” name=”Minute Archive” kind=”Historical” module=”ModArcPostgreSql”>
    <Option name=”Connection” value=”” />
    <Option name=”LogEnabled” value=”false” />
    <Option name=”MaxQueueSize” value=”1000″ />
    <Option name=”PartitionSize” value=”OneMonth” />
    <Option name=”PullToPeriod” value=”0″ />
    <Option name=”Retention” value=”365″ />
    <Option name=”UseStorageConn” value=”true” />
    <Option name=”WritingMode” value=”AutoWithPeriod” />
    <Option name=”WritingPeriod” value=”1″ />
    <Option name=”WritingUnit” value=”Minute” />
    </Archive>
    <Archive active=”true” code=”HourCopy” name=”Hourly Archive” kind=”Historical” module=”ModArcPostgreSql”>
    <Option name=”Connection” value=”” />
    <Option name=”IsPeriodic” value=”true” />
    <Option name=”LogEnabled” value=”false” />
    <Option name=”MaxQueueSize” value=”1000″ />
    <Option name=”PartitionSize” value=”OneMonth” />
    <Option name=”PullToPeriod” value=”0″ />
    <Option name=”ReadOnly” value=”false” />
    <Option name=”Retention” value=”365″ />
    <Option name=”UseStorageConn” value=”true” />
    <Option name=”WriteWithPeriod” value=”true” />
    <Option name=”WritingPeriod” value=”1″ />
    <Option name=”WritingPeriodUnit” value=”Minute” />
    </Archive>
    <Archive active=”false” code=”DayCopy” name=”Daily archive copy” kind=”Historical” module=”ModArcPostgreSql”>
    <Option name=”Connection” value=”” />
    <Option name=”LogEnabled” value=”false” />
    <Option name=”MaxQueueSize” value=”1000″ />
    <Option name=”PartitionSize” value=”OneMonth” />
    <Option name=”PullToPeriod” value=”0″ />
    <Option name=”Retention” value=”365″ />
    <Option name=”UseStorageConn” value=”true” />
    <Option name=”WritingMode” value=”AutoWithPeriod” />
    <Option name=”WritingPeriod” value=”24″ />
    <Option name=”WritingUnit” value=”Hour” />
    </Archive>
    <Archive active=”true” code=”EventsCopy” name=”Event Archive” kind=”Events” module=”ModArcPostgreSql”>
    <Option name=”Connection” value=”” />
    <Option name=”LogEnabled” value=”false” />
    <Option name=”MaxQueueSize” value=”1000″ />
    <Option name=”PartitionSize” value=”OneMonth” />
    <Option name=”Retention” value=”365″ />
    <Option name=”UseStorageConn” value=”true” />
    </Archive>
    </Archives>

    • This reply was modified 2 years, 10 months ago by Zeus.
Viewing 15 posts - 31 through 45 (of 156 total)