‘Internal’ OSA-RTS interfaces (for COTS tools)

The OSA-RTS Components interact with many COTS Tools, and can be used in many ways. The following is a discussion of the inputs and outputs associated with the OSA-RTS components, and how they interact with the various COTS Tools.

File Inputs and Outputs - Summary


The following diagram shows the file types that have been identified as inputs and outputs of the various OSA-RTS Components.

Software Inputs and Outputs - Summary


The following diagram shows the COTS Software that has been identified as inputs and outputs of the various OSA-RTS Components.

ATML Pre-Processor


The following diagram shows the file types that have been identified as inputs and outputs of the ATML Pre-Processor.

The ATML Pre-Processor is an optional component which accepts ATML Test Description instance documents and prepares them ready for the ATML Test Description Importer by:

This component takes ATML (2009) Test Descriptions, and converts them into ATML (2017) format, compatibible with NI TestStand.

It should be noted that the ATML Pre-Processor is not a required component if using ATML Pad.

ATML Test Description Importer (TestStand and LabWindows CVI)


The following diagram shows the file types that have been identified as inputs and outputs of the ATML Test Description Importer for TestStand and LabWindows CVI.

The ATML Importer imports ATML Test Description instance documents. From this, it generates a Test Stand sequence and CVI test action code. The CVI code contains TPL statements to represent 1641 Signals. Operation and interaction between the open source software and COTS software is as follows:

ATML Test Description Importer (LabView)


The following diagram shows the file types that have been identified as inputs and outputs of the ATML Test Description Importer for LabView.

The LabVIEW ATML Importer imports ATML Test Description instance documents. From this, it generates a Test Stand sequence and LabVIEW code modules, containing Run Time Template Code, ATML Operation Statements, Capability, Resource and Connection point code inserts for any 1641 Signals. The code inserts are performed by calls to the Resource Allocator of the 1641 Signal Translator. Operation and interaction between the open source software and COTS software is as follows:

During the import process run time code inserts are added into the LabVIEW Template code, using the 1641 Signal Translator Resource Allocator.

1641 Signal Translator


The following diagram shows the file types that have been identified as inputs and outputs of the 1641 Signal Translator

This component takes the CVI Source file, along with a Test Station Description xml file and a Capability Driver description file, and outputs a CVI code with allocated resources.

The 1641 Signal Translator processes C-style (e.g. CVI) code, prior to compilation, translating TPL statements into 1641 TSF calls to the 1641 Runtime. Operation and interaction between the open source software and COTS software is as follows:

1641 Run Time


The following diagram shows the file types that have been identified as inputs and outputs of the 1641 Run Time process

This process takes the (allocated) CVI Source file, and generates the codemodule.dll that is required to run with the TestStand Sequence File.

The Runtime Environment is divided into two parts: IDL is compiled to a type library and built into a 1641 Runtime component that is called by the test program; Test Stand provides a Test Executive to execute test programs, with the ATML Toolkit generating ATML Test Results.

1641 Runtime

The 1641 Runtime callable object is built in MS Visual Studio using the TSF interface definitions produced by the TSF IDL Generator. Operation and interaction between the open source software and COTS software is as follows:

Test Executive and ATML Test Results

Operation and interaction between the open source software and COTS software is as follows:

TSF IDL Generator


The following diagram shows the file types that have been identified as inputs and outputs of the TSF IDL Generator component

This component takes ATML Test Station Description and 1641 TSF libraries to create a test station 1641 IDL, from which a runtime callable type library can be built.

Operation and interaction between the open source software and COTS software is as follows:

IDL to TLB Converter


The following diagram shows the file types that have been identified as inputs and outputs of the IDL to TLB Converter component

This component takes the Test Station Description idl, and generates the Test Station Description tlb file along the the Test Station description dll file.

Signal Routing


The following diagram shows the file types that have been identified as inputs and outputs of the Signal Routing process

Signal Routing is divided into two parts: Conversion of TPL Connect statements to IVI Switch calls, in the CVI test program; and an IVI Switch wrapper around Xpress Services, called by the converted TPL statements.

TPL to IVI Translator

Operation and interaction between the open source software and COTS software is as follows:

IVI Switch Wrapper

Operation and interaction between the open source software and COTS software is as follows:

Note: There remains some initialisation of Xpress Services in Test Stand, which is manually added. This is because Xpress Services is supplied as an add-in to TestStand.

Component Dependency Analysis


Dependency Walker has been used on each component to detimine any file dependencies, these are listed below