Port MODELACCESS - DEFAULT

Model access

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

Name

在以下情况下可用

默认值

有效值

Type

Description

Default recording acquisition rate in Hz

100

int

Recording format

‘TDMS’

[‘TDMS’, ‘CSV’]

string

ActivateVariant

Activates a variant

Parameterization

Parameter

Name

在以下情况下可用

默认值

有效值

Type

Description

variantName

string

Name of the variant to be activated.

BulkRead

Reads multiple values at once.

Parameterization

Parameter

Name

在以下情况下可用

默认值

有效值

Type

Description

VarNames

[‘var1’, ‘var2’]

object

List of variables to be read

返回值

Name

在以下情况下可用

默认值

有效值

Type

Description

Return

string

List of return values. Example: [{“path”: “var1”: “value”: “value1”}, {“path”: “var2”: “value”: 42}}]

BulkWrite

Writes multiple values at once.

Parameterization

Parameter

Name

在以下情况下可用

默认值

有效值

Type

Description

VarValues

[{‘path’: ‘var1’, ‘value’: ‘value1’}, {‘path’: ‘var2’, ‘value’: ‘value2’}]

object

List of values to be written. Example: [{“path”: “var1”: “value”: “value1”}, {“path”: “var2”: “value”: 42}}]

DeactivateVariant

Deactivates a variant

Parameterization

Parameter

Name

在以下情况下可用

默认值

有效值

Type

Description

variantName

string

Name of the variant to be deactivated.

GetVariants

Returns all available variant names.

Parameterization

返回值

Name

在以下情况下可用

默认值

有效值

Type

Description

Return

string

List of variant names