Forum Replies Created
-
AuthorPosts
-
ZeusParticipantThis situation occasionally occurs
ZeusParticipantHi,
Has the funtion been done?
ZeusParticipantI just want to persist the data to Scadaserver, treat it as a long-term valid data, and use it as a current value when reading it
ZeusParticipantHi,
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.
ZeusParticipant什么提示
ZeusParticipantWhen i send a command the commandResult.IsSuccessful is true
But The received command is ignored, because its recursion level is higher than 10
ZeusParticipantHi,
I solved it myself.
I way i inject webcontext is wrong.
ZeusParticipantOK I will try
ZeusParticipantHi,
I use influxdb storage history data.
I can use api GetTrend and GetCurrentData get data from influx.
When i use getsliceScadaClient.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?
ZeusParticipantHi,
I save data into influxdb per secend.
How can i get cnl data an hour ago.
ZeusParticipantHi,
It works excellent
ZeusParticipantHi,
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?
ZeusParticipantHi,
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> -
AuthorPosts