Mikhail

Forum Replies Created

Viewing 15 posts - 1,246 through 1,260 (of 6,289 total)
  • Author
    Posts
  • in reply to: Formula lowestValue #14125
    Mikhail
    Moderator

    When Server starts, it loads channel values that saved before it Server stop. Value is reset because of your function. Using DayStarted() may help not to reset lowest value on start.

    in reply to: How to use EveryPeriod Function? #14124
    Mikhail
    Moderator

    Hi,
    Add a function like that:

    public CnlData Every5Sec(Func getDataFunc)
    {
        return EveryPeriod(getDataFunc, TimeSpan.TicksPerSecond * 5, TimeSpan.TicksPerMillisecond * 500 * 5);
    }
    

    > I’m still confusing why we still need execSpan argument?
    It is needed to avoid unnecessary calls of getDataFunc.

    in reply to: Mail settings #14123
    Mikhail
    Moderator

    Hello,
    Check the videos: link 1, link 2
    Note that currently Gmail does not support sending emails from 3rd party apps. You need another mail server to do that.

    in reply to: Where is the Computer Code? #14122
    Mikhail
    Moderator

    Hello,
    OK

    in reply to: How to config “Event”? #14121
    Mikhail
    Moderator

    Hello,
    Specify the channel limits, and configure event mask of the channel.

    in reply to: How to use PlgSchExtraComp plugin #14118
    Mikhail
    Moderator

    Hi,
    This video can help.

    in reply to: Scheme Editor cannot load from Administrator app V6.0.2 #14117
    Mikhail
    Moderator

    Hi,
    Open Administrator – Options – File Associations and make sure that ScadaSchemeEditor.exe exists there. It should be by default.

    in reply to: Formula lowestValue #14107
    Mikhail
    Moderator

    Hi,
    There is a ready to use DayStarted() function. It equals to true in the beginning of the day. Probably, using this function inside your formulas can fix the issue.
    If you provide screenshots of your channels, I can check them.

    in reply to: Uploading Product Recipe files #14106
    Mikhail
    Moderator

    Thank you for the description.
    It is possible to develop a plugin that provides a web page that uploads a file and save it somewhere on the server side if it solves your task. It can be done by a .NET developer. Be careful, because uploaded files may harm the system if it is available from the global internet.

    in reply to: How to use EveryPeriod Function? #14105
    Mikhail
    Moderator

    Probably, it’s better to create your own function that uses the EveryPeriod method.
    execSpan can be equal to period / 10

    in reply to: How to use EveryPeriod Function? #14104
    Mikhail
    Moderator

    Hi,
    EveryPeriod is defined as protected. You can change it to public and try using it directly. The period argument would be taken from a channel value, for example.
    The execSpan parameter provides a flexible period when getDataFunc can be executed. Note that EveryPeriod is called many times a second by the Server engine, and you don’t know the particular moment when it is called.

    Mikhail
    Moderator

    Hi,
    Thank you for describing the solution.
    Note that you can use TCPView utility to find what application uses a port.

    in reply to: How to install Rapid SCADA on ubuntu server ? #14101
    Mikhail
    Moderator

    Hi,
    If you need help, please provide errors you got.
    Yes, we plan to provide a video for a Linux installation, but I don’t know when.

    in reply to: Elastic Report – formulas #14091
    Mikhail
    Moderator

    Hello,
    Formulas that calculate totals are predefined. Unfortunately, you can’t calculate only negative values in the described case.

    However, a section of the DataData type can contain a custom formula. May be you can use a custom formula in the DataData section that refers the previous TimeData section.

    Note: Elastic Report formulas work only in Excel format.
    Note2: Elastic Report 6 supports XLSX format instead of Office XML 2003.

    in reply to: Uploading Product Recipe files #14090
    Mikhail
    Moderator

    Hi,
    To upload a file, a plugin should be developed.
    If the recipe file is uploaded, how it will be executed?

Viewing 15 posts - 1,246 through 1,260 (of 6,289 total)