CANoe: Difference between revisions

From RadiWiki
Jump to navigation Jump to search
Line 36: Line 36:
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.
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.


When filtering of the events is required then this needs to be implemented in the CANoe software.  
Which events are triggered, and how often they are triggered is completely dependent on the configuration of the [[TSF]] in {{RadiMation}}.


== Explanation of the functions ==
When filtering of the events is required then this can be implemented in the [[CANoe]] software.
 
== Explanation of available events/functions ==
===Test_Frequency===
===Test_Frequency===
The current frequency of the test, in other words the frequency of the signal generator.
The current frequency of the test, in other words the frequency of the signal generator.

Revision as of 08:35, 28 October 2010

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[edit]

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

Getting information to CANoe[edit]

Use the CAPL interface to communicate with the software.

CAPL[edit]

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[edit]

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[edit]

Test_Frequency[edit]

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

Parameter: mdFreqMHz

Unit parameter: MHz

Test_Carrier_Level[edit]

The carrier level of the signal generator

Parameter: mdPowerIndBm

Unit parameter: dBm

Test_Forward_Power[edit]

Test_Reflected_Power[edit]

Test_Average_Field[edit]

Test_Calculated_Field[edit]

Test_Measured_Current[edit]

Test_Sensor_Power[edit]

Test_Amplitude_Modulation_Internal[edit]

Test_Amplitude_Modulation_External[edit]

Test_Frequency_Modulation_Internal[edit]

Test_Frequency_Modulation_External[edit]

Test_Pulse_Modulation_Internal[edit]

Test_Pulse_Modulation_External[edit]

Test_Modulation_On[edit]

Test_Modulation_Off[edit]

Antenna_Movement_Started[edit]

Antenna_Movement_Stopped[edit]

Antenna_Movement_Percentage[edit]

Antenna_Movement_Changing_Polarisation[edit]

TurnTable_Movement_Started[edit]

TurnTable_Movement_Stopped[edit]

TurnTable_Movement_Turning_Percentage[edit]