OTX Reference  
OpenTestSystem.Otx.Extensions.DiagCom.Actions.SetComParameter Class Reference

Sets communication parameters More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DiagCom.Actions.SetComParameter:
Inheritance graph

Public Attributes

ComChannelValue comChannel
 Comprises the handle of the communication channel (LogicalLink). More...
 
StringTerm name
 The StringTerm specifies the name of a communication parameter. More...
 
Term value
 Current value of a simple communication parameter. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation
OtxLink validFor
 Validity of ActionRealisation. More...
 

Detailed Description

Sets communication parameters

The SetComParameter activity is used to change the Value of a communication parameter used by the communication backend, e.g. bus timeouts or baud rates.

Note
In case an ODX/MVCI system is used for vehicle communication, the communication parameter names and data types that can be set are defined by the "D-PDU API/ODX communication parameter" specification.
IMPORTANT - In case an ODX/MVCI system is used for vehicle communication, this action should implicitly control the LogicalLink State. The state should be adjusted for setting of COM Parameters. This requires state eONLINE.
Exceptions
Exceptions.UnknownTargetExceptionIt is thrown if no communication parameter with the specified name exists.
Core.Exceptions.TypeMismatchExceptionIt is thrown if the specified quantity type does not match the data type of the communication parameter to be set.
Syntax
DiagCom.SetComParameter(ComChannelValue comChannel, StringTerm name, Term value);
ComChannelValue comChannel
Comprises the handle of the communication channel (LogicalLink).
Definition: DiagCom.cs:1384
StringTerm name
The StringTerm specifies the name of a communication parameter.
Definition: DiagCom.cs:1394
Term value
Current value of a simple communication parameter.
Definition: DiagCom.cs:1404
Examples
// Local Declarations
DiagCom.ComChannel ComChannel1;
// Flow
ComChannel1 = DiagCom.GetComChannel("LL_CentrElectUDS", "EV_BCMCONTI_009", false);
DiagCom.SetComParameter(ComChannel1, "CP_TesterPresentMessage", &012345);

Member Data Documentation

◆ comChannel

ComChannelValue OpenTestSystem.Otx.Extensions.DiagCom.Actions.SetComParameter.comChannel

Comprises the handle of the communication channel (LogicalLink).

◆ name

StringTerm OpenTestSystem.Otx.Extensions.DiagCom.Actions.SetComParameter.name

The StringTerm specifies the name of a communication parameter.

◆ value

Term OpenTestSystem.Otx.Extensions.DiagCom.Actions.SetComParameter.value

Current value of a simple communication parameter.