Extensions.ComInterface.DeactivateEthernet

From emotive
Jump to navigation Jump to search

Classification

Name DeactivateEthernet
Short Description Deactivates the ethernet communication on the selected interface
Class Action
Extension OTX ComInterface extension
Group ComInterface related Actions
Exceptions ActivateEthernetException
Checker Rules -
Standard Compliant Yes

OTL Syntax

ActionRealisation ComInterface.DeactivateEthernet(ComInterfaceVariable comInterface);

Description

This action deactivates the ethernet communication on the selected interface.

Properties

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

OTL Examples

/// Local Declarations

ComInterface.ComInterface ComInterface1;
Exception Exception1;

/// Flow

ComInterface.ConnectInterface(ComInterface1);
ComInterface.ActiveEthernet(ComInterface1);

try
{
	ComInterface.DeactiveEthernet(ComInterface1);
}
catch (ComInterface.ActivateEthernetException Exception1)
{
}

ComInterface.CloseComInterface(ComInterface1);

See also

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