CANoe

From RadiWiki
Revision as of 08:35, 28 October 2010 by Joro (talk | contribs) (Events in the CAPL interface)
Jump to: navigation, search

CANoe from Vector is used for reading out the CAN or LIN bus.

There are 2 ways of using the software, and there for 2 ways of controlling. This is because RadiMation is modular build, and is has no idea that it is talking to a software package instead of hardware.

Getting information from CANoe

Use the AD converter CANoe Interface to read out the information from the CANoe Software.

Getting information to CANoe

Use the CAPL interface to communicate with the software.

CAPL

CANoe supports CAPL, a programming interface. Through this interface RadiMation can send information back the Canoe software. For Example:

  • Frequency
  • Field Strength
  • Power

RadiMation connects through COM to this application

To connect with RadiMation you need to configure the following things:

  1. Setting up the CANoe Switch Matrix device.
  2. inserting the RadiMationInterface.can file inside your CANoe/CANalyser project.

The functions inside the RadiMationInterface.can can be extended to your needs Note that the function do not support a call back to the RadiMation application. So the CAPL interface can only be used to insert information from RadiMation to CANoe or CANalyser.

Note: You can't find out if a CAPL function exist with CANoe/CANalyzer COM server. When the function not exist the call will go in CANoe but there will come up no error message or return value.

Events in the CAPL interface

The events given to the CAPL interface are event triggered. This means that the information is send the moment it becomes available.

For example, when the Forward power has been measured the forward power information is send through the interface. The same goes for a frequency change.

This also means that when information is not available, for example the test is done only on signal generator level then the forward power will not be send.

Which events are triggered, and how often they are triggered is completely dependent on the configuration of the TSF in RadiMation®.

When filtering of the events is required then this can be implemented in the CANoe software.

Explanation of available events/functions

Test_Frequency

The current frequency of the test, in other words the frequency of the signal generator.

Parameter: mdFreqMHz

Unit parameter: MHz

Test_Carrier_Level

The carrier level of the signal generator

Parameter: mdPowerIndBm

Unit parameter: dBm

Test_Forward_Power

Test_Reflected_Power

Test_Average_Field

Test_Calculated_Field

Test_Measured_Current

Test_Sensor_Power

Test_Amplitude_Modulation_Internal

Test_Amplitude_Modulation_External

Test_Frequency_Modulation_Internal

Test_Frequency_Modulation_External

Test_Pulse_Modulation_Internal

Test_Pulse_Modulation_External

Test_Modulation_On

Test_Modulation_Off

Antenna_Movement_Started

Antenna_Movement_Stopped

Antenna_Movement_Percentage

Antenna_Movement_Changing_Polarisation

TurnTable_Movement_Started

TurnTable_Movement_Stopped

TurnTable_Movement_Turning_Percentage