Port BUSACCESS - CAPTURE-LIN¶
Capture access to LIN
This port requires a PCAP driver to be installed.
Stimulation¶
This port has no stimulus capabilities.
Properties 🛈¶
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
Network interface card |
[ONLINE] |
string |
Used network interface card |
||
Logger protocol |
PLP/TECMP |
[PLP/TECMP, ASAM CMP] |
string |
Which logger protocol is used. |
|
Do not stop RBS |
☐ |
bool |
Restbus simulation stays active beyond test case execution. |
||
Probe ID / Device ID |
Logger protocol: ‘PLP/TECMP’ |
0 |
int |
Identifier of the probe / device |
|
Bus Spec ID / Interface ID |
Logger protocol: ‘PLP/TECMP’ |
0 |
int |
Identifier of the bus specification / interface |
|
Device-ID and Stream-ID |
Logger protocol: ‘ASAM CMP’ |
‘(0,0)’ |
string |
Tuple consisting of device ID and stream ID, e.g.: (0,0) |
|
Interface-ID |
Logger protocol: ‘ASAM CMP’ |
0 |
int |
Identifier of the interface |
|
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. |
|
Bus-DB |
string |
Jobs 🛈¶
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 |
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 |