SwitchConfig
Switches focus to a specific CitectSCADA configuration application. If the specified application is not running, it will be started.
Syntax
SwitchConfig(nApp)
nApp:
The configuration application:
1 - Citect Graphics Builder (CTDRAW32.EXE)
2 - Citect Project Editor (CTEDIT32.EXE)
3 - Citect Explorer (CTEXPLOR.EXE)
4 - Citect Cicode Editor (CTCICODE.EXE)
Return Value
0 (zero) if successful, otherwise an error is returned.
Example
! Switch to the Graphics Builder.
SwitchConfig(1);
See Also