ModAutoControl executing a binary file on event ?

Forum Home Forums Development and Integration ModAutoControl executing a binary file on event ?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1835
    inpelsa
    Participant

    Hi Mikhail,

    I would like RapidScada to execute a .EXE o .CMD file at some point (input channel value or status = 0) to be able to do more complex tasks.

    Is there any way to accomplish this? the only way I think of is with SNMP commands send to a SNMP server….

    Thanks!

    #1837
    Mikhail
    Moderator

    Hi,

    You can try using in a formula the following code:

    System.Diagnostics.Process.Start("C:\you_file.bat");
    

    Please tell about the result.

    #1838
    Mikhail
    Moderator

    Be careful, if the statement is true on every program cycle, you will run a lot of processes.

    #7346
    Krzysztof
    Participant

    Is it possible to run a PowerShell script with a command sent by ModAutoControl?

    #7354
    Mikhail
    Moderator

    Starting scripts feature requires development of a module for SCADA-Server.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.