Extensions.ComInterface.ConnectComInterface

From emotive
Jump to navigation Jump to search

Classification

Name ConnectComInterface
Short Description Activates the ethernet communication on the selected interface.
Class Action
Extension OTX ComInterface extension
Group ComInterface related Actions
Exceptions InvalidReferenceException
NotConnectedException
Checker Rules -
Standard Compliant Yes

OTL Syntax

ActionRealisation ComInterface.ConnectConInterface(ComInterfaceVariable comInterface);

Description

The ConnectComInterface action establishes a connection to an interface for diagnostic communication. It can be used for example to connect to an available ComInterface that is not allready connected or to reconnect to an ComInterface if the connection to it is lost. If the ComInterface is allready connected, nothing will happen and the ComInterface will stay connected.

Icons Note.png The appropriate MVCI system operation is MCDInterface::connect().

Properties

Name Data Type Class Default Cardinality Description
comInterface ComInterface Variable - [1..1] Represents the handle of the communication interface which will be connected.

OTL Examples

/// Local Declarations

ComInterface.ComInterface ComInterface1;

/// Flow

ComInterface.ConnectComInterface(ComInterface1);

See also

ActivateEthernet
CloseComInterface
DeactivateEthernet
ComInterfaceTerm
ComInterfaceValue
CreateComChannelFromComInterface
GetBatteryVoltageFromComInterface
GetComChannelFromComInterface
GetComInterface
GetComInterfaceNameListFromEthernet
GetComInterfaceProperties
GetComInterfaceResourceNameList
GetIgnitionStateFromComInterface
IsEthernetActivated
IsInterfaceConnected
GetComInterfaceNameList
GetDefaultComInterfaceName