Coder Social home page Coder Social logo

scada's People

Contributors

2mik avatar arnautowa avatar circler3 avatar greenfoxx avatar marcossarome avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scada's Issues

ScadaAdmin.exe crash in win10

When running the application it never seems to start and creates a dump. I have some but git doesn't seem to support attaching them, here's the info to one though:

Dump Summary

Dump File: ScadaAdmin.exe.6884.dmp : C:\Users\Jacob\AppData\Local\CrashDumps\ScadaAdmin.exe.6884.dmp
Last Write Time: 9/30/2015 3:25:07 PM
Process Name: ScadaAdmin.exe : C:\SCADA\ScadaAdmin\ScadaAdmin.exe
Process Architecture: x86
Exception Code: 0xE0434352
Exception Information:
Heap Information: Not Present

System Information

OS Version: 10.0.10240
CLR Version(s): 4.6.96.0

Modules

Module Name Module Path Module Version


ScadaAdmin.exe C:\SCADA\ScadaAdmin\ScadaAdmin.exe 4.0.0.0
ntdll.dll C:\Windows\System32\ntdll.dll 10.0.10240.16430
mscoree.dll C:\Windows\System32\mscoree.dll 10.0.10240.16384
kernel32.dll C:\Windows\System32\kernel32.dll 10.0.10240.16384
KERNELBASE.dll C:\Windows\System32\KERNELBASE.dll 10.0.10240.16384
apphelp.dll C:\Windows\System32\apphelp.dll 10.0.10240.16384
advapi32.dll C:\Windows\System32\advapi32.dll 10.0.10240.16384
msvcrt.dll C:\Windows\System32\msvcrt.dll 7.0.10240.16384
sechost.dll C:\Windows\System32\sechost.dll 10.0.10240.16384
rpcrt4.dll C:\Windows\System32\rpcrt4.dll 10.0.10240.16412
sspicli.dll C:\Windows\System32\sspicli.dll 10.0.10240.16384
CRYPTBASE.dll C:\Windows\System32\CRYPTBASE.dll 10.0.10240.16384
bcryptPrimitives.dll C:\Windows\System32\bcryptPrimitives.dll 10.0.10240.16384
mscoreei.dll C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll 4.6.79.0
shlwapi.dll C:\Windows\System32\shlwapi.dll 10.0.10240.16384
combase.dll C:\Windows\System32\combase.dll 10.0.10240.16384
gdi32.dll C:\Windows\System32\gdi32.dll 10.0.10240.16390
user32.dll C:\Windows\System32\user32.dll 10.0.10240.16384
imm32.dll C:\Windows\System32\imm32.dll 10.0.10240.16384
msctf.dll C:\Windows\System32\msctf.dll 10.0.10240.16384
kernel.appcore.dll C:\Windows\System32\kernel.appcore.dll 10.0.10240.16384
version.dll C:\Windows\System32\version.dll 10.0.10240.16384
clr.dll C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll 4.6.96.0
MSVCR120_CLR0400.dll C:\Windows\System32\MSVCR120_CLR0400.dll 12.0.52512.0
mscorlib.ni.dll C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\739821138ef3780d29566f16c4ec3836\mscorlib.ni.dll 4.6.96.0
ole32.dll C:\Windows\System32\ole32.dll 10.0.10240.16384
uxtheme.dll C:\Windows\System32\uxtheme.dll 10.0.10240.16397
tiptsf.dll C:\Program Files (x86)\Common Files\Microsoft Shared\Ink\tiptsf.dll 10.0.10240.16384
oleaut32.dll C:\Windows\System32\oleaut32.dll 10.0.10240.16384
clrjit.dll C:\Windows\Microsoft.NET\Framework\v4.0.30319\clrjit.dll 4.6.96.0
System.ni.dll C:\Windows\assembly\NativeImages_v4.0.30319_32\System\ca6efbdfe42568e069a7e2f1a869de59\System.ni.dll 4.6.79.0
System.Drawing.ni.dll C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Drawing\ed0563bc783d7cf316e280e8d17770eb\System.Drawing.ni.dll 4.6.93.0
System.Windows.Forms.ni.dll C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\eabdc05eaf0b37bf4dc02b4a64b1d491\System.Windows.Forms.ni.dll 4.6.79.0
comctl32.dll C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.10240.16384_none_49c02355cf03478c\comctl32.dll 5.82.10240.16384
comctl32.dll C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.10240.16384_none_3bccb1ff6bcd1849\comctl32.dll 6.10.10240.16384
dwmapi.dll C:\Windows\System32\dwmapi.dll 10.0.10240.16392
cryptsp.dll C:\Windows\System32\cryptsp.dll 10.0.10240.16384
bcrypt.dll C:\Windows\System32\bcrypt.dll 10.0.10240.16384
rsaenh.dll C:\Windows\System32\rsaenh.dll 10.0.10240.16384
System.Core.ni.dll C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Core\c443a8daf03f55a14ffe24ec583664da\System.Core.ni.dll 4.6.79.0
System.Configuration.ni.dll C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Configuration\f57c97ac6e9e80661adc3b51be05a50b\System.Configuration.ni.dll 4.6.79.0
System.Xml.ni.dll C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Xml\e6dca958930c9fab108edde22f45f2d0\System.Xml.ni.dll 4.6.79.0
GdiPlus.dll C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.10240.16384_none_d15682eeaf714889\GdiPlus.dll 10.0.10240.16384
DWrite.dll C:\Windows\System32\DWrite.dll 10.0.10240.16430
WindowsCodecs.dll C:\Windows\System32\WindowsCodecs.dll 10.0.10240.16384
diasymreader.dll C:\Windows\Microsoft.NET\Framework\v4.0.30319\diasymreader.dll 14.0.79.0

Error on opening Log.std project in in Visiual Studio 2015

Loading of Log.std project in VS 2015 failed with error:
d:\proj\RapidScada\Log\Log.Std\Log.Std.csproj : error : The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. d:\proj\RapidScada\Log\Log.Std\Log.Std.csproj`
Comments in Google say it's because of project was opened/saved in Visual Studio 2017, having new project file format. Same error in ScadaData project.

Communicator - Dynamic Interaction between KPLogic and KPView

Hello Mikhail @2mik

I am trying to do some dynamic menu for Communicator and so far I haven't able to do it, I am not positive if I am missing something that might help me in the task.

I have an Ethernet to Serial device that has a communication TCP port (different from Data) for configuration, the modbus KLogic using TCP client as communicator channel works really good for the data channel.

I want to integrate the configuration under Rapid Scada, so far I have the following basic Forms created and working.

image

The Serial Menu opens after the first one using the Serial Settings button.
What I want is to be able to send configuration data using a button, such as the Apply button without leaving the UI. The problem is that I cannot use Connection property from KPView.

I have tried the following as a possible workaround without success

The example follows the KpTestLogic code (actually I did my project under this)

I defined a Connection property
private static Connection baseConnection;
Then I assign it's value under the OnConnectionSetmethod such as

        /// <summary>
        /// Perform actions after the connection is established
        /// </summary>
        public override void OnConnectionSet()
        {
            baseConnection = Connection;
            FileStream fileStream = new FileStream("C:\\miLog.txt", FileMode.Create);
            StreamWriter sw = new StreamWriter(fileStream);
            sw.WriteLine("(Constructor) baseConnection = " + baseConnection.ToString());
            sw.Close();
        }

The ugly part is to have a static method that do the write

        public static bool SendCommandToWiznet()
        {
            if (baseConnection == null || !baseConnection.Connected)
            {
                FileStream fileStream = new FileStream("C:\\miLog.txt", FileMode.Append);
                StreamWriter sw = new StreamWriter(fileStream);
                sw.WriteLine("baseConnection NULL or Not Connected");
                sw.Close();
                return false;
            }
            else
            {
                baseConnection.WriteLine("Test");
                return true;
            }
        }

from the Apply Button method I call it

        private void btnApply_Click(object sender, EventArgs e)
        {
            KpTestLogic.SendCommandToWiznet();
        }

It seems the baseConnection property is always null.

But from Session I can call the SendCommandToWiznet method and it works.

The reason I want to have it call from UI is because I have some GPIO that I want to visualize dynamically there, but also because I found the Session the only place to send over the channel and it seems it's called periodically based on the period defined in main window, which will make the settings taking effect dependable on that period.

I have study even the Communicator code without success since I don't know how can I get a reference to Connection in KPView, but also I understand it might not be a good idea to modify upper code, unless it take the forms of callbacks such asn OnConnectionXXX sort of.

For example a method that get called after closing the windows might help, such as OnPropertyViewClose...

I will appreciate your response,

The project files(.sln .csproj) should in git control?

I fork the project, there generated some new file and the Solution file (.sln) and Project file(csproj) also changed when i open the project with vs2017. It wil cause merge conflict . How can i avoid the problem?
Blow is the screencapture.
image

Impossible to create SNMP variable

Hello,

I'm a new user of Rapid Scada. It's seems to be a great product.

I've got a problem with SNMP Module. I'm trying to retrieve SNMP values, but I can't create a variable in SCADA Communicator -> My Line -> My Device configuration -> Add variable.
In Owner name field I add a variable Name.
In OID field I add requested OID (for example) : .1.3.6.4.1.6741.1.2.0
When I clic Add button, Incorrect OID Error message is displayed and variable isn't created.

This message is generated by private bool CheckOID(string oidStr) function (ScadaComm/OpenKPs/KpSnmp/FrmVariable.cs).

Do you know why ?

Is it an OID string format problem ?

Can you send me (or publish) a SNMP & OID configuration example ?

Thanks

Not able build using VS-2013

Hi Team,

As per the HowToBuild.txt file, i'm not able to build the project. Can you provide us the base solution(sln) file for the whole project. Also where is the following projects present.

  1. OpenKPs
  2. ScadaCommCommon

Request you to kindly do the needful.

Regards
Subramaniyam.KMV

The Login pages report “Server is unavailable“ error

When I use admin/12345 to log in Rapid SCADA,a error occured. The ScadaWeb.log is
2018-12-18 11:08:41 <.NET v4.5> Connect to SCADA-Server "localhost"
2018-12-18 11:08:46 <.NET v4.5> Error connecting to SCADA-Server: 无法从传输连接中读取数据: 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。。
2018-12-18 11:08:46 <.NET v4.5> Disconnect from SCADA-Server
2018-12-18 11:08:46 <.NET v4.5> Error refreshing the tables of the configuration database:
Scada.ScadaException: Unable to receive the configuration database modification time.
在 Scada.Client.DataCache.RefreshBaseTables()
2018-12-18 11:08:46 <.NET v4.5> Unable to connect to SCADA-Server. Try again.
2018-12-18 11:08:46 <.NET v4.5> Unsuccessful login attempt: admin - Server is unavailable. IP address: ::1

Then I check the ScadaServerService status, it reports running. How can I slove this problem? My rapid scada version is 5.5.3, ,download from "https://rapidscada.org/download-all-files/",OS version is win10.

New Communication layer

Hello Mikhail,

I would like to know if it might be possible to write a communication layer that encapsulate modbus RTU/ASCII PDU, the idea is to send the serial command over TCP/IP but not using modbus TCP.

Could you please point me how should I add this layer on the code?

Will appreciate your comments,

Building binaries

Hi I have built all the solutions successfully in the order shown in the howtobuild.txt. How to build the .exe now and in what order?

Basic Components Not Visible in Scheme Editor or Webstation

Basic components are not visible in Scheme Editor. Webstation also does not display basic components. I have installed PlgSchBasicComp.dll on Webstation, but the basic components in my scheme files are not being rendered. Please advise.

Server State is "File not Found." Server does not appear to be running.

RapidScada version 5.8.4
Windows 10 Home Version 64-bit 1909 18353.1556

I was trying to do the RapidScada First Run Tutorial. I was able to load the project DemoProject.en-GB. At 1:15 it advises to check the status of the services. In the video, the SCADA server details are displayed under Stats > Server State. But in my case Stats > Server state and Server Log both say "File not found."

What I've Tried:

What partially fixed the issue:

  • If I run SCADA\ScadaServer\svc_start.bat as Administrator, it succeeds. Hercules, TCPView and RapidScada Administrator all show connection to the SCADA server. The only odd thing is that in RapidScada Administrator Server > Stats, it seems to lose connection for a beat every now and then, showing "No data" for a second and then going right back to State:normal.

Did I fix this the proper way? Is there something else I need to do to stabilize the server state? Is there a way that the server can start up by itself without me manually running svc_start.bat as Administrator?

Add a Register function

I wonder if the project has a register function in Login page, I want to add a register page,the behind code,lies in the file "Register.asp.cs" which is I am about to edit of sub-project ScadaWeb, needs the interface,which is my obstacle, to access to database so that I can check new user information and write it to database. I am not familiar with the API yet,So if it is possible to give me some clues to find the related API ? 0.0

Porting to .net standard

Ideas

Hi,
Since framework 4.0 lacks some key features (such as async/await) and .net standard is becoming a popluar choice for developers, how about changing the target framework to .net standard 2.0?

Port to .net framework 4.6.1 for winforms and .net standard 2.0 for libraries. Because .net framework 4.6.1 is shipped with win10 and in compliance with .net standard 2.0

I am willing to help handle the porting process.

New Kp Driver - How to include in Communicator List

Hello Mikhail,

I have so far worked with the KpTest modifying it to suit my needs but I want to release a first version and so I need to change the name of project and compile name. After doing it and copying the resulting file to the KP directory as I was already doing with KpTest, I cannot see the new KpWiznet under the list of drivers in communicator.
What am I doing wrong or missing?

Please let me know,

Thank you in advance,

Animation GIFs

An animation GIFs are not visible in Schemes Editor, but works in WEB interface

NpgsqlConnection

    protected DbConnection CreateConnection()
    {
        return new NpgsqlConnection();
    }       

protected override DbCommand CreateCommand()
{
return new NpgsqlCommand();
}
Cannot implicitly convert type 'Npgsql.DbConnection' to 'System.Data.Common.NpgsqlConnection'
Cannot implicitly convert type 'Npgsql.NpgsqlCommand' to 'System.Data.Common.DbCommand'
How can I do?

ScadaWebCommon-UserData.cs : ServerComm.Roles is undefined

Hi Everyone,
I am newbie to RapidScada, after downloading sourcecode and build the solution in order of HowToBuild.txt, when building ScadaWebCommon project which ref to ScadaData project, I found this error:
Error CS0426 The type name 'Roles' does not exist in the type 'ServerComm'
Therefore, I checked ServerComm.cs of ScadaData project and found no property named "Roles"
I've download the latest version sourcecode until now.
Could somebody explain this? Many thanks

PVS-Studio

V3125 The 'styleAttr' object was used after it was verified against null. Check lines: 296, 262. ExcelRepBuilder.cs 296

Report Export

Hi,
After clicking on the export report to Excel its importing in .xml file needs to be checked.

Graphical designer for RapidScada

Please create a graphical editor for RapidScada with would work on Windows and Linux systems, with would allow to create own "interfaces" instead of having only the demo ones

Adding a C# script engine

Ideas

Hi, thanks for this great project. A lot of scada systems contain script engines (e.g. VBA). I think script engine is very useful.

  • Adding a script engine to the scada can help reduce the efforts on developing additional Mods.
  • Formula can be replaced with more comprehensive C# script engine.

turkish chracter issue

hi, I want to report a minor bug.
When you click pass to server button on Admin application, the app creating "ınterface.dat" not the "interface.dat" in the C:\SCADA\BaseDAT directory. I think this is a lower case issue in Admin application on "Tables" class's file name property.
public string FileName
{
get
{
return Name.ToLower() + ".dat";
}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.