Difference between revisions of "CANoe"

From RadiWiki
Jump to: navigation, search
(Events in the CAPL interface)
(Events in the CAPL interface)
Line 40: Line 40:
 
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.
 
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.
+
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 at all.
  
 
Which events are triggered, and how often they are triggered is completely dependent on the configuration of the [[TSF]] in {{RadiMation}}.
 
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.
 
When filtering of the events is required then this can be implemented in the [[CANoe]] software.

Revision as of 09:00, 15 September 2017

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
  • Signal power
  • Forward power
  • Current
  • Turntable angle
  • Antenna height
  • Antenna polarization
  • ... (and more)

RadiMation connects through COM to this application, which requires that the CANoe software should be installed on the same PC.

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

  1. Create the CANoe Switch Matrix device driver in RadiMation.
  2. Select the created CANoe Switch Matrix device driver in the testsite that is used during an immunity test.
  3. Include the RadiMationInterface.can file inside your CANoe/CANalyser project. The contents of the RadiMationInterface.can file can be extended to take specific action.

Note that the functions in the RadiMationInterface.can file do not support a callback to the RadiMation application. So this CAPL interface can only be used to have updates of measurement values and settings during a test from RadiMation to CANoe or CANalyser.

Information.png
Note: It is not possible to determine if a CAPL function is existing in the CANoe/CANalyzer COM server.

When the CAPL function is not existing in the RadiMationInterface.can file, the call will go be forward to the CANoe software itself, and there will be 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 at all.

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.