Extensions.DiagConfiguration.SelectVehicleInformation

From emotive
Jump to navigation Jump to search

Classification

Name SelectVehicleInformation
Short Description Selects the vehicle information by the given short name.
Class Action
Extension OTX DiagConfiguration extension
Group DiagConfiguration related Actions
Exceptions UnknownTargetException
ProjectChangeException
Checker Rules -
Standard Compliant Yes

OTL Syntax

ActionRealisation DiagConfiguration.SelectVehicleInformation(StringTerm vehicleInformation);

Description

Selects the vehicle information by the given short name. The vehicle information contains the used protocols (CAN/DoIP) and the used ComChannels.

Icons Note.png The appropriate MVCI system operation is MCDProject::selectDbVehicleInformationByName.

If selecting or changing the vehicle information is not possible a ProjectChangeException is thrown.

Exclamation.png Important: SelectVehicleInformation action closes all Diag:ComChannels. ComChannelVariables are no longer initialized.
Exclamation.png Important: If OTX runtime system is running parallel to another diagnostic system that uses same base system the action can cause problems because in case of an MCD system only one project can be selected at same time.

Properties

Name Data Type Class Default Cardinality Description
vehicleInformation String Term - [1..1] Short name of the VehicleInformation.

OTL Examples

/// Local Declarations

String String1 = "VehicleInformation";

/// Flow

DiagConfiguration.SelectVehicleInformation(String1);

See also

SelectProject
GetActiveProject
GetActiveProjectVersion
GetActiveVehicleInformation
GetDbProjectList
GetDbVehicleInformationList