Step 1. Create the Sample Program Executable
Procedure
- Click Start on the Windows task bar.
-
Select (All) Programs>Proficy HMI SCADA - CIMPLICITY version>Demo Project.
The Demo project opens in the CIMPLICITY Workbench.
-
Click Tools>Command prompt on the Workbench menu bar.
A Command Prompt window opens.
-
Type the following commands:
<
drive>:
cd %BSM_ROOT%api
Where
<
drive>
is the disk where your CIMPLICITY software is installed. -
(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. -
Start Visual Studio:
devenv CimplicityAPI.sln
- Open Solution Explorer.
- Right-click amipsample_exe to build the project.
- Select Build on the Popup menu.