rapidscada / scada Goto Github PK
View Code? Open in Web Editor NEWContains Rapid SCADA sources
License: Apache License 2.0
Contains Rapid SCADA sources
License: Apache License 2.0
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 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
OS Version: 10.0.10240
CLR Version(s): 4.6.96.0
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
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.
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.
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,
Dear 2mik,
seems its not working with silverlight latest version.
Hi,
Is that we can replace ADAM cponverter and can connect directly with SIEMENS modbus cards and devices for pooling the data?
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
Is it possible to build Rapid SCADA on Visual Studio Code? If yes, how to do it?
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.
Request you to kindly do the needful.
Regards
Subramaniyam.KMV
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.
Hi can you add Drag drop feature to Scada Scheme Editor project ?
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,
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 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.
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:
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?
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
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.
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,
An animation GIFs are not visible in Schemes Editor, but works in WEB interface
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?
There is CalcEngine.cs in scada server log folder
Dear RapidScada team,
is there any guide for compiling your software with Mono?
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
After the Linux installation, the 503 error appears (on CentOS 7).
To avoid this problem WITHOUT deactivate SELinux :
semodule -i httpdPolicy.pp
sestatus
would be "enforcing" & rebootV3125 The 'styleAttr' object was used after it was verified against null. Check lines: 296, 262. ExcelRepBuilder.cs 296
Hi,
After clicking on the export report to Excel its importing in .xml file needs to be checked.
Please add files with would make posible to build the RapidScada sources for users of other Operating Systems then Windows
When I tried to build Report,the error occurs,there is no type or namespace for "RepBuilder" in FrmMain.cs
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
Hi,
the latest version of Rapid Scada still uses jQuery 2.2.3 and Bootstrap 3.3.6, which both have security flaws. Thus, I recommend you to update the libraries to their latest version.
Bootstrap:
jQuery:
Best regards
Hi, thanks for this great project. A lot of scada systems contain script engines (e.g. VBA). I think script engine is very useful.
你好,
fileModTime = value; => lastFillTime = value;
谢谢
Greetings, thanks a lot for creating this project, it seems stable.
Siemens PLC is popular , please consider support s7 protocol by using sharp7. It is also open source.
http://snap7.sourceforge.net/sharp7.html
Good luck.
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";
}
}
Hi,
Do you plan to support Ethernet/IP industrial protocol ?
thanks
Hi,
I was looking for possibilities, to have application also for ios and android, becoz tht would complete its cycle
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.