
The following table summarizes the platforms that are supported by the OCP or
currently in work.
| Fully supported | Windows NT (MSVC 5.X, 6.X) |
| Partially supported (RTARM must be disabled in this version) | Redhat Linux (5.x, 6.x), SunOS 5.x |
| In Work | IRIX 6.X, VxWorks |
The OCP has been provided as a zipped file for Windows platforms. Copy the file to the desired build location which will be referred to in the following sections as OCP_ROOT. (i.e. C:\SEC\OCP_B0.1)
Copying the file for Windows platforms:
Use WinZip or a similar program to extract the archived file under the
destination directory preserving the relative directory.
The OCP requires the following environment variables:
OCP_ROOT, ACE_ROOT, TAO_ROOT and TAO_IDL_PREPROCESSOR.
Use Settings -> Control Panel -> System -> Environment to set the environment variables as follows:
OCP_ROOT = Destination directory (i.e. C:\SEC\OCP_B0.1)
ACE_ROOT =
%OCP_ROOT%\OCP\Infrastructure\PlatformServices\ACE_Wrappers
TAO_ROOT =
%ACE_ROOT%\TAO
TAO_IDL_PREPROCESSOR=c:/Program Files/Microsoft Visual
Studio/VC98/bin/cl.exe (i.e. this is the default location of the
CPP, enter the installation location for your CPP if the default was not
used)
PATH=%PATH%;%OCP_ROOT%\OCP\_Libfiles
After setting the environment variables, reboot to ensure that the
environment variables take effect.
Building the core OCP
Follow the process below to build the core OCP:
Building the Alpha version of the Controls API
Follow the process below to build the Alpha version of the Controls API:
Building the Alpha OCP Controls API examples
Follow the instructions in the Alpha OCP Controls API Examples section to build and run the Alpha OCP Controls API examples.
Building the MATLAB/OCP Integration example
Follow the instructions in the MATLAB/OCP Integration section to build and run the MATLAB/OCP Integration example.
Building the Examples
Follow the process below to build the OCP Examples:
The OCP has been provided as a tarred gzipped file for Unix platforms. Copy the file to the desired build location which will be referred to in the following sections as OCP_ROOT. (i.e. /usr/local/SEC/OCP_B0.1)
Use a terminal window to copy the file: (For example)
$cp <download_dir>/AlphaOCP.tar.gz /usr/local/SEC/OCP_B0.1/
Use gunzip to unzip the archive.
$gunzip OCP.tar.gz
$tar xvf OCP.tar
The OCP requires the following environment variables:
OCP_ROOT, ACE_ROOT, and TAO_ROOT.
These environment variable can be set automatically by changing the the OCP_ROOT directory and executing the setup_sec_linux shell script.
$cd /usr/local/SEC/OCP_B0.1
$source setup_sec_linux
Follow the process below to build the OCP:
Building the Alpha version of the Controls API
Follow the process below to build the Alpha version of the Controls API:
Building the Alpha OCP Controls API examples
Follow the instructions in the Alpha OCP Controls API Examples section to build and run the Alpha OCP Controls API examples.
Building the MATLAB/OCP Integration example
The MATLAB/OCP integration example currently only run on Windows NT. OCP B1.0 will support integration with MATLAB running on Linux. example.
Building the Examples
Follow the process below to build the OCP Examples:
The Alpha version of the OCP has not been verified on VxWorks. Future
versions of the OCP will run on the VxWorks(Greenhills) and VxWorks(Tornado)
platforms. The Alpha version of the OCP will only run on Redhat
Linux and Windows
NT platforms.
Home | Program Information | SEC Phone/email List