Port BUSACCESS - GENERIC¶
Generic bus access
Stimulation¶
总线信号的激励通过 model access 执行,仅当该访问方式也支持激励时才可行。model access 的限制与说明同样适用于通用总线访问。
Restrictions:
不支持激励输入信号。
由 STI 文件中的 DataFileSegment 引用的 Trace 文件不会由 ecu.test 自动转换。
用户需要自行检查所使用的 Trace 格式是否受该工具支持。
Properties 🛈¶
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
总线标识符 |
string |
Logical name of the bus system |
|||
Model port |
string |
Port ID (e.g. “MDL01”) of the model port via which the model access is to be performed. This property can remain empty if there is exactly one model port. If there is more than one model port, this property must be set. |
|||
Bus-DB |
string |
Bus-database (This bus-database is usually taken from the test configuration. Please note that the bus-database is not automatically transferred to the tool, but must be stored there manually.) |
|||
Bus path |
‘masterappl/Model Root/userinterface_master/disp/io/sg_info’ |
string |
Base path of the model variables for the bus signals and messages. The Rx and Tx path specifications refer to this base path. |
||
ALIVE naming pattern |
‘ALIV*’ |
string |
Pattern for the recognition of ALIVE signals. ? stands for a single character, * for one or more characters. |
||
CRC naming pattern |
‘CRC*’ |
string |
Pattern for the recognition of CRC signals. ? stands for a single character, * for one or more characters. |
||
原始值到物理值的转换行为 |
‘error’ |
[‘error’, ‘identical’, ‘first’, ‘firstOrIdentical’] 显示值:
|
string |
对没有指定转换规则的域中原始值进行转换时的行为。应根据模型如何表示没有物理含义的信号值来设置此选项。默认情况下不允许此类值。 选项 “identical” 直接将原始值视为物理值。 “first conversion function”会对原始值应用第一个已定义的转换函数,即使未针对该值定义该函数。 选项 “first conversion function or identical” 使用第一个转换函数(如果可用),若未定义转换函数则使用原始值。 |
|
Rx path |
‘%(node)s/kommunikation/%(bus)s/%(frame)s/%(signal)s/Out1’ |
string |
Pattern of model path for signal reading |
||
Tx path |
‘%(node)s/kommunikation/%(bus)s/%(frame)s/%(signal)s/const_const/Value’ |
string |
Pattern of model path for signal manipulation |
||
Tx-Switch path |
‘%(node)s/kommunikation/%(bus)s/%(frame)s/%(signal)s/const_switch/Value’ |
string |
Pattern of model path to the switch for signal manipulation |
||
CRC-Tx path |
‘%(node)s/kommunikation/%(bus)s/%(frame)s/%(signal)s_valid/const_const/Value’ |
string |
Pattern of model path for manipulation of a CRC signal |
||
CRC-Tx-switch path |
‘%(node)s/kommunikation/%(bus)s/%(frame)s/%(signal)s_valid/const_switch/Value’ |
string |
Pattern of model path for enabling and disabling manipulation of a CRC signal |
||
ALIVE-Tx path |
‘%(node)s/kommunikation/%(bus)s/%(frame)s/%(signal)s_valid/const_const/Value’ |
string |
Pattern of model path for manipulation of an ALIVE signal |
||
ALIVE-Tx-switch path |
‘%(node)s/kommunikation/%(bus)s/%(frame)s/%(signal)s_valid/const_switch/Value’ |
string |
Pattern of model path for enabling and disabling manipulation of an ALIVE signal |
||
Tx frame enable path |
‘%(node)s/kommunikation/%(bus)s/%(frame)s/enable/const_const/Value’ |
string |
Pattern of model path for enabling and disabling a frame |
||
Ignore missing *-Tx switch path |
☐ |
bool |
If the *-Tx switch path is missing in the model, do not generate an error and restore the value of the *-Tx path to reset. |
||
Restore behaviour |
‘DEFAULT’ |
[‘DEFAULT’, ‘SWITCH_MODEL’] |
string |
If this property is set to DEFAULT, upon restoring a bus signal, both switch and const value are reset to their initial values. The setting SWITCH_MODEL however causes the switch to always be reset to “use the calculated value”. The const value is not changed. |