Applies To:
  • CitectSCADA 3.xx, 4.xx, 5.xx

Summary:
I am trying to shutdown and restart other nodes on my Citect network using the Shutdown("ComputerName", "ProjectName", 2) command, but it just restarts Citect on the local computer. 

Solution:
By default, Citect doesn't allow one node to command another to restart for security reasons. To give a computer the privilege to command other Citect nodes to shutdown and / or restart the runtime, you need to set the following parameter in the Citect.ini file on the computer issuing the command:

    [Shutdown]
    NetworkStart=1

You can also set a parameter to tell a computer to ignore any shutdown requests coming from other nodes. If you want to do that, you can set the following parameter on the computer that you want to stay running:

    [Shutdown]
    NetworkIgnore=1

To force a shutdown, use a command like:

    Shutdown("All Servers", "MyProject", 2)

Or, to shut down a specific computer, use that computer's Citect NetBIOS name (set in the Computer Setup Wizard):

    Shutdown("ctOP1", "MyProject", 2)

See the online help for the Shutdown function for more options.

 

Keywords:
 

Attachments