**Attention** : Read this resource material carefully and in its entirety before use, to ensure it is understood and used properly. Failure to properly follow the instructions in the resource materials DPAM provides may result in damage to your equipment. As a result, by using the resource materials, you are assuming the risks associated with modifying your equipment. DENSO holds no liability, implied or otherwise, for damage, injury or any legal responsibility incurred, directly or indirectly from the use of the resource materials, including any loss of data or damage to property which may occur by your use of the resource materials. The use of the resource materials are not recommended unless you have technical knowledge and functional experience with the equipment and related software. DENSO is unable to provide support, remote or otherwise, for the information included in the resource material, nor for the ancillary topics relating to the information included in the resource materials. Therefore, if you are not fully comfortable with it, we strongly recommend that you send your unit to one of our Regional Support Centers for repair. The information contained in the resource materials are subject to change at the sole discretion of DPAM.
This article shows how to add the CAO_i.c file Include path to your Visual Studio project. This applies when using the CAO Engine to communicate to the robot controller and programming in either Visual C++. This article is not intended to aid you on how to use Visual Studio IDE.
Tools and Parts needed
- Visual Studio IDE (This examples uses Visual Studio 2017)
The following sample code is provided “AS IS” under the MIT License. Programming support service is out of warranty. Please note that we do not provide any programming support service beyond basic setup and troubleshooting.
Step by Step Guide
After you have created your project in Visual Studio right click on your project entry under the Solution Explorer section.
Select the “Properties…” option. The Project Property Pages window should appear.
On the Property Pages window perform the following operations:
- Expand the Configuration Properties list and select VC++ Directories
- Select “Include Directories” in the right pane.
- Press the drop down icon
- Select <Edit…>
The Include Directories window should come up.
On the Include Directories window include the path to the CAO_i.c file.
- Press the “New Line” button
- Press the […] button
- Select the following directory
Press the OK button to add the new Include directory.
Confirm that the ORiN 2 path is properly included.
Press OK to confirm.
- ORiN 2 Programming Guide – Section 2.6.1 “Client development with C++” (C:\ORiN2\CAO\Doc\ORiN2_ProgrammersGuide_en.pdf)
- ORiN 2 – Overview