CANoe: Difference between revisions
Line 37: | Line 37: | ||
== Explanation of the functions == | == Explanation of the 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=== | ===Test_Carrier_Level=== | ||
The carrier level of the signal generator | |||
'''Parameter:''' mdPowerIndBm | |||
'''Unit parameter:''' dBm | |||
===Test_Forward_Power=== | ===Test_Forward_Power=== | ||
===Test_Reflected_Power=== | ===Test_Reflected_Power=== |
Revision as of 08:15, 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:
- Setting up the CANoe Switch Matrix device.
- 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.
Explanation of the 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