The OTX-Runtime Converter API is a programming interface for the easy, fast and reliable validation and compilation of OTX procedures in own applications. It works independently even without the OTX Development Environment and is available for Windows and Linux. The API is available for DotNet. It works on Window via Net Framework and on Linux via Net6.0 or higher.
The OTX-Runtime Converter API can be integrated into own applications. The API supports
void main()
{
runtimeConverter.
LoadPtx(
"D:\\Sample.ptx",
"This is a password");
runtimeConverter.DiagValidationGroups.Import("D:\\DiagValidationGroups1.xml");
runtimeConverter.XmlDbPort = 1984
if (errors.Length > 0)
{
Console.WriteLine("*** Errors and warnings:");
{
Console.Write("[SeverityType]");
Console.Write(error.SeverityType);
Console.Write(" [Description]");
Console.Write(error.Description);
Console.Write(" [ScopeId]");
Console.Write(error.ScopeId);
Console.Write(" [ScopeName]");
Console.Write(error.ScopeName);
Console.Write(" [ElementType]");
Console.Write(error.ElementType);
Console.Write(" [ErrorCode]");
Console.Write(error.ErrorCode);
Console.Write(" [Procedure]");
Console.Write(error.Procedure);
Console.Write(" [Document]");
Console.Write(error.Document);
Console.Write(" [Package]");
Console.Write(error.Package);
Console.Write(" [Project]");
Console.WriteLine(error.Project);
Console.WriteLine();
}
{
return;
}
}
runtimeConverter.Compile("D:\\CompiledSample.ptx");
}
Configuration class to modify global settings.
Definition: Config.cs:20
static TraceLevels TraceLevel
Gets or sets TraceLevel. Default is TraceLevels.ERROR.
Definition: Config.cs:105
Class to manage the OTX-Runtime Converter licenses.
Definition: LicenseManager.cs:21
static void SetLicenseKey(string licenseKey)
Sets a valid license key to release the API.
Definition: LicenseManager.cs:47
Factory class for creating RuntimeConverter, see IRuntimeConverter
Definition: RuntimeConverterFactory.cs:16
static IRuntimeConverter CreateSocketRuntimeConverter(ushort port)
Creates a Socket Runtime Converter instance.
Definition: RuntimeConverterFactory.cs:36
Represents a checker and a compiler.
Definition: IRuntimeConverter.cs:35
void LoadPtx(string fileName)
Loads a PTX file.
Represents an error or a warning.
Definition: IError.cs:16
Namespace containing all objects related to licensing
Definition: LicenseManager.cs:16
Namespace containing all objects for validation.
Definition: IError.cs:11
Namespace containing the programming interface for for validation and compilation of PTX,...
Definition: Config.cs:8
Namespace containing all objects for validation and compilation of PTX, PPX, PROJECT
Definition: Config.cs:8
Namespace containing all objects which are standardized according to ISO 13209 (OTX)
Namespace containing all objects related to testing inside automotive industry