manjey73

Forum Replies Created

Viewing 15 posts - 541 through 555 (of 923 total)
  • Author
    Posts
  • in reply to: Leading zeros #9976
    manjey73
    Participant

    They can be displayed as ASCII text by applying time formatting. It seems that there are corresponding formulas in C#.

    Show your example how you display time on a mnemonic circuit

    • This reply was modified 4 years, 3 months ago by manjey73.
    in reply to: Date & Time Source and Display #9968
    manjey73
    Participant

    The formula in the channel – DateTime.Now.ToOADate()
    Format channel is Date, Time or Date and Time

    in reply to: RTU500 AS 61850 SERVER #9942
    manjey73
    Participant

    @Zeus We need to put up some kind of protection. It won’t save 100%, but still 🙂

    in reply to: Send command button – change register bit #9939
    manjey73
    Participant
    public double SetBit(double n, int index, double setvalue)
    {
    long nn = Convert.ToInt64(n);
    return setvalue > 0 ? nn | (1 << index) : nn & ~(1 << index);
    }

    I do not know, is this what you need or not? Just writing a bit to a number. You need to add Formulas to the Reference Books

    in reply to: Auto Logon #9936
    manjey73
    Participant
    $(document).ready(function () {
      $("#txtUsername").val("operator");
      $("#txtPassword").val("1234S");
    sleep(20000).then(() => { document.getElementById("btnLogin").click(); })
    });
    
    function sleep(ms) {
      return new Promise(resolve => setTimeout(resolve, ms));
    }

    Strange, I have double quotes and it works. Maybe the quotation marks code is from the Russian language, but it seems they should be the same.

    If you look in HEX format, the quote code is 0x22 everywhere

    • This reply was modified 4 years, 3 months ago by manjey73.
    in reply to: Auto Logon #9930
    manjey73
    Participant

    Exactly, this forum is slightly spoiling some characters when inserting.

    in reply to: Auto Logon #9928
    manjey73
    Participant

    The script is located in the file /scada/ScadaWeb/js/autologin.js where you specify your user and his password. It may be necessary to reboot the web to update the scripts in the browser, for example by Ctrl+F5

    in reply to: Step 11 fails #9868
    manjey73
    Participant

    2. Copy the scripts from the daemons folder to /etc/init.d

    You probably tried to copy the boot scripts under a regular user and did not notice that there is no access, since /etc/init.d is not available to a regular user for writing.

    • This reply was modified 4 years, 3 months ago by manjey73.
    in reply to: Step 11 fails #9865
    manjey73
    Participant

    Look at the code svc_install.sh Have you exactly copied the required files to the /etc/init.d folder?

    What is your system?

    • This reply was modified 4 years, 3 months ago by manjey73.
    in reply to: Auto Logon #9857
    manjey73
    Participant

    https://yadi.sk/d/RZArYfy89mgjkw

    Strange, this plugin is not in the repository. Here is the link to the plugin that the author gave.

    Go to js and edit autologin.js my version is below with a delay of 20 seconds, which allows you to have time to change the user if necessary.

    $(document).ready(function () {
    $(“#txtUsername”).val(“operator”);
    $(“#txtPassword”).val(“1234S”);
    sleep(20000).then(() => { document.getElementById(“btnLogin”).click(); })
    });

    function sleep(ms) {
    return new Promise(resolve => setTimeout(resolve, ms));
    }

    in reply to: Auto Logon #9856
    manjey73
    Participant

    Yes, it is possible

    in reply to: Evenet Log #9855
    manjey73
    Participant

    Project/YourProject/Interface

    in reply to: Evenet Log #9853
    manjey73
    Participant

    Place this xml in Project/Instance when you transfer data to the server and if there is no file there, then it is deleted from the main folder. This is true for all files that are copied from Instance to the corresponding folders.

    More precisely, Project/YuoProject/Interface

    • This reply was modified 4 years, 3 months ago by manjey73.
    in reply to: Evenet Log #9841
    manjey73
    Participant

    Checked on Raspberry, Scada version 5.8.3 – works fine

    in reply to: Evenet Log #9838
    manjey73
    Participant

    It seems they had to upgrade to a working version. I compared the files we tested on and the ones in the repository. There is a difference in the file EventsLog.xml . In what I have, the entry <Label>Alarms</Label>
    and <Label>Warnings</Label> is different
    there’s an s at the end. I also have a file Newtonsoft.Json.dll file in the bin folder is also an eventslog.js.map file in the plugins folder. the rest of the files have no differences

    • This reply was modified 4 years, 3 months ago by manjey73.
Viewing 15 posts - 541 through 555 (of 923 total)