Mikhail

Forum Replies Created

Viewing 15 posts - 5,791 through 5,805 (of 6,124 total)
  • Author
    Posts
  • in reply to: BacNet #916
    Mikhail
    Moderator

    Task 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.

    in reply to: BacNet #914
    Mikhail
    Moderator

    I 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?

    in reply to: BacNet #912
    Mikhail
    Moderator

    Raspberry Pi and other Linux systems are very popular. So drivers also should work on RPi under Mono .NET Framework.

    in reply to: BacNet #911
    Mikhail
    Moderator

    It 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.

    in reply to: BacNet #909
    Mikhail
    Moderator

    Hi,

    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.

    Mikhail
    Moderator

    OLE DB connection is possible instead of ODBC.

    Mikhail
    Moderator

    Integration with Rapid SCADA article describes how to access to Rapid SCADA native data programmatically.

    Mikhail
    Moderator

    Rapid 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.

    Mikhail
    Moderator

    Hello,

    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.

    in reply to: ScadaScheme can't run #899
    Mikhail
    Moderator

    The normal call stack is UserData.GetUserData() -> AppData.InitAppData()
    Then MainData.SettingsFileName = ConfigDir + CommSettings.DefFileName;

    Is MainData.SettingsFileName = … executed?

    in reply to: ScadaScheme can't run #897
    Mikhail
    Moderator

    Check why serverComm == null in MainData.CheckUser() after executing MainData.RefrServerComm() method.

    in reply to: ScadaScheme can't run #892
    Mikhail
    Moderator

    It’s strange. You should debug and understand the details.

    in reply to: ScadaScheme can't run #890
    Mikhail
    Moderator

    When 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.

    in reply to: ScadaScheme can't run #888
    Mikhail
    Moderator

    I 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.

    in reply to: Slave address table #885
    Mikhail
    Moderator

    Hi,

    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.
Viewing 15 posts - 5,791 through 5,805 (of 6,124 total)