OTX Reference  
OpenTestSystem.Otx.Extensions.DiagConfiguration.Actions.SelectVehicleInformation Class Reference

Selects the vehicle information More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DiagConfiguration.Actions.SelectVehicleInformation:
Inheritance graph

Public Attributes

StringTerm vehicleInformation
 Cardinality [1]
Short name of the VehicleInformation. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation
OtxLink validFor
 Cardinality [0..1]
Validity of ActionRealisation. More...
 

Detailed Description

Selects the vehicle information

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

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

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

Note
Important: SelectVehicleInformation action closes all Diag:ComChannels. ComChannelVariables are no longer initialized.
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.
Exceptions
DiagCom.Exceptions.UnknownTargetExceptionIf the vehicle information identifier provided by the VehicleInformation element doesn't exist or is invalid.
Syntax
DiagConfiguration.SelectVehicleInformation(StringTerm vehicleInformation);
StringTerm vehicleInformation
Cardinality [1] Short name of the VehicleInformation.
Definition: DiagConfiguration.cs:150
Examples
// Local Declarations
String String1 = "VehicleInformation";
// Flow
DiagConfiguration.SelectVehicleInformation(String1);

Member Data Documentation

◆ vehicleInformation

StringTerm OpenTestSystem.Otx.Extensions.DiagConfiguration.Actions.SelectVehicleInformation.vehicleInformation

Cardinality [1]
Short name of the VehicleInformation.