Parameters > Citect.ini File Parameters > IOServer Process Parameters > IOServer.<ClusterName>.<ServerName>ShutdownCode

IOServer.<ClusterName>.<ServerName>ShutdownCode

Can be used to specify a Cicode function that runs at shutdown of the CitectSCADA IO Server component. CitectSCADA suspends the shutdown process until the function has finished running. The function needs to complete execution within the time specified by the [Code]ShutdownTime parameter, otherwise CitectSCADA will terminate it.

This parameter needs to be defined at the finest level of hierarchical granularity (IOServer.<ClusterName>.<ServerName>ShutdownCode). See Hierarchical Parameters for more information.

Note: This parameter is modified by Computer Setup Wizard.

Allowable Values:

Any built-in or user-written Cicode function, 1-31 alpha-numeric characters.

Default Value: NONE

Note: When CitectSCADA is running in single process mode only the Cicode function assigned to [Client]ShutdownCode will be executed at shutdown. Cicode functions specified for particular CitectSCADA components are ignored.

See Also