Applies To:
  • CitectSCADA 1.00 1.01 1.10 1.11 1.20 2.00 2.01 3.x 4.x

Summary:
Question: What are the command line options for the Citect Compiler?  

Solution:
The Citect Compiler, CTCMP.EXE (16 bit ver 1.0 to 3.x) and CTCMP32.EXE (32 bit version 4.x and later) does have command line arguments as shown below.

-d<name> project name
-a<appname> application name that calls the compiler,
      datent : Project Editor
      ctdraw : Graphics Builder
      ctdsp : Citect Runtime
-i<filename> INI file name
-o online compilation indicator

Please note that there is no space between the switch and the data attached to it. Examples:

1 - CTCMP32 -ddemo -actdraw -icitect3.ini -o
      project : demo
      calling app : ctdraw (Graphics Builder)
      INI file : citect3.ini
      online compilation : yes
2 - CTCMP -d example
      WRONG !! Because there is a space between -d and example.

For backward compatibilty the -d and -a options can be deleted provided that the project name is the first argument and application name the second. We recommend that all users use the switches for the sake of clarity. Examples :

1 - CTCMP32 demo ctdsp -Imy.ini
      project : demo
      calling app : ctdsp ( Citect Runtime)
      INI file : my.ini
      online compilation : No
2 - CTCMP ctdsp demo
      WRONG !! Project name and calling appliaction name are in the wrong positions.

 

Keywords:
 

Attachments