Mikhail

Forum Replies Created

Viewing 15 posts - 691 through 705 (of 6,289 total)
  • Author
    Posts
  • in reply to: There is a problem with Import Table #15919
    Mikhail
    Moderator

    Could you provide screenshots that explain the question?

    in reply to: InitScripts() use #15918
    Mikhail
    Moderator

    Probably channel data is not ready when InitScripts is called.
    What kind of channels do you need to initialize?

    in reply to: use PrevTime() #15917
    Mikhail
    Moderator

    For a channel of the input type it depends on Communicator.
    The Communicator app sends data to Server after each session and every period (60 seconds by default).

    in reply to: InitScripts() use #15898
    Mikhail
    Moderator

    If you use some variables in your scripts, you can initialize them in the InitScripts method, for example. It is called once when Server starts.

    in reply to: Script use #15889
    Mikhail
    Moderator

    You can call the HourStarted function inside your own custom functions. It is auxiliary.

    in reply to: Script use #15888
    Mikhail
    Moderator

    The CountPulse function should be used in a channel of the calculated type. It should refer another channel. If the 2nd channel changes from 0 to >0, the 1st channel is increased. Check the source code in the Scripts table.

    in reply to: Script use #15887
    Mikhail
    Moderator

    EveryXXX function is executed many times a second. When a time is elapsed, the method passed as an argument is executed. Find the source code of the EveryPeriod function in the Scripts table.

    in reply to: Script use #15886
    Mikhail
    Moderator

    Hello,
    Please ask questions in proper different topics.

    in reply to: After using Rapid Scada, individual ideas make suggestions #15885
    Mikhail
    Moderator

    Thank you for your thoughts.

    Item 2. You can. Try Ctrl + C.
    Items 1 and 3 have been added to the back log.

    in reply to: User Input on Table View #15884
    Mikhail
    Moderator

    When a command is sent, an output formula of the channel is executed. In that output formula you can write a value to the channel as discussed above.

    in reply to: execute some external app from the web interface #15883
    Mikhail
    Moderator

    Note that executing external scripts is not secure. They can hang, or can be modified by an intruder. It’s better to interact with other services via API or industrial protocols.

    in reply to: execute some external app from the web interface #15882
    Mikhail
    Moderator

    Hello,
    The general algorithm is as follows:
    1. Send a command via the web interface.
    2. In a channel, use an output formula that executes a script.
    3. As shown above, the channel’s output formula should run a command like Process.Start(@"C:\SCADA\1.bat");

    Ask for more details if needed.

    Mikhail
    Moderator

    It means exception throw in OpcNetApi.dll. Maybe OpcNetApi.dll not implement the requirement interface(IOPCServerList2, I found project B implement and it doesn’t use OpcNetApi.dll)?

    Sometimes it’s possible. If an OPC server implements not all required interfaces, some OPC clients work with it, others don’t work.

    Mikhail
    Moderator

    Hello,
    Please provide a screenshot of the error.

    in reply to: Utility Pack 6.0 Instructions #15864
    Mikhail
    Moderator

    Where do I have to enter the program call so that it can be called by the UI? In views? How?

    If you need to execute some external app from the web interface, there should be another approach. Please create a new topic to discuss it.

Viewing 15 posts - 691 through 705 (of 6,289 total)