Adding Database Objects to Display Windows. Vector Canapé
Werbung
Werbung
CANape - First Steps
In the ASAP2 Database Editor, select the menu item Edit
→ Insert from map file… A dialog page opens with a list of all map file objects and their addresses. Select an object from the list to be calibrated and press [OK]. Click the [Calibration] button as the object type. A parameter object can now be seen in the database, and it is denoted by the symbol. (Refer to the CANape User manual for a detailed description of all database symbols).
Insert another variable from the map file, but this time as a measurement object, denoted by the symbol.
Now there is one object to be calibrated and one object to be measured. Save and close the database editor.
4.5 Adding Database Objects to Display Windows
CANape offers options to display database objects in multiple formats. Measurement objects can be displayed in graphic, numeric, digital, or bar format. Calibration objects can also be displayed in graphic or numeric format.
Go to the CANape menu item Display
→ Calibration Windows → Calibration Window. Select the desired calibration variable to be read and modified from the popup database and click the [Apply] button in the toolbar.
Close the database.
To display a measurement object, the object first has to be added to the Measurement Configuration List. Go to the menu item Measurement
→ Measurement configuration… or select the
icon on the toolbar. Right click in the right window and select ‘Insert Signal…’, which will open the Database Editor where the desired measurement object can be selected. Select the measuring mode to be polling at 100ms. If a DAQ has been implemented in the ECU, it is possible to create timer events (please refer to CCP_TEST.PDF for more information). Close the configuration list.
Select the menu item Display
→ Measurement Windows → Graphic window… Right click in the empty window and select ‘Insert measurement signal…’. Select the measurement signal from the measurement configuration list and click [Apply]. Close the configuration list.
Click on the symbol in the toolbar to run the measurement. If CANape is not online, a prompt will ask if
CANape should be connected. Say ‘Yes’ to connect.
At this point you are connected to the ECU and successfully using measurement and calibration options of
CANape.
5.0 CCPlog
CANape CCP communication to the ECU can be monitored and logged using the CCPlog utility that is included in the CANape installation. The file CCPLOG.EXE is located in the CANape\Exec folder.
Note: It is recommended to start CCPlog before starting CANape to capture CANape initialization messages as well.
Application Note AN-AMC-1-105
13
CANape - First Steps
Figure 15 - Application Settings in Vector Hardware Configuration
Open the Vector Hardware Config (Control Panel
ÆVector Hardware). Select ‘Application’ and press the right mouse button. Select ‘Add application’ from the popup menu, which displays the Application settings dialog.
Enter CCPlog as the Application name. Specify the Number of CAN channels as 1 and press the [OK] button.
Note: The CCPlog application in Vector Hardware only needs to be added once.
Assign CCPlog to the channel to which CANape is assigned. Close the Vector Driver Configuration window.
Start the DOS command prompt. Locate the CANape\Exec folder. By default, CANape is installed in the
C:\Program Files
directory.
Typing ccplog –h at the prompt calls help on how to set the switches on the command line.
Usage:
CCPlog [options]
Options:
-tx Set output verbosity to x
1 - Print commands
2 - Print commands and responses
3 - Print commands, responses and all other can messages
-bx Set bit rate to x (Default is not initialized)
-crox Set CRO id to x (decimal)
-dtox Set DTO id to x (decimal)
-verx Set version number to x (default is 200)
-m Set byte order to Motorola
-e Set the acceptance filter for extended id's
-l Write a Log File with the name CCPLOG.LOG (Binary)
-o Read the Log File and write it to the screen
Application Note AN-AMC-1-105
14
Herunterladen
Werbung