DiagnosticEntity

class DiagnosticEntity
Clone()

Call this method if you want to use API-objects in multiple contexts, e.g. if you want to insert a specific test step in multiple blocks.

Returns:

A copy of this object

Return type:

DiagnosticEntity

GetCanIsoTpAddressByte()

Returns the CAN ISO-TP address byte.

Returns:

CAN ISO-TP address byte.

Return type:

int

GetCanIsoTpBlockSize()

Returns the CAN ISO-TP block size.

Returns:

CAN ISO-TP block size

Return type:

int

GetCanIsoTpFillByte()

Returns the CAN ISO-TP fill byte.

Returns:

CAN ISO-TP fill byte

Return type:

int

GetCanIsoTpFlowControlAddress()

Returns the CAN ISO-TP flow control address.

Returns:

CAN ISO-TP flow control address.

Return type:

int

GetCanIsoTpFlowControlId()

Returns the CAN ISO-TP flow control id.

Returns:

CAN ISO-TP flow control id

Return type:

int

GetCanIsoTpIsExtendedFrameFormat()

Returns the CAN ISO-TP extended frame format flag.

Returns:

CAN ISO-TP extended frame format flag

Return type:

int

GetCanIsoTpRequestId()

Returns the CAN ISO-TP request id.

Returns:

CAN ISO-TP request id

Return type:

int

GetCanIsoTpResponseId()

Returns the CAN ISO-TP response id.

Returns:

CAN ISO-TP response id

Return type:

int

GetCanIsoTpSeparationTime()

Returns the CAN ISO-TP separation time.

Returns:

CAN ISO-TP separation time

Return type:

int

GetCanIsoTpTimeout()

Returns the CAN ISO-TP timeout.

Returns:

CAN ISO-TP timeout in milliseconds

Return type:

int

GetDiagDbAssociate()

Returns the diagnostic database associate.

Returns:

Diagnostic database associate

Return type:

str

GetDiagProtocol()

Returns the diagnostic protocol of this entity.

Returns:

Name of the diagnostic protocol

Return type:

str

GetDiagnosticDb()

Returns the diagnostic database path.

Returns:

Diagnostic database path

Return type:

str

GetDiagnosticDbVariant()

Returns the diagnostic database variant.

Returns:

Diagnostic database variant

Return type:

str

GetDiagnosticObdOnUds()

Returns whether OBD on UDS is enabled.

Returns:

True if OBD on UDS is enabled, otherwise False

Return type:

bool

GetDiagnosticPort()

Returns the diagnostic port.

Returns:

Diagnostic port

Return type:

str

GetDoIpActivateRouting()

Returns whether DoIP routing activation is enabled.

Returns:

True if DoIP routing activation is enabled, otherwise False

Return type:

bool

GetDoIpActivationType()

Returns the DoIP activation type.

Returns:

DoIP activation type

Return type:

int

GetDoIpEid()

Returns the DoIP EID.

Returns:

DoIP EID

Return type:

int

GetDoIpSourceAddress()

Returns the DoIP source address.

Returns:

DoIP source address

Return type:

int

GetDoIpTargetAddress()

Returns the DoIP target address.

Returns:

DoIP target address

Return type:

int

GetDoIpTimeout()

Returns the DoIP timeout.

Returns:

DoIP timeout in milliseconds

Return type:

int

GetDoIpVersion()

Returns the DoIP version.

Returns:

DoIP version

Return type:

int

GetDoSoAdSourceAddress()

Returns the DoSoAd source address.

Returns:

DoSoAd source address.

Return type:

int

GetDoSoAdTargetAddress()

Returns the DoSoAd target address.

Returns:

DoSoAd target address.

Return type:

int

GetDoSoAdTimeout()

Returns the DoSoAd timeout.

Returns:

DoSoAd timeout in milliseconds

Return type:

int

GetEthRemotePort()

Returns the Ethernet remote port.

Returns:

Ethernet remote port

Return type:

int

GetEthTargetIpAddr()

Returns the Ethernet target IP address.

Returns:

Ethernet target IP address

Return type:

str

GetFrTpAcknowledged()

Returns whether the FlexRay transport protocol is acknowledged. 0 … not acknowledged 1 … acknowledged

Returns:

FlexRay transport protocol acknowledged flag

Return type:

int

GetFrTpBufferSize()

Returns the FlexRay transport protocol buffer size.

Returns:

FlexRay transport protocol buffer size

Return type:

int

GetFrTpFillByte()

Returns the FlexRay transport protocol fill byte.

Returns:

FlexRay transport protocol fill byte

Return type:

int

GetFrTpFlowControlAddress()

Returns the FlexRay transport protocol flow control address.

Returns:

FlexRay transport protocol flow control address

Return type:

int

GetFrTpMNPC()

Returns the FlexRay transport protocol MNPC value.

Returns:

FlexRay transport protocol MNPC value

Return type:

int

GetFrTpSCexp()

Returns the FlexRay transport protocol SCexp value.

Returns:

FlexRay transport protocol SCexp value

Return type:

int

GetFrTpSourceAddress()

Returns the FlexRay transport protocol source address.

Returns:

FlexRay transport protocol source address

Return type:

int

GetFrTpTargetAddress()

Returns the FlexRay transport protocol target address.

Returns:

FlexRay transport protocol target address

Return type:

int

GetFrTpTimeout()

Returns the FlexRay transport protocol timeout.

Returns:

FlexRay transport protocol timeout in milliseconds

Return type:

int

GetHSFZSourceAddress()

Returns the HSFZ source address.

Returns:

HSFZ source address

Return type:

int

GetHSFZTargetAddress()

Returns the HSFZ target address.

Returns:

HSFZ target address

Return type:

int

GetHSFZTimeout()

Returns the HSFZ timeout.

Returns:

HSFZ timeout in milliseconds

Return type:

int

GetUdsAutostart()

Returns whether UDS is started automatically.

Returns:

True if UDS is started automatically, otherwise False

Return type:

bool

GetUdsSessionControl()

Returns the UDS subfunction of the UDS session control service.

Returns:

Session control subfunction

Return type:

int

GetUdsTesterPresentCycleTime()

Returns the UDS tester present cycle time.

Returns:

UDS tester present cycle time in milliseconds

Return type:

int

GetUdsTesterPresentSubfunction()

Returns the subfunction of UDS tester present service.

Returns:

Tester present subfunction

Return type:

int

SetCanIsoTpAddressByte(value)

Sets the CAN ISO-TP address byte.

Parameters:
value : int

CAN ISO-TP address byte. Must not exceed one byte.

SetCanIsoTpBlockSize(value)

Sets the CAN ISO-TP block size.

Parameters:
value : int

CAN ISO-TP block size

SetCanIsoTpFillByte(value)

Sets the CAN ISO-TP fill byte.

Parameters:
value : int

CAN ISO-TP fill byte. Must not exceed one byte.

SetCanIsoTpFlowControlAddress(value)

Sets the CAN ISO-TP flow control address.

Parameters:
value : int

CAN ISO-TP flow control. Must not exceed one byte

SetCanIsoTpFlowControlId(value)

Sets the CAN ISO-TP flow control id.

Parameters:
value : int

CAN ISO-TP flow control id

SetCanIsoTpIsExtendedFrameFormat(value)

Sets the CAN ISO-TP extended frame format flag.

Parameters:
value : int

CAN ISO-TP extended frame format flag

SetCanIsoTpRequestId(value)

Sets the CAN ISO-TP request id.

Parameters:
value : int

CAN ISO-TP request id

SetCanIsoTpResponseId(value)

Sets the CAN ISO-TP response id.

Parameters:
value : int

CAN ISO-TP response id

SetCanIsoTpSeparationTime(value)

Sets the CAN ISO-TP separation time.

Parameters:
value : int

CAN ISO-TP separation time

SetCanIsoTpTimeout(value)

Sets the CAN ISO-TP timeout.

Parameters:
value : int

CAN ISO-TP timeout in milliseconds

SetDiagDbAssociate(value)

Sets the diagnostic database associate.

Parameters:
value : str

Diagnostic database associate

SetDiagProtocolDoIpOverEthernet()

Sets the diagnostic protocol to DoIP over Ethernet. This only affects the view if the TCF is opened in ecu.test. The protocol to be used at runtime is determined via the assigned port.

SetDiagProtocolDoSoAdOverEthernet()

Sets the diagnostic protocol to DoSoAd over Ethernet. This only affects the view if the TCF is opened in ecu.test. The protocol to be used at runtime is determined via the assigned port.

SetDiagProtocolFrTpOverFlexRay()

Sets the diagnostic protocol to FrTp over FlexRay. This only affects the view if the TCF is opened in ecu.test. The protocol to be used at runtime is determined via the assigned port.

SetDiagProtocolHsfzOverEthernet()

Sets the diagnostic protocol to HSFZ over Ethernet. This only affects the view if the TCF is opened in ecu.test. The protocol to be used at runtime is determined via the assigned port.

SetDiagProtocolIsoTpOverCan()

Sets the diagnostic protocol to ISO-TP over CAN. This only affects the view if the TCF is opened in ecu.test. The protocol to be used at runtime is determined via the assigned port.

SetDiagnosticDb(value)

Sets the diagnostic database path.

Parameters:
value : str

Diagnostic database path

SetDiagnosticDbVariant(value)

Sets the diagnostic database variant.

Parameters:
value : str

Diagnostic database variant

SetDiagnosticObdOnUds(value)

Sets whether OBD on UDS is enabled.

Parameters:
value : bool

True if OBD on UDS shall be enabled, otherwise False

SetDiagnosticPort(value)

Sets the diagnostic port.

Parameters:
value : str

Diagnostic port

SetDoIpActivateRouting(value)

Sets whether DoIP routing activation is enabled.

Parameters:
value : bool

True if DoIP routing activation shall be enabled, otherwise False

SetDoIpActivationType(value)

Sets the DoIP activation type.

Parameters:
value : int

DoIP activation type. Value must not exceed one byte.

SetDoIpEid(value)

Sets the DoIP EID.

Parameters:
value : int

DoIP EID. Value must not exceed 6 bytes.

SetDoIpSourceAddress(value)

Sets the DoIP source address.

Parameters:
value : int

DoIP source address. Value must not exceed 2 bytes.

SetDoIpTargetAddress(value)

Sets the DoIP target address.

Parameters:
value : int

DoIP target address. Value must not exceed 2 bytes.

SetDoIpTimeout(value)

Sets the DoIP timeout.

Parameters:
value : int

DoIP timeout in milliseconds

SetDoIpVersion(value)

Sets the DoIP version.

Parameters:
value : int

DoIP version

SetDoSoAdSourceAddress(value)

Sets the DoSoAd source address.

Parameters:
value : int

DoSoAd source address. Value must not exceed 2 bytes.

SetDoSoAdTargetAddress(value)

Sets the DoSoAd target address.

Parameters:
value : int

DoSoAd target address

SetDoSoAdTimeout(value)

Sets the DoSoAd timeout.

Parameters:
value : int

DoSoAd timeout in milliseconds

SetEthRemotePort(value)

Sets the Ethernet remote port.

Parameters:
value : int

Ethernet remote port

SetEthTargetIpAddr(value)

Sets the Ethernet target IP address.

Parameters:
value : str

Ethernet target IP address

SetFrTpAcknowledged(value)

Sets whether the FlexRay transport protocol is acknowledged. 0 … not acknowledged 1 … acknowledged

Parameters:
value : int

FlexRay transport protocol acknowledged flag

SetFrTpBufferSize(value)

Sets the FlexRay transport protocol buffer size.

Parameters:
value : int

FlexRay transport protocol buffer size

SetFrTpFillByte(value)

Sets the FlexRay transport protocol fill byte.

Parameters:
value : int

FlexRay transport protocol fill byte. Must not exceed one byte.

SetFrTpFlowControlAddress(value)

Sets the FlexRay transport protocol flow control address.

Parameters:
value : int

FlexRay transport protocol flow control address

SetFrTpMNPC(value)

Sets the FlexRay transport protocol MNPC value.

Parameters:
value : int

FlexRay transport protocol MNPC value

SetFrTpSCexp(value)

Sets the FlexRay transport protocol SCexp value.

Parameters:
value : int

FlexRay transport protocol SCexp value

SetFrTpSourceAddress(value)

Sets the FlexRay transport protocol source address.

Parameters:
value : int

FlexRay transport protocol source address

SetFrTpTargetAddress(value)

Sets the FlexRay transport protocol target address.

Parameters:
value : int

FlexRay transport protocol target address

SetFrTpTimeout(value)

Sets the FlexRay transport protocol timeout.

Parameters:
value : int

FlexRay transport protocol timeout in milliseconds

SetHSFZSourceAddress(value)

Sets the HSFZ source address.

Parameters:
value : int

HSFZ source address. Value must not exceed one byte.

SetHSFZTargetAddress(value)

Sets the HSFZ target address.

Parameters:
value : int

HSFZ target address. Value must not exceed one byte.

SetHSFZTimeout(value)

Sets the HSFZ timeout.

Parameters:
value : int

HSFZ timeout in milliseconds

SetUdsAutostart(value)

Sets whether UDS shall be started automatically.

Parameters:
value : bool

True if UDS shall be started automatically, otherwise False

SetUdsSessionControl(value)

Sets the subfunction of the UDS session control service.

Parameters:
value : int

Session control subfunction. Must not exceed one byte.

SetUdsTesterPresentCycleTime(value)

Sets the UDS tester present cycle time.

Parameters:
value : int

UDS tester present cycle time in milliseconds

SetUdsTesterPresentSubfunction(value)

Sets the subfunction of the UDS tester present .

Parameters:
value : int

Tester present subfunction. Must not exceed one byte.