Difference between revisions of "Extensions.DiagCom.SetComParameter"

From emotive
Jump to navigation Jump to search
Line 20: Line 20:
  
 
== Examples ==
 
== Examples ==
 +
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
ComChannel myComCannel = GetComChannel("LL_AirbaUDS", "", false);
 +
SetComParameter(myComCannel, "Name1", "SetComParameter");
 +
</syntaxhighlight>
 +
 
== See also ==
 
== See also ==

Revision as of 10:53, 14 July 2014

Classification

Name SetComParameter
Short Description Setting of communication parameters
Class Action
Extension OTX DiagCom extension
Group ComParameter related actions
Exceptions UnknownTargetException
TypeMismatchException
Checker Rules -
Standard Compliant Yes

Pseudo-Code Syntax

SetComParameter(ComChannel myComChannel, String name, Variable value);

Description

OTX SetComParameter activity is used to change the communication parameter, such as baud rate or CAN-out of a communication channel.

Icons Note.png In an ODX/MVCI based Diagnostic Runtime System the communication parameters in the "D-PDU API/ODX Communication parameters" specification are defined.

Properties

Name Data Type Class Default Cardinality Description
ComChannel ComChannel Variable - [1] Communication Channel (Control unit).
Name String Term - [0..1] Name to be changed Communication Save Meters.
Value - Variable - [0..1] New value of the communication parameter.

Examples

ComChannel myComCannel = GetComChannel("LL_AirbaUDS", "", false);
SetComParameter(myComCannel, "Name1", "SetComParameter");

See also