Decide When Geo SCADA Expert is to Execute a System Command
Geo SCADA Expert can trigger a system command under various circumstances. You need to decide when Geo SCADA Expert is to execute each system command, in order to determine the type of configuration that you need to undertake:
- If you want Geo SCADA Expert to trigger a system command automatically in response to a particular alarm situation, configure a System Command Action. A System Command Action is an alarm redirection action. For more information on configuring this type of action, see System Command Action in the Geo SCADA Expert Guide to Alarm Redirection.
- If you want a Logic program to trigger a system command automatically, include the SYSTEM function in the relevant Logic program. For more information, see Misc in the Geo SCADA Expert Guide to Logic.
- If you want Geo SCADA Expert to execute a system command on a ViewX or Virtual ViewX client, use a System Command pick action on a mimic object. For example, you could use a System Command pick action to display a PDF document. Geo SCADA Expert will execute the command on the client. Therefore, the application file or batch file executed as a result must be on the client and can be interactive.
For more information, see Creating a System Command Pick Action in the Geo SCADA Expert Guide to Mimics.
- If you want to execute a System Command on the Geo SCADA Expert server in response to a user request, add a System Command item to the database. Users can then use the item’s Execute pick action to trigger the command.
You can also trigger the command from a schedule, method call and so on. Geo SCADA Expert will execute the command on the main server. Therefore, the application file or batch file executed as a result must be on the main server and cannot be interactive.
For more information on the System Command database item, see Add a System Command, and see Execute a System Command.
In addition to the above, Geo SCADA Expert is supplied with a built-in command line tool, to enable third-party applications to run Geo SCADA Expert commands from the Windows® command prompt. For more information, see Server Command Line Tool in the Geo SCADA Expert Guide to Server Administration.