Mikhail

Forum Replies Created

Viewing 15 posts - 676 through 690 (of 6,270 total)
  • Author
    Posts
  • 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.

    Mikhail
    Moderator

    For example, if some channel value > 0, the module can send commands to switch a led. Use a channel data trigger for this purpose.

    in reply to: Script use #15862
    Mikhail
    Moderator

    Hello,
    The mentioned article provides basic information about using formulas. You can create your own scripts and formulas.
    Check the Scripts table of the HelloWorld project for the examples.

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

    Find ExtExternalTools in the Administrator options, and configure the extension properties.

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

    Hello,

    I am also interested in the possibility of creating a pure CSV file without an XML header.

    Could you provide an example of the existing file you get and a file you need?

    Is it possible, like the other plugins, to integrate the function into the frontend

    In the modern Administrator app, there is ExtExternalTools extension. Using this extension, you can add custom command to run command line utilities from the UI.

Viewing 15 posts - 676 through 690 (of 6,270 total)