Cicode Programming Reference > Cicode Function Categories > Miscellaneous Functions > DelayShutdown

DelayShutdown

Terminates Citect SCADA's operation after the specified delay period (in milliseconds). This function is suitable to be called by the CTAPI. The delay period enables the user to close the connection between the CTAPI and third-party applications before Citect SCADA shuts down.

Syntax

DelayShutdown(Delay)

Delay:

The period (in milliseconds) after whichCitect SCADA will shut down.

Return Value

No return value.

Example

DelayShutdown(10 000) 
!Terminates Citect SCADA's operation after 10 seconds

See Also

Miscellaneous Functions

Published June 2018