Forum Replies Created
-
AuthorPosts
-
tom040264
ParticipantHi Mikhail,
Nothing has changed. It can happen that everything works 5 times in a row and then suddenly everything gets stuck again. Then I have to start uploading 2-3 times and wait for the timeout until it works again. I haven’t noticed any regularity. Maybe it’s my Raspberry and I should get a new device.
Let’s close this topic. Thanks for the support.
Regards
T.tom040264
ParticipantI did it and will report accordingly.
tom040264
ParticipantCould you try please to open this link:
https://drive.google.com/file/d/19GyHLXJTDAB_COHXx_9WjG5SU20Wv-FY/view?usp=sharing
I am not shure whether it will work.
tom040264
ParticipantI did it but nothing changed.
It doesn’t matter, it’s just a matter of patience. Sometimes it takes a few minutes and sometimes seconds.Thank you Mikhail
tom040264
Participant1. /opt/scada/ScadaServer/svc_restart.sh is not executable.
2. Yes, there is 100% correlation between long waiting for response in Administrator and the “Error controlling service” message.
tom040264
ParticipantHello Mikhail,
This is a part of the logfile after an error. A minute later worked everything without any changes in the meantime. Is this a problem of raspberry?
Regards
T.********************************
2022-06-14 09:54:16 <raspberrypi><root><ACT> Session with ID -3803335764762174100 created
2022-06-14 09:54:16 <raspberrypi><root><ACT> User ScadaAdmin connected to Default
2022-06-14 09:54:17 <raspberrypi><root><EXC> Error controlling service:
System.ComponentModel.Win32Exception (0x80004005): ApplicationName=’/opt/scada/ScadaServer/svc_restart.sh’, CommandLine=”, CurrentDirectory=”, Native error= Access denied
at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x0029f] in <9c6e2cb7ddd8473fa420642ddcf7ce48>:0
at System.Diagnostics.Process.Start () [0x0003a] in <9c6e2cb7ddd8473fa420642ddcf7ce48>:0
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x0001b] in <9c6e2cb7ddd8473fa420642ddcf7ce48>:0
at Scada.Agent.Engine.ScadaInstance.ControlService (Scada.Agent.ServiceApp serviceApp, Scada.Agent.ServiceCommand command) [0x00039] in <d8148ef5f8474bc49c943117e9a7575a>:0
2022-06-14 09:54:17 <raspberrypi><root><EXC> Error controlling service:
System.ComponentModel.Win32Exception (0x80004005): ApplicationName=’/opt/scada/ScadaComm/svc_restart.sh’, CommandLine=”, CurrentDirectory=”, Native error= Access denied
at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x0029f] in <9c6e2cb7ddd8473fa420642ddcf7ce48>:0
at System.Diagnostics.Process.Start () [0x0003a] in <9c6e2cb7ddd8473fa420642ddcf7ce48>:0
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x0001b] in <9c6e2cb7ddd8473fa420642ddcf7ce48>:0
at Scada.Agent.Engine.ScadaInstance.ControlService (Scada.Agent.ServiceApp serviceApp, Scada.Agent.ServiceCommand command) [0x00039] in <d8148ef5f8474bc49c943117e9a7575a>:0
****************************tom040264
ParticipantHello Mikhail,
There is one thing I still don’t understand. There are two directories with Interfaces:
C:\SCADA\Interface
and
C:\SCADA\Projects\MyProject\Interface
In the “Interface” table I have defined C:\SCADA\Projects\MyProject\Interface, and I edit the views from this directory, but when I start http://localhost/scada, the views from C:\SCADA\Interface will be shown.
The question is, where is this defined?
Regards
T.tom040264
ParticipantHello Mikhail,
I created a new project and uploaded the configuration again and everything works.
Thank you
tom040264
ParticipantThis is the part of C:\SCADA\ScadaWeb\log\ScadaWeb.log
2020-06-05 19:03:14 <T-PC><DefaultAppPool><ACT> Login: T (Administrator). IP address: ::1
2020-06-05 19:03:14 <T-PC><DefaultAppPool><ACT> User information has been updated. IP address: ::1. Session: uyq5j3pzrp0uriuvtpgv000k
2020-06-05 19:03:14 <T-PC><DefaultAppPool><ACT> Retrieve components from the installed plugins
2020-06-05 19:03:14 <T-PC><DefaultAppPool><EXC> Error getting view with ID=12 from the cache or from the server: Unable to receive view file modification time.:
Scada.ScadaException: Unable to receive view file modification time.
at Scada.Client.ViewCache.LoadView(Type viewType, Int32 viewID, DateTime viewAge, BaseView& view, DateTime& newViewAge)
at Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)tom040264
ParticipantHello Mikhail,
One additional information: in spite of the fact, that I have defined in the Interfaces table all new views (C:\SCADA\Projects\Project_name\Interface), when I start http://localhost/scada the views from C:\SCADA\Interface and not from C:\SCADA\Projects\Project_name\Interface will be shown (incl Demo).
tom040264
ParticipantHello Mikhail,
I have two schreenshots and hope you will be able to open them. The first one is the Overview, where you can see the old views incl. the demo views (which I have deleted) and the second one is the current Interface table.
BR
T.tom040264
ParticipantHello Guys,
It is an older topic, but I would like to refresh it.
I use the SCADA Version 5.8. The migration was sucessful and the communication with all lModbus devices work percfect.
My problem is, when I open localhost/scada, I get old views in spite of the fact, that I changed everything (Rights, Interfaces etc…) I have deleted all DemoViews, but they always appear.
In the Interfaces table I’ve defined the directory C:\SCADA\Projects\MyProject\Interface and all views I have in this directory.
It seams SCADA takes the views from any directory I can not finde.
What should I change/clean? I’ve deleted the history of the browser.
Thank you in advance
Regards
T.tom040264
ParticipantHi guys,
It must be a matter of my intelligence, but I can not migrate the configuration from the old to the new system. 😎
The current situation:
PC with SCADA 5.6
Laptop with SCADA 5.8 (new installation, without any problems)I understood that I have to download the current configuration (PC) and to upload it at the new SCADA (Laptop). Is it correct?
Unfortunately I can not find any “idiot proved” step-by-step description. Can I access the old system directly from the new one (LAN – remote), or should I do it in two steps, PC and then laptop.
Any try to download the configuration on the PC delivers an error message:
“No listening endpoint present at http://localhost:10000/ScadaAgent/ScadaAgentSvc/”
Regards
Tomtom040264
ParticipantHi,
I have tried to do exactly what has been proposed, but it doesn’t work. I want to send a setpoint to an address (in my case a pH setpoint to the address 2109 in a modbus device). In the Communicator I’ve created a command, and tried to send a new setpoint from the “Commands tab”. The message “The command has been sent successfully” appeared, but the setpoint has not been changed. In the log file there is no trace from the command and in the “Devices data” of the communicator no command is shown.
All input channels work perfectly. I still haven’t create any output channel.
H E L P ! ;-)))
Thank you in advance
T.
tom040264
ParticipantI fixed the formula, and it works now. Thank you!
-
AuthorPosts