Difference between revisions of "Extensions.DiagCom.CloseComChannel"
Jump to navigation
Jump to search
| Line 18: | Line 18: | ||
== Examples == | == Examples == | ||
| + | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
| + | ComChannel myComCannel = GetComChannel("LL_AirbaUDS", "", false); | ||
| + | CloseComChannel(ComChannel myComChannel); | ||
| + | </syntaxhighlight> | ||
| + | |||
== See also == | == See also == | ||
Revision as of 10:27, 14 July 2014
Classification
| Name | CloseComChannel |
| Short Description | Closes a communication channel |
| Class | Action |
| Extension | OTX DiagCom extension |
| Group | ComChanel related actions |
| Exceptions | InvalidReferenceException |
| Checker Rules | - |
| Standard Compliant | Yes |
Pseudo-Code Syntax
IdentifyAndSelectVariant(ComChannel myComChannel);Description
OTX CloseComChannel activity is used for the Diagnosis Runtime System to announce that an open communication channel all relevant resources can be released and closed.
![]()
Please note that the use of a shared ComChannel can bring the OTX runtime system in an undefined state and that is this case is not validated at design time!
Properties
| Name | Data Type | Class | Default | Cardinality | Description |
| ComChannel | ComChannel | Variable | - | [1] | Communication Channel (Control unit). |
Examples
ComChannel myComCannel = GetComChannel("LL_AirbaUDS", "", false);
CloseComChannel(ComChannel myComChannel);