OTX Reference  
OpenTestSystem.Otx.Extensions.DiagComPlus.Terms.GetComParameterList Class Reference

Gets a list of the available communication parameter names More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DiagComPlus.Terms.GetComParameterList:
Inheritance graph

Public Attributes

ComChannelTerm comChannel
 This element shall comprise the handle of the communication channel whose communication parameter names should be get. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Store additional More...
 

Detailed Description

Gets a list of the available communication parameter names

The GetComParameterList term accepts an diag:ComChannel and returns an otx:List of otx:Strings with the available communication parameter names. In case no communication parameters can be determined an empty list shall be returned.

Note
The appropriate MVCI system operation is MCDDbLocation::getDbDiagComPrimitives(eMCDDBPROTOCOLPARAMETERSET).
Syntax
ListTerm = DiagComPlus.GetComParameterList(ComChannelTerm comChannel);
ComChannelTerm comChannel
This element shall comprise the handle of the communication channel whose communication parameter nam...
Definition: DiagComPlus.cs:696
Examples
// Local Declarations
Exception Exception1;
DiagCom.ComChannel ComChannel1;
List<String> ListString1;
// Flow
ComChannel1 = DiagCom.GetComChannel("LL_GatewUDS", "EV_GatewLear_006", false);
try
{
[#DiagMetaData , <#Data>
<dmd:diagMetaData xmlns:dmd="http://iso.org/OTX/1.0.0/Auxiliaries/DiagMetaData">
<dmd:comChannelName value="LL_GatewUDS" />
<dmd:ecuVariantName value="EV_GatewLear_006" />
</dmd:diagMetaData></#Data>]
DiagComPlus.StartCommunication(ComChannel1);
ListString1 = DiagComPlus.GetComParameterList(ComChannel1);
[#DiagMetaData , <#Data>
<dmd:diagMetaData xmlns:dmd="http://iso.org/OTX/1.0.0/Auxiliaries/DiagMetaData">
<dmd:comChannelName value="LL_GatewUDS" />
<dmd:ecuVariantName value="EV_GatewLear_006" />
</dmd:diagMetaData></#Data>]
DiagComPlus.StopCommunication(ComChannel1);
}
catch (DiagCom.LossOfComException Exception1)
{
}
ListTerm = DiagComPlus.GetComParameterList(ComChannelTerm comChannel);
Examples
// Local Declarations
Exception Exception1;
DiagCom.ComChannel ComChannel1;
List<String> ListString1;
// Flow
ComChannel1 = DiagCom.GetComChannel("LL_GatewUDS", "EV_GatewLear_006", false);
try
{
[#DiagMetaData , <#Data>
<dmd:diagMetaData xmlns:dmd="http://iso.org/OTX/1.0.0/Auxiliaries/DiagMetaData">
<dmd:comChannelName value="LL_GatewUDS" />
<dmd:ecuVariantName value="EV_GatewLear_006" />
</dmd:diagMetaData></#Data>]
DiagComPlus.StartCommunication(ComChannel1);
ListString1 = DiagComPlus.GetComParameterList(ComChannel1);
[#DiagMetaData , <#Data>
<dmd:diagMetaData xmlns:dmd="http://iso.org/OTX/1.0.0/Auxiliaries/DiagMetaData">
<dmd:comChannelName value="LL_GatewUDS" />
<dmd:ecuVariantName value="EV_GatewLear_006" />
</dmd:diagMetaData></#Data>]
DiagComPlus.StopCommunication(ComChannel1);
}
catch (DiagCom.LossOfComException Exception1)
{
}

Member Data Documentation

◆ comChannel

ComChannelTerm OpenTestSystem.Otx.Extensions.DiagComPlus.Terms.GetComParameterList.comChannel

This element shall comprise the handle of the communication channel whose communication parameter names should be get.