Port MODELACCESS - DEFAULT

Model access

Stimulation

This port has no stimulus capabilities.

Supported execution modes

See also: Specifics of time 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

Available if

Default value

Valid values

Type

Description

Default recording acquisition rate in Hz

100

int

Recording format

‘TDMS’

[‘TDMS’, ‘CSV’]

string

ActivateVariant

Activates a variant

Parameterization

Parameter

Name

Available if

Default value

Valid values

Type

Description

variantName

string

Name of the variant to be activated.

BulkRead

Reads multiple values at once.

Parameterization

Parameter

Name

Available if

Default value

Valid values

Type

Description

VarNames

[‘var1’, ‘var2’]

object

List of variables to be read

Return value

Name

Available if

Default value

Valid values

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

Available if

Default value

Valid values

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

Available if

Default value

Valid values

Type

Description

variantName

string

Name of the variant to be deactivated.

GetVariants

Returns all available variant names.

Parameterization

Return value

Name

Available if

Default value

Valid values

Type

Description

Return

string

List of variant names