RuntimeManager Class |
Namespace: OpenTestSystem.Otx.Runtime.Api
The RuntimeManager type exposes the following members.
Name | Description | |
---|---|---|
RuntimeManager |
Initializes a new instance of the Runtime Manager.
|
Name | Description | |
---|---|---|
DiagRuntimeSystem |
Gets or sets Runtime System.
| |
DiagRuntimeSystems |
Gets available Runtime Systems.
| |
DoipActivationLineDelayTime |
Delay time in milliseconds after the ActivationLine has been set.
| |
DoipSelectedInterface |
Selected interface in case of Diagnostics over Internet Protocol (DoIP)
| |
DoipSetImpliciteActivationLine |
The ActivationLine can be set before a detection, which is necessary for some VCI Ethernet controllers.
| |
ExternalAppPath |
Gets or sets external application path. ExternalAppPath leads to a directory and must be an absolute Path.
If ExternalAppPath is not null or empty, all OTX-Mapping will search assemblies in this path; Otherwise, OTX-Mapping will use their assemblies.
| |
FileSystem | ||
HmiScreenHandle |
Gets or set a windows handle (HWND) to display custom screens of the HMI extension.
| |
IsCommunicationTrace |
Gets or sets if the creation of communication trace items is ON or OFF. The default value is ON (True).
| |
IsDoipSupport |
Returns true if a valid interface is selected
| |
IsVariablesTrace |
Gets or sets if the creation of variables trace items is ON or OFF. The default value is ON (True).
| |
IsWriteTraceFile | Obsolete.
Gets or sets OTX-Runtime Tracing status.This switches ON/OFF (true/false) the tracing of OTX-Runtime, which is useful for error detection inside OTX Runtime. Default value: true. This property is obsolete, please use TraceLevel instead.
| |
JavaRuntimeParameters |
Gets or sets the command line options to start a Java Virtual Maschine (JVM)
| |
JavaVM |
Gets or sets the path to the Java VM.
| |
MaxExecutionMemory |
Gets or sets Maximal number of megabytes used by a runner process. The default value is 200
| |
MaxIdleExecutionCount |
Gets or sets if the number of maximal existing free runner processes. The default value is 5.
| |
MinBinVersion |
Gets minimum version of the binary file that the OTX Runtime can handle. Is in the OTX Runtime.
| |
OutputFolder |
Gets or sets directory where all temporary, by the OTX-Runtime created files are stored. Default value: "[CurrentUser]\AppData\Local\Temp\emotive\OTX-Runtime\".
| |
Packages |
Gets top packages
| |
PlayerProject |
Gets information from loaded PPX
| |
ProjectName |
Gets the project name.
| |
Projects |
Gets project names.
| |
ProjectSettings |
Gets the project setting.
| |
ProjectVersion |
Gets the project version.
| |
RdfPath |
Gets or sets the path to the MVCI-Server configuration file (MVCI-Server.rdf).
| |
RemoteTimeout |
Gets or sets Timeout for each remote communication in milliseconds.
| |
RuntimeImplementation |
Gets or sets the runtime platform which doesn't depend on the design flatform.
| |
SearchPath |
Gets or sets base directory for all relative path specifications.
| |
SelectedProject |
Gets or sets selected project.
| |
TraceFileFolder |
Gets or sets directory where the trace files are stored. Default value: "[CurrentUser]\AppData\Roaming\emotive\OTX-Runtime\Tracing\".
| |
TraceLevel |
Gets or sets OTX-Runtime Tracing Level. Default value: ERROR.
| |
TypeCode | Obsolete.
Sets type code, 0 is C++, != 0 is not C++ - This property is obsolete. It has no functionality! The runtime manage it automatically.
| |
UseExternalAppPath |
Gets or sets external application path is used.
If true, using external application path (central directory). Otherwise, using applications for the OTX mapping locally (within the project). | |
Version |
Gets the file version of OTX-Runtime API.
|
Name | Description | |
---|---|---|
ActivateHmiScreen |
Activate the top window.
| |
ChangeDefaultLanguage |
Change default language.
| |
CheckConnection |
Checks if the client connected to a host.
| |
Connect |
Connects to a host with the given IP address and port.
| |
ConvertStringToValue(String, IDataType) |
Converts a string representation to value of the given dataType independent from the given target system.
| |
ConvertStringToValue(String, String) | Obsolete.
Converts a string representation to value of the given dataType independent from the given target system.
| |
ConvertValueToString |
Converts a value from a Parameter or a Variable to the string representation of that value independent from the given target system.
| |
Disconnect |
Disconnects from the connected host.
| |
DoipDetectInterfaces |
Performs a Diagnostics over Internet Protocol (DoIP) vehicle identification request
| |
Download |
Downloads all runtime related data from host to client.
- Content of Output folder to ClientOutputFolder/Host/
- Content of External applications to ClientAppsFolder/Host/
- Content of Trace file folder to ClientTraceFileFolder/Host/
| |
Equals | (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetMainProcedure |
Gets the main procedure. The main procedure is the procedure with the name "main" (case sensitive).
| |
GetStartUpDocument |
Gets the document which is marked as startup. It should include a main procedure.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HostClean |
Cleans up all runtime related files at the host.
- Content of Output folder.
- Content of FileSystem.
- Content of External applications.
- Content of Trace file folder.
| |
IsProtected |
Checks if a PTX is signed and/or encrypted.
| |
Load(String) |
Loads a PTX or an OTX file.
| |
Load(String, String) |
Loads a protected PTX file.
| |
RaiseDeviceEvent | Obsolete.
The method is not used anymore. Each change of a DeviceServiceOutParameter will directly reflected to the runtime and can add events to the DeviceEventSource.
| |
RaiseScreenClosedEvent |
Signals the OTX-Runtime that a screen was closed and a ScreenClosedEvent should be raised.
| |
RefreshHmiScreen |
Redraws all screens.
| |
ScreenIsClosed | Obsolete.
Signals the OTX-Runtime that a screen was closed - This method is obsolete, please use RaiseScreenClosedEvent!
| |
StopExecution |
Stops running procedure if existing. It is effective only the procedure is running synchronously.
| |
ToString | (Inherited from Object.) | |
Upload |
Uploads all necessary data from client to host.
| |
Validate |
Validates the current project and its references and returns a list of errors and warnings.
| |
VciDisconnect |
This method disconnects the VCI from the ECU.
|
Name | Description | |
---|---|---|
ChoiceDialogOccurred |
Occurs when a ChoiceDialog occurs. If this event is register, the user is responsible for the handling and the OTX runtime does nothing.
| |
ClientConnected |
Occurs when a host accepted the client's connection.
| |
ClientDisconnected |
Occurs when the client was disconnected.
| |
CloseComChannelOccurred |
Event CloseComChannel
| |
CloseScreenOccurred |
Occurs when a CloseScreen occurs. If this event is register, the user is responsible for the handling and the OTX runtime does nothing.
| |
CommunicationTraceItemAdded |
Occurs when the runtime system writes data to the communication trace.
| |
ConfirmDialogOccurred |
Occurs when a ConfirmDialog occurs. If this event is register, the user is responsible for the handling and the OTX runtime does nothing.
| |
ContextVariableRead |
Occurs when a context variable reads its value.
| |
CreateDiagServiceByNameOccurred |
Event CreateDiagServiceByName
| |
CreateDiagServiceBySemanticOccurred |
Event CreateDiagServiceBySemantic
| |
ExecuteDeviceServiceOccurred |
Occurs when an ExecuteDeviceService occurs. If this event is register, the user is responsible for the handling of that DeviceService (e.g. calling a method in a external DLL) and the OTX runtime does nothing.
| |
ExecuteDiagServiceOccurred |
Event ExecuteDiagService
| |
ExecuteHexDiagServiceOccurred |
Event ExecuteHexDiagService
| |
ExecutionStopped |
Occurs when execution stopped.
| |
GetAllResponsesOccurred |
Event GetAllResponses
| |
GetAllResultsAndClearOccurred |
Event GetAllResultsAndClear
| |
GetAllResultsOccurred |
Event GetAllResults
| |
GetComChannelOccurred |
Event GetComChannel
| |
GetComParameterValueOccurred |
Event GetComParameterValue
| |
GetComplexComParameterOccurred |
Event GetComplexComParameter
| |
GetDefaultComParameterValueOccurred |
Event GetDefaultComParameterValue
| |
GetDefaultComplexComParameterOccurred |
Event GetDefaultComplexComParameter
| |
GetDiagServiceListBySemanticOccurred |
Event GetDiagServiceListBySemantic
| |
GetFirstResponseOccurred |
Event GetFirstResponse
| |
GetFirstResultOccurred |
Event GetFirstResult
| |
GetParameterAsListOccurred |
Event GetParameterAsList
| |
GetParameterByPathOccurred |
Event GetParameterByPath
| |
GetParameterBySemanticOccurred |
Event GetParameterBySemantic
| |
GetParameterValueOccurred |
Event GetParameterValue
| |
GetPduOccurred |
Event GetPdu
| |
GetRepetitionTimeOccurred |
Event GetRepetitionTime
| |
GetRequestOccurred |
Event GetRequest
| |
HighlightScreenOccurred |
Occurs when a HighlightScreen occurs. If this event is register, the user is responsible for the handling and the OTX runtime does nothing.
| |
IdentifyAndSelectVariantOccurred |
Event IdentifyAndSelectVariant
| |
InputDialogOccurred |
Occurs when a InputDialog occurs. If this event is register, the user is responsible for the handling and the OTX runtime does nothing.
| |
KeyDown |
Occurs when a key is pressed in runtime when a screen is active.
| |
OpenScreenOccurred |
Occurs when an OpenScreen occurs. If this event is register, the user is responsible for the handling and the OTX runtime does nothing.
| |
ParameterValueChanged |
Occurs when a parameter value changed.
| |
ProcedureFinished |
Occurs when a procedure completed running.
| |
ProcedureStarted |
Occurs when a Procedure was started.
| |
ProcedureStopped |
Occurs when a Procedure was stopped.
| |
RuntimeExceptionOccured |
Occurs when a runtime exception occurs.
| |
ScreenIsOpenOccurred |
Occurs when a ScreenIsOpen occurs. If this event is register, the user is responsible for the handling and the OTX runtime does nothing.
| |
ScreenParameterValueChanged |
Occurs when an a ScreenInParameter or ScreenInOutParameter is changed from Otx runtime and the OpenScreenOccurred event is already registered. If this event is register, the user is responsible for the handling and the OTX runtime does nothing.
| |
SetComParameterOccurred |
Event SetComParameter
| |
SetComplexComParameterOccurred |
Event SetComplexComParameter
| |
SetParameterValueBySemanticOccurred |
Event SetParameterValueBySemantic
| |
SetParameterValueOccurred |
Event SetParameterValue
| |
SetPduOccurred |
Event SetPdu
| |
SetRepetitionTimeOccurred |
Event SetRepetitionTime
| |
ShowDocumentDialogOccurred |
Occurs when a ShowDocumentDialog occurs. If this event is register, the user is responsible for the handling and the OTX runtime does nothing.
| |
StartRepeatedExecutionOccurred |
Event StartRepeatedExecution
| |
StatusVariableChanged |
Occurs when value of a state variable changed.
| |
StopRepeatedExecutionOccurred |
Event StopRepeatedExecution
| |
VariableTraceItemAdded |
Occurs when the runtime system writes data to the variable trace.
| |
WriteLogPerformed |
Occurs when an explicit write via WriteLog activity or an implicit write via some implicit log messages like Communication-Trace or OTX-ID. If the event is registered, the user is responsible for writting into a log resource and the OTX runtime does not write anything into a log file.
|
Name | Description | |
---|---|---|
OwnMvciServerName |