Copyright © 2024 | All Rights Reserved
Vehicle Spy includes a nice time saving feature that converts Vector CAPL to C code. This feature is found under Scripting and Automation -> C Code Interface. Follow these steps to convert CAPL to C code for use in Vehicle Spy:
Verify a platform and its databases are setup properly.
Open C Code Interface.
Click Add Project and select "New Project from Vector CAPL". (Figure 1)
Select the *.CAN file to convert. Verify MS Visual Studio converts the file into a project without errors.
Build the project in MS Visual Studio. (can use Ctrl+Shift+B)
Verify the project builds without errors.
Take Vehicle Spy online to run the converted and built CAPL project. Results will depend upon what is in the CAPL project. See results on the CCIF Output tab, Messages view, Application Signals, Graphical Panels, etc.