Port MODELACCESS¶
Stimulation¶
Restrictions:
不支持激励输入信号。
由 STI 文件中的 DataFileSegment 引用的 Trace 文件不会由 ecu.test 自动转换。
Supported execution modes¶
另请参见:时间模式的特殊说明
Preferred time source/mode: Real-time
- Real-time:
To use real-time mode, the Test configuration in the Execution tab must be configured as the source ‘real time’.
Info
The following modes are not supported: Stepwise simulation time, Continuous simulation time
Properties 🛈¶
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
Channel entrance level |
Controller |
uri |
Path of entry level for query the VeriStand channels |
Jobs 🛈¶
DeployProject¶
Deploys the system definition file associated with an NI VeriStand project to the target.
GetSystemState¶
Returns the current system state.
Parameterization
返回值
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
result |
string |
Current system state |
ReadVariable¶
Reads a scalar from a model variable
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
VariablePath |
uri |
Path to a model variable |
返回值
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
result |
int |
Value of a model variable |
UndeployProject¶
Undeploys the system definition file associated with an NI VeriStand project from the target. Undeploying the system definition file stops execution on the target.
WriteVariable¶
Writes a scalar into a model variable
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
Value |
string |
Value to write into a model variable |
|||
VariablePath |
uri |
Path to a model variable |