Port MODELACCESS

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

Stand number

1

int

Number of the stand whose channels are to be provided.

LoadBattery

Loads the battery parameter file.

Parameterization

Parameter

Name

Available if

Default value

Valid values

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.

Return value

Name

Available if

Default value

Valid values

Type

Description

result

int

LoadStand

Loads the stand parameter file.

Parameterization

Parameter

Name

Available if

Default value

Valid values

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).

Return value

Name

Available if

Default value

Valid values

Type

Description

result

int

LoadTest

Loads the test parameter file.

Parameterization

Parameter

Name

Available if

Default value

Valid values

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).

Return value

Name

Available if

Default value

Valid values

Type

Description

result

int

ReadChannel

Reads the value of a channel.

Parameterization

Parameter

Name

Available if

Default value

Valid values

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.

Return value

Name

Available if

Default value

Valid values

Type

Description

result

int

StartTest

Runs the Start Test sequence.

Parameterization

Parameter

Name

Available if

Default value

Valid values

Type

Description

testRunNumber

int

The testRunNumber to be used for the sequence.

Return value

Name

Available if

Default value

Valid values

Type

Description

result

int

UnloadBattery

Unloads the battery parameter file.

Parameterization

Parameter

Name

Available if

Default value

Valid values

Type

Description

timeout

int

The timeout in seconds (optional, if left out, the timeout defined in the TBC will take effect).

Return value

Name

Available if

Default value

Valid values

Type

Description

result

int

UnloadStand

Unloads the stand parameter file.

Parameterization

Parameter

Name

Available if

Default value

Valid values

Type

Description

timeout

int

The timeout in seconds (optional, if left out, the timeout defined in the TBC will take effect).

Return value

Name

Available if

Default value

Valid values

Type

Description

result

int

UnloadTest

Unloads the test parameter file.

Parameterization

Parameter

Name

Available if

Default value

Valid values

Type

Description

timeout

int

The timeout in seconds (optional, if left out, the timeout defined in the TBC will take effect).

Return value

Name

Available if

Default value

Valid values

Type

Description

result

int

WriteChannel

Writes the value of a channel.

Parameterization

Parameter

Name

Available if

Default value

Valid values

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.

Return value

Name

Available if

Default value

Valid values

Type

Description

result

int