Extensions.DiagConfiguration.SelectProject

From emotive
Jump to navigation Jump to search

Classification

Name SelectProject
Short Description Selects the MCD project using the given shortname.
Class Action
Extension OTX DiagConfiguration extension
Group DiagConfiguration related Actions
Exceptions UnknownTargetException
ProjectChangeException
Checker Rules -
Standard Compliant Yes

OTL Syntax

ActionRealisation DiagConfiguration.SelectProject(StringTerm projectName);

Description

Selects the MCD project using the given shortname.

Icons Note.png The appropriate MVCI system operation is MCDSystem::selectProjectByName.

If selecting or changing the active project is not possible a DiagConfigurationException is thrown.

Exclamation.png Important: SelectProject 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
projectName String Term - [1..1] Short name of the MCD project.

OTL Examples

/// Local Declarations

String String1 = "ProjectName";

/// Flow

DiagConfiguration.SelectProject(String1);

See also

SelectVehicleInformation
GetActiveProject
GetActiveProjectVersion
GetActiveVehicleInformation
GetDbProjectList
GetDbVehicleInformationList