Mikhail

Forum Replies Created

Viewing 15 posts - 2,791 through 2,805 (of 6,289 total)
  • Author
    Posts
  • in reply to: Com Ports ? #9645
    Mikhail
    Moderator

    The formula would be something like:

    double ReadNum()
    {
      try
      {
        string s = System.IO.File.ReadAllText(@"C:\mydata.txt");
        double val;
        return double.TryParse(s, out val) ? val : -1;
      }
      catch
      {
        return -2;
      }
    }
    • This reply was modified 4 years, 7 months ago by Mikhail.
    • This reply was modified 4 years, 7 months ago by Mikhail.
    in reply to: Com Ports ? #9644
    Mikhail
    Moderator

    Hi,

    and writes it into a text file like ‘mydata.txt’, its simple the text file just shows a single number like 22.3

    Could I not just write a formula to read this ‘mydata.txt’ file into RapidScada and then return this number from the file

    This is not optimal, however, it’s possible if the file contains only 1 number.

    Create a formula and use it for an input channel of the Calculated real type.

    in reply to: Export data to SQL #9643
    Mikhail
    Moderator

    Hi,
    1. No, the module is free.
    2. Specify the query in the module configuration.

    If you provide screenshots of the module settings, I can check.

    in reply to: Com Ports ? #9637
    Mikhail
    Moderator

    Hi,

    Please check the driver development article and the existing driver as an example (link 1, link 2).

    in reply to: Start menu items not exist #9632
    Mikhail
    Moderator

    Hi,

    Despite the successful installation, only “administrator” and “Webstation” items appears in the start menu.

    It’s correct. You can control the Server and Communicator services from the Administrator app.

    The Agent service start automatically when the PC is restarted.

    in reply to: Com Ports ? #9630
    Mikhail
    Moderator

    Hi,

    Rapid SCADA supports COM ports. But you also need a driver (dll) for Communicator that implements recognizing the data in a particular format. It’s possible to develop such driver.

    in reply to: Graph Graphics #9629
    Mikhail
    Moderator

    Hi,

    There should be PlgChartPro.xml file in your project. The default file contains in the installation package of the plugin. Copy it into the project if it doesn’t exist.
    This file contains required parameters.

    in reply to: Rapid Gate #9628
    Mikhail
    Moderator

    Hi,
    You did everything right.
    A new user for Rapid Gate should be of the Application role.

    in reply to: SNMP Int32 #9621
    Mikhail
    Moderator

    Hi,
    As I remember, yes.

    in reply to: communicate device by 4G DTU #9619
    Mikhail
    Moderator

    That is the solution. The 4G DTU contains the config.

    Nice 🙂
    What solution method have you chosen?

    in reply to: Crate symbol factories in Rapid? #9618
    Mikhail
    Moderator

    Hi,

    I see your point. It’s important.
    Currently, you can use scheme templates if the schemes are identical except channel numbers.

    Could you make a screenshot and describe what part of the scheme you need to update? It would help to understand your particular case.

    in reply to: SCADASchemeEditor, show value with unit. #9617
    Mikhail
    Moderator

    Hi,

    Just open the Units table and add as many units as needed.
    Units available by default will be extended in the v6, see the link. Meter included.

    in reply to: communicate device by 4G DTU #9609
    Mikhail
    Moderator

    Other possible method is when each remote site uses different TCP port. But in this case any unknown device can send data to your system. And the number of TCP ports is limited.

    in reply to: communicate device by 4G DTU #9608
    Mikhail
    Moderator

    Hi,

    Not related to the particular SCADA software, when DTU is connected to the main server, what method would you like to use by the server to recognize the remote site?

    In such situation, a remove device usually sends “hello” packet that contains the device name. This feature is supported by some 3G routers.

    in reply to: SCADASchemeEditor, show value with unit. #9607
    Mikhail
    Moderator

    Hi,

    The attachment is not available – access denied.

Viewing 15 posts - 2,791 through 2,805 (of 6,289 total)