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
 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
 Validity of ActionRealisation. More...
 

Detailed Description

Starts the communication

The StartCommunication action starts the communication on a diag:ComChannel.

Note
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);
ComChannelTerm comChannel
This element comprises the communication channel, which shall be used for starting the communication ...
Definition: DiagComPlus.cs:450
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

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