This is a stand-alone example application using the Anybus CompactCom Driver API (abcc-api) ported for the Anybus CompactCom Starter Kit evaluation platform.
To enable easy evaluation and inspiration to Anybus CompactCom prospects.
- This example application shall be built for and ran in a Windows environment.
- The free Anybus Transport Provider DLL is required. Download and install this DLL.
- If you do not yet have CMake, download and install it before continuing.
-
This example is made for Visual Studio. Download and install it before continuing if you don't have it already.
CMake will create a project for the Visual Studio version available on your computer.
- Of course, you will need to have Git installed. See this tutorial on how to install Git.
This repository contain submodules abcc-driver-api, abcc-driver and abcc-abp that must be initialized. Therefore, pass the flag --recurse-submodules
when cloning.
git clone --recurse-submodules https://github.com/hms-networks/abcc-example-starterkit.git
If you did not pass the flag --recurse-submodules
when cloning, the following command can be run:
git submodule update --init --recursive
This example application utilizes the Anybus CompactCom Driver API's CMake module file in a top level CMakelLists.txt file to generate a complete Visual Studio project.
To generate the project, run the lines below, starting in the repository root.
mkdir build
cd build
cmake ..
Open the generated project solution .sln file and run the Local Windows Debugger (green play button). The Project should build and run!
Make sure that your Starter Kit is powered on and the USB cable is plugged in. See the Starter Kit Reference Guide for more details.