Port BUSACCESS - LIN ๐Ÿ›ˆยถ

VECTOR-SIL-KIT access to LIN

Stimulationยถ

This port has no stimulus capabilities.

Name

Available if

Default value

Valid values

Type

Description

Network name

string

Name of the network as defined in SIL-Kit Config yaml.

Controller name

string

Name of the controller as defined in SIL-Kit Config yaml.

Baud rate

19200

float

Baudrate. Numbers lesser than 100 are interpreted as kbit/s, numbers larger than 100 as bit/s

Do not stop RBS

โ˜

bool

Restbus simulation stays active beyond test case execution.

LIN version

โ€˜1.3โ€™

[โ€˜1.3โ€™, โ€˜2.0โ€™]

string

LIN protocol version to be used. Only affects calculation and validation of the frame checksum.

1.3 = received frames must have a classic checksum.

2.0 = received frames may have enhanced or classic checksum.

If the database does not define a checksum mode for a specific frame to be sent, this option will be taken into account to use either classic (1.3) or enhanced (2.0) checksum mode.

LIN master

โ˜

bool

Selection whether the port acts as a master (True) or a slave (False).

Bus-DB

string

ClearFrameยถ

Erases the receiving buffer of given frame

Parameterization

Parameter

Name

Available if

Default value

Valid values

Type

Description

FrameId

int

Frame ID

Return value

Name

Available if

Default value

Valid values

Type

Description

result

ByteStream

ByteStream

DeregisterFrameForInboxยถ

Ungeristers a frame that is being streamed to an inbox

Parameterization

Parameter

Name

Available if

Default value

Valid values

Type

Description

FrameId

int

Frame ID

Inbox

object

Existing inbox

EnableFrameยถ

Makes this slave respond (or not respond) to the specified ID. You can use this instead of โ€œChange PDU timingโ€. The frame must have been initialized via โ€œInitFrameโ€.

Parameterization

Parameter

Name

Available if

Default value

Valid values

Type

Description

enable

[False, True]

bool

Enable or disable

frameId

int

Frame ID

GetFirstValueยถ

Parameterization

Parameter

Name

Available if

Default value

Valid values

Type

Description

FrameName

string

Frame name

NodeName

string

Name of the electronic control unit

RawValue

False

[False, True]

bool

If โ€˜Trueโ€™, the Raw value is returned.

Reset

False

[False, True]

bool

If โ€˜Trueโ€™ the first received value will be deleted after it has been read

SignalName

string

Signal name

InitFrameยถ

Registers the frame for use with other jobs

Parameterization

Parameter

Name

Available if

Default value

Valid values

Type

Description

FrameId

int

Frame ID

ReadFrameยถ

Reads the given frame ID (use InitLinFrame before!)

Parameterization

Parameter

Name

Available if

Default value

Valid values

Type

Description

doDelete

False

[False, True]

bool

Deletes the Frame after reading if โ€œTrueโ€

FrameId

int

Frame ID

Return value

Name

Available if

Default value

Valid values

Type

Description

result

ByteStream

ByteStream

ReadFrameExยถ

Reads the given frame ID (use InitLinFrame before!)

Parameterization

Parameter

Name

Available if

Default value

Valid values

Type

Description

doDelete

False

[False, True]

bool

Deletes the Frame after reading if โ€œTrueโ€

FrameId

int

Frame ID

Return value

Name

Available if

Default value

Valid values

Type

Description

result

object

LinFrame

RegisterFrameForInboxยถ

Registers a frame to be streamed to an inbox.

Parameterization

Parameter

Name

Available if

Default value

Valid values

Type

Description

FrameId

int

Frame ID

Inbox

object

Existing inbox

saveAsLinFrame

False

[False, True]

bool

If True, the frame is saved as a LinFrame object, else as a ByteStream

ResetFirstValueยถ

Erases the first received value of the given signal

Parameterization

Parameter

Name

Available if

Default value

Valid values

Type

Description

FrameName

string

Frame name

NodeName

string

Name of the electronic control unit

SignalName

string

Signal name

SendFrameยถ

All in one: Set data, temporarily enable a frame, and send a master request. Frame ID must be registered in advance via the job โ€œInitFrameโ€.

Parameterization

Parameter

Name

Available if

Default value

Valid values

Type

Description

checkSumMode

โ€˜Defaultโ€™

[โ€˜Enhancedโ€™, โ€˜Classicโ€™, โ€˜Defaultโ€™]

string

Mode of the checksum calculation. With default the LIN version from the TBC is used for the determination.

DataByteStream

ByteStream

data to be send

FrameId

int

Frame ID

SendMasterRequestยถ

Transmits the message header with the given frame id as master.

Parameterization

Parameter

Name

Available if

Default value

Valid values

Type

Description

frameId

int

Frame ID

SetFrameยถ

Sets the data to be sent for the entire message at once (instead of for each individual signal). Additionally, the message has to be activated via โ€œChange PDU timingโ€ or the job โ€œEnableFrameโ€.

Parameterization

Parameter

Name

Available if

Default value

Valid values

Type

Description

checkSumMode

โ€˜Defaultโ€™

[โ€˜Enhancedโ€™, โ€˜Classicโ€™, โ€˜Defaultโ€™]

string

Mode of the checksum calculation. With default the LIN version from the TBC is used for the determination.

data

ByteStream

Data as ByteStream

frameId

int

Frame ID