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

Sets Complex ComParameters More...

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

Public Attributes

ComChannelValue comChannel
 Comprises the handle of the communication channel (LogicalLink). More...
 
ParameterTerm parameter
 Complex communication parameter. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation
OtxLink validFor
 Validity of ActionRealisation. More...
 

Detailed Description

Sets Complex ComParameters

The SetComplexComParameter-activity is an enhanced version of the SetComParameter-activity. The difference is that complex parameters can be used.

Note
In an ODX/MVCI based system, complex communication parameter data types are used to define response ID lists for the functional addressing use case.
Exceptions
Core.Exceptions.TypeMismatchExceptionIt is thrown if the specified <parameter> element does not match the communication parameter to be set.
Syntax
DiagCom.SetComplexComParameter(ComChannelValue comChannel, ParameterTerm parameter);
ComChannelValue comChannel
Comprises the handle of the communication channel (LogicalLink).
Definition: DiagCom.cs:1313
ParameterTerm parameter
Complex communication parameter.
Definition: DiagCom.cs:1323
Examples
// Local Declarations
DiagCom.ComChannel ComChannel1;
DiagCom.Parameter Parameter1;
// Flow
ComChannel1 = DiagCom.GetComChannel("LL_CentrElectUDS", "EV_BCMCONTI_009", false);
DiagCom.ExecuteDiagService(DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentActuaTestStatu"), {}, {}, NULL, NULL, false, false);
Parameter1 = DiagCom.GetComplexComParameter(ComChannel1, "CP_TesterPresentMessage");
DiagCom.SetParameterValue(Parameter1, &amp;AAAA);
DiagCom.SetComplexComParameter(ComChannel1, Parameter1);

Member Data Documentation

◆ comChannel

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

Comprises the handle of the communication channel (LogicalLink).

◆ parameter

ParameterTerm OpenTestSystem.Otx.Extensions.DiagCom.Actions.SetComplexComParameter.parameter

Complex communication parameter.