⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 canape.ini

📁 ccp
💻 INI
字号:
;-------------------------------------------------------------------------------
; CANAPE.INI
;
; CANape 3.0 CCPSIM example
;
; This is a sample project configuration for CANape. This file must be located 
; in the working directory. Most settings are created by CANape and don't need 
; to be changed.
;
; To create a new CANape project, use the 'Create new Project' Icon.
; 
;-------------------------------------------------------------------------------

; Configurations
;----------------
[CONFIG]
LAST=ccpsim1.cna
LAST1=ccpsim1.cna
LAST2=ccpsim2.cna
LAST3=ccpsim3.cna
LAST4=ccpsim4.cna
LAST5=ccpsim5.cna


; ADDONs
;--------
[ADDON]

ADDON1_TEXT=Script DEMO.SCR
ADDON1_EXE=DEMO.SCR


; MACRO Labels
;--------------
[MACRO_LABELS]
;Here you can define your personal macro labels. You can use them 
;inside the print dialog and inside the measurement comment dialog 
;(MDF comment dialog). The MDF comment file interpreter will replace 
;the labels with the defined text. 
;The first 10 labels are displaied in the popup menu. 
;The maximum count of labels is not limited.  

;Example
;COMPANY=Vector Informatik GmbH


; CAN bittiming for all channels
;---------------------------------
; Format is C200/527 style, same as in CANalyzer
[CAN1]
BTR0=0x01
BTR1=0x23
[CAN2]
BTR0=0x01
BTR1=0x23
[CAN3]
BTR0=0x01
BTR1=0x23
[CAN4]
BTR0=0x01
BTR1=0x23


; General Settings
;------------------
[CANAPE]

; Last Directory management
;   The following keys regulate the initial directory, if the file open/save
;   dialogs are opened:
;   SAVE_LAST_xxx_DIRECTORY = 0
;       The initial directory is always the current working directory or the
;       directory specified under the key xxx_DIR, if this key exist and isn't empty
;   SAVE_LAST_xxx_DIRECTORY = 1
;       The first time after each programm start the initial directory is the
;       current working directory or the directory specified under the key
;       xxx_DIR. After that the last selected directory is the initial
;       directory. The last directory isn't saved at the end of the programm.
;   SAVE_LAST_xxx_DIRECTORY = 2
;       Same as 1, but the the last directory is saved to the key xxx_DIR at
;       the end of the programm.
;   xxx_DIR = <directory path>
;       This is the initial directory after each programm start.
SAVE_LAST_MDF_DIRECTORY=1
MEASUREMENT_DIR=
SAVE_LAST_CFG_DIRECTORY=1
CONFIGURATION_DIR=
SAVE_LAST_SCR_DIRECTORY=1
SCRIPT_DIR=

; CANAPE time base in millionth parts of a second
; alowed values are 1, 10, 100 (default) or 1000 (1 ms)
; The maximum measure time depends on this setting:
; 
;  TIME_BASE | maximum measure time
; ----------------------------------------------------------
;    1000    | 49,7 Days (Windows timer overflow)
;     100    |  4,9 Days (119 hours, default and fix in CANape 2.0)
;      10    | 11,9 Hours (Timebase of CANalyzer/CANoe)
;       1    | 71,5 Minutes
;
; TIME_BASE=100

; Enable logging calibration commands to CANAPE.LOG
LOG=0

; Force INCA compatibel ASAP2 Export
; INCA/VS100 can't handle all of the ASAP2 features
INCA=0

; Force CANape to enable measurement for all CHARACTERISTIC-objects
; imported from ASAP2-files.
; 0=Only the calibrate-flags are enabled for CHARACTERISTIC-objects
; 1=The calibrate-flag and the measure-flag are enabled for CHARACTERISTIC-objects
ASAP2_CHARACTERISTIC=0

; Enable DOS-like keyboard selection in signal listboxes = 1
DOS_LISTBOX_MODE=0

; Enable global measurement file name saved in INI file = 1
; With 0 the measurement file name is saved individual in each konfiguration file
GLOBAL_MEASUREMENT_FILE=0
; If option 'global measurement file name' is enabled, this is the file name
MEASUREMENT_FILE=CANapeData001.MDF
; File format version of created MDF measurement files
;   200 = CN_BLOCK with signal names limited to 32 characters. 
;         Longer names are coded into the comment block
;   210 = CN_BLOCK with extra TX_BLOCK for signal names > 32 characters. 
;         INCA V3.0 compatible, but CANape V2.x/3.0 and CANgraph V1.x/2.0 
;         (and other older programms) can NOT read this files!
MDF_FORMAT=200

; Enable measurement thread event notification
; Set notification level to
WIN32_EVENT=32

; Don't stop measurement on CAN driver buffer overruns
; A message will be displayed when the first overrun occurs
IGNORE_OVERFLOW=1

; Redraw mode of signals in graphic windows
; 0 = Syncron redraw. No redraw thread is started. Redraw of measurement signals
;     with a lot of values will block the user interface
; 1 = Asyncrone redraw. Each graphic window use a thread for signal redraw,
;     user commands are accept during redraw.
; 2 = Optimized asyncrone redraw. 
ASYNCRON_REDRAW=2

; Internal
LAST_MEASUREMENT_FILE=CANape.MDF
FLUSH_MODE=0
USE_MMTIMER=0


[MEASUREMENT_DEFAULT_OPTIONS]
; Default measurement options
MaxTime=0
BufferSize=30000
TimeAxis=20000
TimeLimited=0
BufferSizeMem=5120
SaveMeasureData=1
TimeMode=0
YMode=1
PollingAlways=1
DrawLastValue=1
AutoIncName=0
ConverterId=
UpdateCycleBar=100
UpdateCycleVal=500
UpdateCycleGraph=1000
UpdateCycleArr=1000
UpdateCycleWrt=100
UpdateCycleTxt=1000
TimeScrollSoft=0
TimeScrollAt=100
TimeScrollBy=100
FitTimeAxis=1
FitYAxis=0


[WRITEWINDOW]
;Default BufferSize is 10kByte. This is enough for about 150 lines.
;The exact number depends from the length of the lines. 
;
;Possible values are 1k - 65k Byte.
; 
;BUFFERSIZE=10240


[DEFAULT_DISPLAY]
; General settings for new displays
; First this section is readed, then the display type spezific
; section is readed. If a entry doesn't exist, in the display
; spezific section, the following settings are used:
;
; Use color of existing displays of the same object as default
SAME_DEFAULT_COLOR=1
; Value format: 0=Hex, 1=Dec, 2=unused, 3=Phys, 4=Bin, 5=Ascii
FORMAT=3
; Line between two points: 1=horizontal, 2=lined, 3=stairs
LINE_TYPE=2
; Show Y-Axis of this signal in graphic windows
SHOW_Y_AXIS=1
; X-Offset (time offset) in ms
X_OFFSET=0
; Column width in characters for tabular text windows
WIDTH=10

[DEFAULT_GRAPH_DISPLAY]
; special settings for new graphic displays

[DEFAULT_TEXT_DISPLAY]
; special settings for new text displays

[DEFAULT_BAR_DISPLAY]
; special settings for new bar displays

[DEFAULT_VAL_DISPLAY]
; special settings for new val displays



[MODULES]

; Module List
;------------

COUNT=2
1=32770, "CAN"
2=32769, "CCPsim"


[Module_CCPsim]
CRO_ID=0x0667
DTO_ID=0x07E1
MOTOROLA=0
APP_CAN=0
CANDB=0
SLAVE_ADDR=0x0039
IGNORE_ID=0
IGNORE_OVERFLOW=0
CHECK_OVERFLOW=1
CCP_VERSION=201
C30_FLOAT=0
TIMEOUT=2000
SEED_KEY=1
INIT_TIMEOUT=2000
INIT_RETRIES=0
FLAGS=1
COMMENT=CCPsim ECU Simulation
PARAMETER_DIR=
DATABASE_DIR=
MAPFILE_DIR=
DRIVER=8
DETECT_DATABASE=1
DATABASE_NAME=CCPSIM.a2l
CONTROLLER_COUNT=1
EVENT_COUNT=3
EVENT_CHANNEL_0=0x0A
EVENT_NAME_0=10ms
EVENT_CYCLE_0=10
EVENT_CHANNEL_1=0x0B
EVENT_NAME_1=100ms
EVENT_CYCLE_1=100
EVENT_CHANNEL_2=0x01
EVENT_NAME_2=Key_t
EVENT_CYCLE_2=0
EVENT_CHANNEL_3=0xFF
EVENT_NAME_3=Key_2
EVENT_CYCLE_3=0
EVENT_CHANNEL_4=0xFF
EVENT_NAME_4=Key_e
EVENT_CYCLE_4=0
CALRAM_SECTOR_COUNT=1
CALRAM_SECTOR_ADDR_1=0x40EBC
CALRAM_SECTOR_SIZE_1=0x06CD
CALRAM_SECTOR_ADDR_2=0x0000
CALRAM_SECTOR_SIZE_2=0x0000
CALRAM_SECTOR_ADDR_3=0x0000
CALRAM_SECTOR_SIZE_3=0x0000
CALRAM_CACHE=1
CALRAM_WRITE_OPT=1
CALRAM_OFFLINE=1
CALRAM_FLASH_OFFSET=0x0000
CHECKSUM_TYPE=2
CHECKSUM_TIMEOUT=10000
FLASH_SECTOR_COUNT=1
FLASH_SECTOR_ADDR_1=0x40EBC
FLASH_SECTOR_SIZE_1=0x06CD
FLASH_SECTOR_CONCAT_1=0
FLASH_SECTOR_ADDR_2=0x0000
FLASH_SECTOR_SIZE_2=0x0000
FLASH_SECTOR_CONCAT_2=0
FLASH_SECTOR_ADDR_3=0x0000
FLASH_SECTOR_SIZE_3=0x0000
FLASH_SECTOR_CONCAT_3=0
FLASH_SECTOR_ADDR_4=0x0000
FLASH_SECTOR_SIZE_4=0x0000
FLASH_SECTOR_CONCAT_4=0
FLASH_SKIP_FF=1
FLASH_RECONNECT=1
FLASH_RECONNECT_DELAY=2000
FLASH_SIGN_ADDR=0x40EBE
FLASH_SIGN_SIZE=32
FLASH_KERNEL_FILE_NAME=
INIT_CAL_PAGE=0
SELECT_CAL_PAGE=1
RAM_PAGE_ID=0x0
ROM_PAGE_ID=0x1
INCA=0
WIN32_EVENT=1
DB=CCPSIM
USE_ASAP2_DATABASE=1
CONFIG_TOOL=
CONFIG_OPTIONS=
MAP_FORMAT=12
MAP_COUNT=1
MAP_EXT=.MAP
MAP_TEMPLATE1=
MAP_TEMPLATE2=
ECU_TIMESTAMP=0
ECU_CYCLE_TIME=10
SET_SESSION_STATUS=0
DAQ_COUNT=0
HOST=
PORT=5555
POLLING_DISABLED=0
IFDATA_QUERY=1
FLASH_CLEAR_TIMEOUT=10000
LOAD_LAST_DATABASE=1
PROTECT_DATABASE=0
MAP_READ_IF_NEWER=0
PROTOCOL_TYPE=0
SOCKET_TYPE=0
CHANNEL=1
DTO_BYTE_MODE=1
DTO_SINGLE_EXT=1
APP_CAN_OPEN=0
IGNORE_DTO_EM=0
SEED_KEY_NAME=seedkey1.DLL
BUSY_RETRY=1
BUSY_TIMEOUT=15000
DEC_ADDR_EXT=0


[Module_CAN]
CHANNEL=1
RX_QUEUE_SIZE=1024
COUNT_ERRORFRAMES=1
BUS_STATISTIC=1
IGNORE_OVERFLOW=0
FLAGS=1
COMMENT=CAN Logging on Channel 1
PARAMETER_DIR=
DATABASE_DIR=
MAPFILE_DIR=
DRIVER=9
DETECT_DATABASE=0
DATABASE_NAME=SIM_VIN.dbc
USE_ASAP2_DATABASE=0
MAP_FORMAT=0
MAP_COUNT=0
MAP_EXT=.Ext
MAP_TEMPLATE1=Tmp0
MAP_TEMPLATE2=Tmp1
CONFIG_TOOL=
CONFIG_OPTIONS=
LOAD_LAST_DATABASE=1
PROTECT_DATABASE=0
MAP_READ_IF_NEWER=0

[WINDOW]
X=0
Y=0
H=600
W=800
STATE=2
CHILD_TOOL_LOC=1
MAIN_TOOL_LOC=1

[DB_EXPLORER]
EDITOR_X=4
EDITOR_Y=24
EDITOR_W=792
EDITOR_H=572
EDITOR_TV_W=200
SELECT_X=100
SELECT_Y=50
SELECT_W=824
SELECT_H=510
SELECT_TV_W=150
SELECT_COLW_NAME=150
SELECT_COLW_ADDRESS=0
SELECT_COLW_DATATYP=0
SELECT_COLW_COMMENT=250
EDITOR_COLW_NAME=158
EDITOR_COLW_ADDRESS=90
EDITOR_COLW_DATATYP=70
EDITOR_COLW_COMMENT=250
SEARCH_CASE_SENSITIVE=0
SEARCH_SEPARATE=0
SEARCH_START=1
SEARCH_COLW_NAME=120
SEARCH_COLW_GROUP=70
SEARCH_COLW_ADDRESS=70
SEARCH_COLW_DATATYP=70
SEARCH_COLW_COMMENT=250
SEARCH_X=8
SEARCH_Y=48
SEARCH_W=784
SEARCH_H=543
EDITOR_SHOW_TOOLTIPS=1
EDITOR_SHOW_DISPLAY_NAMES=0
SELECT_SHOW_TOOLTIPS=1
SELECT_SHOW_DISPLAY_NAMES=0
SELECT_EXPAND_TREEVIEW_ITEM=1000
EDITOR_EXPAND_TREEVIEW_ITEM=1000

[ASAP2_EXPORT]
CREATE_IF_DATA_CCP=1
CREATE_IF_DATA_KWP2000=0
CREATE_IF_DATA_ETK=0
FORMAT=2
GROUPS_AS_FUNCTIONS=0

[CONVERTER]
LAST=.mdf

[FUNCTIONS]
COUNT=8

[FUNCTION_1]
NAME=Add
COMMENT=Calculate A+B 
COUNT=1
1=A+B

[FUNCTION_2]
NAME=Sub
COMMENT=Calculate A-B 
COUNT=1
1=A-B

[FUNCTION_3]
NAME=CycleTime
COMMENT=Calculate cycle time
COUNT=3
1=time(A)
2=-
3=time( A[-1] )

[FUNCTION_4]
NAME=Triangle
COMMENT=Triangle Signal Generator 
COUNT=15
1=double vmin =  0;
2=double vmax = 50;
3=double inc = 1;
4=double v = 0;
5=double d = 1;
6=v = v+d;
7=if (v<vmin) {
8=  d = +inc;
9=  v = vmin+d;
10=}
11=if (v>vmax) {
12=  d = -inc;
13=  v = vmax+d;
14=}
16=return v;
15=return v;

[FUNCTION_5]
NAME=Demo
COMMENT=Demo Function
COUNT=8
1=double a ;
2=printf("t=%g\n",Time());
3=a = 0;
4=while (a<10) {
5=  printf("a=%g",a);
6=  a = a+1;
7=}
8=return a;

[FUNCTION_6]
NAME=Inc
COMMENT=Increment a calibration value
COUNT=2
1=A = A+1;
2=return 0;

[FUNCTION_7]
NAME=ChangeLog
COMMENT=Print a comment on changes
COUNT=5
1=if ( A[-1]!=A) {
2=  printf("Variable state changed to %g",A);
3=  return 1;
4=}
5=return 0;

[FUNCTION_8]
NAME=SignalRate
COMMENT=Calculates the number of events per second
COUNT=24
1=// Static variables 
2=var lastTime = 0;
3=var count = 0;
4=var t0;
5=
6=// Count the number of event
7=count = count+1;
8=
9=// Calculate new rate every second
10=t0 = GetClock();
11=if ( t0 > lastTime+1000 ) {
12=
13=  var c;
14=
15=  c = count;
16=  count = 0;
17=  lastTime = t0; 
18=
19=  // Return the new rate
20=  return c;
21=}
22=
23=// No new rate value available yet
24=cancel;

[Last_ASAP2_IFDATA]
HOST=
PORT=5555
APP_CAN=0
CRO_ID=0x0667
DTO_ID=0x07E1
MOTOROLA=0
SLAVE_ADDR=0x0039
CHECK_OVERFLOW=1
CCP_VERSION=201
C30_FLOAT=0
TIMEOUT=2000
SEED_KEY=1
SET_SESSION_STATUS=0
CHECKSUM_TYPE=2
CHECKSUM_TIMEOUT=10000
SELECT_CAL_PAGE=1
INIT_CAL_PAGE=0
RAM_PAGE_ID=0x0
ROM_PAGE_ID=0x1
INCA=0
INIT_TIMEOUT=2000
INIT_RETRIES=0
ECU_CYCLE_TIME=10
ECU_TIMESTAMP=0
POLLING_DISABLED=0
IFDATA_QUERY=1
CANDB=0
EVENT_COUNT=3
EVENT_NAME_0=10ms
EVENT_CHANNEL_0=0x0A
EVENT_CYCLE_0=10
EVENT_NAME_1=100ms
EVENT_CHANNEL_1=0x0B
EVENT_CYCLE_1=100
EVENT_NAME_2=Key_e
EVENT_CHANNEL_2=0xFF
EVENT_CYCLE_2=0
CALRAM_SECTOR_COUNT=1
CALRAM_SECTOR_ADDR_1=0x40EBC
CALRAM_SECTOR_SIZE_1=0x06CD
CALRAM_CACHE=1
CALRAM_WRITE_OPT=1
CALRAM_OFFLINE=1
FLASH_SECTOR_COUNT=1
FLASH_SECTOR_ADDR_1=0x40EBC
FLASH_SECTOR_SIZE_1=0x06CD
FLASH_SECTOR_CONCAT_1=0
FLASH_RECONNECT=1
FLASH_SKIP_FF=1
FLASH_CLEAR_TIMEOUT=10000
FLASH_SIGN_ADDR=0x40EBE
FLASH_SIGN_SIZE=32
CALRAM_FLASH_OFFSET=0x0000
FLASH_KERNEL_FILE_NAME=
DAQ_COUNT=0
PROTOCOL_TYPE=0
SOCKET_TYPE=0
CHANNEL=1
DTO_BYTE_MODE=1
DTO_SINGLE_EXT=1
APP_CAN_OPEN=0
IGNORE_DTO_EM=0
BUSY_RETRY=1
BUSY_TIMEOUT=15000
SEED_KEY_NAME=seedkey1.DLL
DEC_ADDR_EXT=0

[PARTIAL_LOAD_EXPLORER]
SELECT_X=38
SELECT_Y=38
SELECT_W=768
SELECT_H=560
TREE_VIEW_WIDTH=200
HEADER_COL0=200
HEADER_COL1=200

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -