OTX Reference  
OpenTestSystem.Otx.Extensions.PduSimulation Namespace Reference

An OTX extension for simulating diagnostic communication at the PDU level. More...

Namespaces

namespace  Actions
 Lists all ActionRealisation extensions.
 
namespace  Exceptions
 Error handling.
 
namespace  Terms
 Lists all Terms.
 

Classes

class  CheckerRule
 Comprehensive checker rule listing, see also Core checker rules. More...
 

Detailed Description

An OTX extension for simulating diagnostic communication at the PDU level.

PDU Simulation means simulation of the diagnostic communication, see picture below. For a complete simulation, the diagnostic communication of the DiagCom extension must be simulated independently of the environment. This is the task of the PduSimulation extension. The PduSimulation extension extends OTX to simulate the diagnostic communication at the level of a PDU. PDU means ProtocolDataUnit and expresses the HexByteField of a Request or a Response. This makes it possible to individually influence the diagnostic communication for each test case or to explicitly generate errors.

For detailed information, see Unit Tests with OTX.

Note: With the PduSimulation extension a TestCase can be written and executed independent of the underlaying vehicle communication. No hardware is necessary!

The following main functions are supported:

  • Supports CAN and DoIP
  • Supports physical and functional addressing
  • Supports VariantIdentification and VariantSelection
  • Automatic generation of TesterPresent
  • BatteryVoltage (KL30) and IgnitionState (KL15) can be set
  • Processes simulation files from DiagRA-S
  • Can import a simulation from a DiagLogging file
  • A simulation can be loaded from a file, modified or completely rebuilt manually within a TestProcedure
  • Wildcards and placeholders can be used (e.g. Request = "36 X1 ..", Response = "76 X1")
  • Multiple responses can be assigned to a request. They are processed in a rolling manner.

Note: The system requirement for using the extension is that the used D-PDU API supports the simulation option.

Note: The extension may only be used within UnitTest projects.