Port MODELACCESS¶
Stimulation¶
此端口不具备激励能力。
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 |
|---|---|---|---|---|---|
Stand number |
1 |
int |
Number of the stand whose channels are to be provided. |
Jobs 🛈¶
LoadBattery¶
Loads the battery parameter file.
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
filename |
string |
File name of the parameter file. |
|||
fromHost |
☐ |
bool |
True if parameter file is hosted, otherwise False. |
||
readOnly |
☐ |
bool |
True if the parameter file is read-only, otherwise False. |
||
resultProject |
string |
The result project. If left out, the default project will be taken. |
|||
timeout |
int |
The timeout in seconds (optional, if left out, the timeout defined in the TBC will take effect). |
|||
uutId |
string |
UUT ID for the referenced battery. |
返回值
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
result |
int |
LoadStand¶
Loads the stand parameter file.
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
filename |
string |
File name of the parameter file. |
|||
fromHost |
☐ |
bool |
True if parameter file is hosted, otherwise False. |
||
readOnly |
☐ |
bool |
True if the parameter file is read-only, otherwise False. |
||
timeout |
int |
The timeout in seconds (optional, if left out, the timeout defined in the TBC will take effect). |
返回值
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
result |
int |
LoadTest¶
Loads the test parameter file.
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
filename |
string |
File name of the parameter file. |
|||
fromHost |
☐ |
bool |
True if parameter file is hosted, otherwise False. |
||
readOnly |
☐ |
bool |
True if the parameter file is read-only, otherwise False. |
||
timeout |
int |
The timeout in seconds (optional, if left out, the timeout defined in the TBC will take effect). |
返回值
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
result |
int |
ReadChannel¶
Reads the value of a channel.
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
channelName |
string |
Channel name for which data access is requested. |
|||
dataType |
int |
The data type used for reading the channel (0=long, 1=float, 2=double, 3=string). If this parameter is None, the default data type of the channel is used. |
返回值
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
result |
int |
StartTest¶
Runs the Start Test sequence.
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
testRunNumber |
int |
The testRunNumber to be used for the sequence. |
返回值
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
result |
int |
UnloadBattery¶
Unloads the battery parameter file.
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
timeout |
int |
The timeout in seconds (optional, if left out, the timeout defined in the TBC will take effect). |
返回值
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
result |
int |
UnloadStand¶
Unloads the stand parameter file.
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
timeout |
int |
The timeout in seconds (optional, if left out, the timeout defined in the TBC will take effect). |
返回值
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
result |
int |
UnloadTest¶
Unloads the test parameter file.
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
timeout |
int |
The timeout in seconds (optional, if left out, the timeout defined in the TBC will take effect). |
返回值
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
result |
int |
WriteChannel¶
Writes the value of a channel.
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
channelName |
string |
Channel name for which data access is requested. |
|||
dataType |
int |
The data type used for writing the channel (0=long, 1=float, 2=double, 3=string). If this parameter is None, the default data type of the channel is used. |
|||
value |
object |
The value to be written. |
返回值
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
result |
int |