Forum Replies Created
-
AuthorPosts
-
MikhailModeratorTask of creating BACnet driver consists of 2 main subtasks:
1. Port BACnet stack to .NET or find the existing one.
As an idea you can use C++/CLI for porting.2. Implement driver logic using Rapid SCADA base classes.
In this subtask I can help to explore the internal structure of Rapid SCADA source code.For home automation the price of harware modules is important. Have you compared the prices of different hardware depending on communication interface and protocols?
C# is similar to C++ and Java. I think it is easy to start coding C# if you know C++ and Java.
MikhailModeratorI think it would only worth the effort if some additional functionality can be delegated to the device, like alarms or discovery of features etc.
Please provide more details about the idea.
What programming language you use to BACnet implementation? It is possible to see the source code on GitHub or somewhere else?
MikhailModeratorRaspberry Pi and other Linux systems are very popular. So drivers also should work on RPi under Mono .NET Framework.
MikhailModeratorIt would be great ))
In terms of SCADA, communication with devices is implemented by drivers. In Rapid SCADA driver is .NET assembly, to put it simply, it is DLL written in C#.
I think, first of all you should see Modbus driver implementation on GitHub.Let’s continue our communication.
MikhailModeratorHi,
BACnet implementation is not currently in our plans. It can be included in the plans if we find a sponsor of this feature. Also I can help an external developer to integrate BACnet driver with Rapid SCADA if someone decides to develop it.
March 13, 2016 at 5:24 pm in reply to: Writing additional data (for example infotext) to historical DB #907March 12, 2016 at 6:06 pm in reply to: Writing additional data (for example infotext) to historical DB #905
MikhailModeratorIntegration with Rapid SCADA article describes how to access to Rapid SCADA native data programmatically.
March 12, 2016 at 6:01 pm in reply to: Writing additional data (for example infotext) to historical DB #904
MikhailModeratorRapid SCADA uses its own data format for storing archives by default.
May be for your task the optimal way is using standard DBMS. It depends on a way how data is processed and shown.
There is ModDBExport.dll – a SCADA-Server module. It allows online export data to Oracle, MS SQL, MySQL, PostgreSQL, etc. The examples of settings is in dbexport_en.pdf in the installation package.March 12, 2016 at 3:20 pm in reply to: Writing additional data (for example infotext) to historical DB #901
MikhailModeratorHello,
I think, comments should be inserted into event tables. The format of event tables allows to write 50 bytes of auxiliary event data. Is it enough? If it is not enough, another storage must be used.
Anyway custom development is required for the forms for entering data and showing inserted comments.
Could you provide more details of your question about SCADA-Administrator?
Also it is possible to use one of the popular DBMS to solve your task.
MikhailModeratorThe normal call stack is UserData.GetUserData() -> AppData.InitAppData()
Then MainData.SettingsFileName = ConfigDir + CommSettings.DefFileName;Is MainData.SettingsFileName = … executed?
MikhailModeratorCheck why serverComm == null in MainData.CheckUser() after executing MainData.RefrServerComm() method.
MikhailModeratorIt’s strange. You should debug and understand the details.
MikhailModeratorWhen you uncomment #define DEBUG_MODE the following code works:
userData.Login("admin", "12345", out errMsg);And user become logged on. SCADA-Server service must be running.
MikhailModeratorI added some changes in development branch: https://github.com/RapidScada/scada/blob/develop/ScadaScheme/ScadaSchemeWeb/scheme/ScadaScheme.aspx.cs
You should uncomment #define DEBUG_MODE
If you work with master branch, you can copy the changes to you local copy of sources.
MikhailModeratorHi,
Try to use address 4001.
If it doesn’t help, post here a part of communication line log.
If you are able to receive a log of successfull communication with another application, you may use http://modbus.rapidscada.net/ tool to get all the details of polling and use this information in the template.-
This reply was modified 9 years, 10 months ago by
Mikhail.
-
This reply was modified 9 years, 10 months ago by
-
AuthorPosts