Mikhail

Forum Replies Created

Viewing 15 posts - 991 through 1,005 (of 6,136 total)
  • Author
    Posts
  • in reply to: external application requesting sacada data #14438
    Mikhail
    Moderator

    Likely ScadaTestClient.xml contains invalid SecretKey property.
    ScadaTestClient source code is here if need.

    in reply to: Login Expiry and Remember Option in scadaAdmin #14437
    Mikhail
    Moderator

    There is no such plugin yet. You could develop it. It looks quite useful.

    in reply to: RapidGate #14436
    Mikhail
    Moderator

    Use the existing partitions as examples. pgAdmin can show their SQL.

    in reply to: RapidGate #14435
    Mikhail
    Moderator

    The cause of the error is that there is no partition for old data. You should create it manually using pgAdmin. SQL example:

    CREATE TABLE mod_arc_postgre_sql.min_historical_20240101_20240201 PARTITION OF mod_arc_postgre_sql.min_historical
        FOR VALUES FROM ('2024-01-01 03:00:00+03') TO ('2024-02-01 03:00:00+03')
    

    Set your own dates for the partitions. By default 1 partition covers 1 month.

    in reply to: RapidGate #14434
    Mikhail
    Moderator

    Hi,
    Note that Rapid Gate status is written in ModRapidGate*.* log files on the machine where Rapid Gate is running.

    in reply to: external application requesting sacada data #14426
    Mikhail
    Moderator

    May be the problem is in password encoding. It is encrypted using the provided Secret Key. If the Secret Key is empty, no encryption is used as I remember.
    I suggest to get the request, sent by ScadaTestClient, using WireShark and compare with your request.

    in reply to: Login Expiry and Remember Option in scadaAdmin #14425
    Mikhail
    Moderator

    Do you mean a situation when a user left the computer, the browser is open, and the web app should do automatic logout after some period?

    in reply to: RapidGate #14424
    Mikhail
    Moderator

    Hi,
    Archive Replication Options are enabled. That’s correct.

    Do the following:
    1. Create a new channel of the Output type. Set tag code to GateCmd and Format to String.
    2. Set Command code of the gate to GateCmd
    3. Create a table view that helps to send commands using that channel.

    Try sending command like

    cmd=UploadArchive
    startDT=2022-07-01 10:00:00
    endDT=2022-07-01 11:00:00
    

    Watch for the Rapid Gate log files. You should see how data are uploading.

    in reply to: jQuery issues in #14416
    Mikhail
    Moderator

    Hi,
    You should open the development tools in Chrome by pressing F12, set a breakpoint and check the actual data in the debugger.

    ViewStamp is a stamp provided by server code to check that the client and server view data match.
    SchemeDoc is a part of scheme object.

    in reply to: external application requesting sacada data #14415
    Mikhail
    Moderator

    Hi,

    In v6 archives can be of different formats. So it’s not a good way to read dat files. However, their format is here.

    If you access data from a web page (or can use cookies from your code), you can use Web API. If you get data from server code, you can request the Server app by TCP. The application protocol is documented, C# library is available.

    in reply to: DrvTelnetJP #14414
    Mikhail
    Moderator

    🙂

    in reply to: Login Expiry and Remember Option in scadaAdmin #14413
    Mikhail
    Moderator

    Hello,
    The Login expires option work only if Allow to Remember Login is set. It does not affect the current session.
    If a user does not tick Remember me, the session should be ended when the browser is closed. Closing a tab is not enough.

    in reply to: More detailed archive classification #14412
    Mikhail
    Moderator

    Custom archives should have ID >= 101 and Bit >= 17.
    Also you need to add a new chart profile and specify the archive there. Docs

    in reply to: RapidGate #14411
    Mikhail
    Moderator

    Hi,

    Historical Data Transfer Options is needed when you can get historical data from your device, such as electricity meter. A driver should support reading historical data.

    Achieve Replication Options allow to synchronize archives between 2 instances of Rapid SCADA. It can be done manually by a command or automatically. For unknown reason, Upload options are not displayed in your screenshot.

    in reply to: Dynamic Pages #14401
    Mikhail
    Moderator

    Hi,
    If you use ASP.NET Razor Pages to create your page, you should copy a dll file into the root folder of the web application. Open SCADA\ScadaWeb and check the file structure. Also you can download any additional plugin and check its files.

Viewing 15 posts - 991 through 1,005 (of 6,136 total)