C Code Interface: CAPL Conversion

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:

  1. Verify a platform and its databases are setup properly.

  2. Open C Code Interface.

  3. Click Add Project and select "New Project from Vector CAPL". (Figure 1)

  4. Select the *.CAN file to convert. Verify MS Visual Studio converts the file into a project without errors.

  5. Build the project in MS Visual Studio. (can use Ctrl+Shift+B)

    Verify the project builds without errors.

  6. 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.

Last updated