Step 1. Create the Sample Program Executable

Procedure

  1. Click Start on the Windows task bar.
  2. Select (All) Programs>Proficy HMI SCADA - CIMPLICITY version>Demo Project.

    The Demo project opens in the CIMPLICITY Workbench.

  3. Click Tools>Command prompt on the Workbench menu bar.

    A Command Prompt window opens.

  4. Type the following commands:

    <drive>:

    cd %BSM_ROOT%api

    Where

    <drive> is the disk where your CIMPLICITY software is installed.

  5. (If the environment variables are not set automatically) issue the following command to set them:

    ..\<Program Files Install Directory>\Microsoft Visual Studio 11.0\Common7\Tools\vsvars32.bat

    This ensures that your environment variables (in particular %BSM_ROOT% and %SITE_ROOT%) are set correctly.

  6. Start Visual Studio:

    devenv CimplicityAPI.sln

  7. Open Solution Explorer.
  8. Right-click amipsample_exe to build the project.
  9. Select Build on the Popup menu.