SwitchConfig
- Last UpdatedJul 18, 2023
- 1 minute read
Switches focus to a specific Plant SCADA configuration application. If the specified application is not running, it will be started.
Syntax
SwitchConfig(nApp)
nApp:
The configuration application:
1 - Graphics Builder (CTDRAW32.EXE)
2 - Not in Use
3 - Plant SCADA Studio (CITECTIDE.EXE)
4 - Cicode Editor (CTCICODE.EXE)
Return Value
0 (zero) if successful, otherwise an error code is returned.
Example
! Switch to the Graphics Builder.
SwitchConfig(1);