OTX Reference  
OpenTestSystem.Otx.Extensions.DiagComPlus.Actions.StartCommunication Class Reference

Starts the communication More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DiagComPlus.Actions.StartCommunication:
Inheritance graph

Public Attributes

ComChannelTerm comChannel
 Cardinality [1]
This element comprises the communication channel, which shall be used for starting the communication with the ECU the communication channel is connected to. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation
OtxLink validFor
 Cardinality [0..1]
Validity of ActionRealisation. More...
 

Detailed Description

Starts the communication

The StartCommunication action starts the communication on a diag:ComChannel. Starting communication on a ComChannel which already is in state COMMUNICATION shall perform no operation and report no errors. It shall be for all effects a NOP.

Important:: In case an ODX/MVCI system is used, the ComPrimitive "StartCommunication" is executed on the logical link. In this case the logical link state is COMMUNICATION (see ComChannelState).

Exceptions
DiagCom.Exceptions.LossOfComExceptionIf communication to the ECU was interrupted during the start communication process.
Syntax
DiagComPlus.StartCommunication(ComChannelTerm comChannel);
Examples
// Local Declarations
Exception Exception1;
DiagCom.ComChannel ComChannel1;
// Flow
ComChannel1 = DiagCom.GetComChannel("LL_GatewUDS", "EV_GatewLear_006", false);
try
{
[#DiagMetaData , <#Data>
<dmd:diagMetaData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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);
}
catch (DiagCom.LossOfComException Exception1)
{
}

Member Data Documentation

◆ comChannel

ComChannelTerm OpenTestSystem.Otx.Extensions.DiagComPlus.Actions.StartCommunication.comChannel

Cardinality [1]
This element comprises the communication channel, which shall be used for starting the communication with the ECU the communication channel is connected to.

OpenTestSystem.Otx.Extensions.DiagComPlus.Actions.StartCommunication.comChannel
ComChannelTerm comChannel
Cardinality [1] This element comprises the communication channel, which shall be used for starting th...
Definition: DiagComPlus.cs:615