You are on page 1of 5

ATML The Standard for Interfacing Test System Components Using XML

Publish Date: Dec 08, 2015


Overview

For many years, the ATE industry has coveted a universal data exchange adapter for ATE, spurred by the need to share test
system and test result information with the rest of the enterprise. Many test organizations within the ATE industry have already
developed or are considering developing their own proprietary XML-based data exchange standards to meet their specific need
for sharing ATE and test information. However, this may no longer be necessary. A new XML-based standard for ATE and test
information data exchange, known as Automatic Test Markup Language (ATML), is emerging with widespread support among t
and measurement industry leaders and major government programs alike. Led by the Naval Air Systems Command and ATE
industry members, ATML is a cooperative effort to define a collection of XML schemas to represent test information, such as te
programs, test asset interoperability, and unit under test (UUT) test data (including test results and diagnostics procedures). Wh
the mil/aero community is currently driving the ATML specifications, other industries, including telecommunications, automotive
and consumer electronics, are likely to adopt and use these robust and flexible ATML schemas.
Table of Contents

1.
2.
3.
4.
5.
6.
7.

Lack of Standardized Data Exchange Driving Up Costs.


Inside the Automatic Test Markup Language
TestResults Schema
TestDescription Schema
The ATML Reality
Perfecting a Standardized Data Exchange Interface
References

1. Lack of Standardized Data Exchange Driving Up Costs.

The lack of standardized ATE and test information data exchange among the enterprise, other organizations, their suppliers, an
OEMs contributes significantly to product development overhead costs. This is especially prevalent in the mil/aero industry, whe
typical units costing millions of dollars consist of hundreds of subsystems and involve dozens of mil/aero contractors and
suppliers.
2. Inside the Automatic Test Markup Language

The ATML working group members have been holding quarterly meetings for more than two years to work toward establishing
IEEE standard that provides increased industry and mil/aero ATE system compatibility and modularity. The group is focused on
establishing a standard that provides and manages extensibility while supplying an exchange format that both humans and
machines easily can interpret.
In addition, the ATML standard is designed to improve several areas of ATE and test system design by:
Implementing dynamic test sequences that adapt to historical data
Supporting instruments and their interface setups
Capturing test information at various test stages

To facilitate data exchange among system interfaces, stations, and manufacturers, and to ensure asset interoperability, the ATM
working group has defined several external interfaces on which to standardize, including test result reporting, diagnostics, test
description, instrument description, test configuration, UUT data, and the test station. Drawing on these interfaces, the working
group has defined eight ATML components built on a ninth common component for an XML data interface (Figure 1).

1/5

www.ni.com

Figure 1: ATML component interfaces facilitate data exchange and ensure asset interoperability.

While not all of the schemas are final, it is beneficial to look closely at the overall ATML structure and one of the approved
schemas. For a detailed list of the ATML schemas and their current statuses, visit http://grouper.ieee.org/groups/scc20/tii/. (
http://grouper.ieee.org/groups/scc20/tii/)
XML-Based ATML Structure

The ATML data exchange file is in ASCII text format with system-interface-specific tags, or elements, organizing the data. It is t
ATML schema that defines the specific elements and their hierarchy within this data exchange file. Because the text document
file containing descriptive tags, it can operate on any platform, and a computer program can easily interpret and parse the tags
based on the schema. For those same reasons, it is human-readable.

Because ATML uses the XML standard for describing ATE and test data, it takes advantage of recursion and extensibility, key
technical benefits that give test systems greater flexibility in defining interfaces. By supporting recursion, element definitions
describing test properties or tests can nest to create a more managed data exchange format. In XML, test information extensibi
adds data elements without disrupting current system operation. The ATML standard also includes general-purpose elements,
such as OtherData and Extension, that can store additional information not specifically outlined in the ATML schema. All
ATML-compatible systems can handle these miscellaneous elements differently or not at all and still operate correctly. Thus,
ATML-based applications provide inherit extensibility to maintain compatibility among systems, while also maintaining flexibility
To gain further insight into an ATML component, here is a look at the ATML TestResults component, which describes how test
results should be organized.
3. TestResults Schema

As ATML defines, a test is any procedure for evaluating or quantifying the operation of a device or system. The TestResults
schema provides a standard format for exchanging and storing measured values, pass/fail results, and accompanying data
(including test operator, station information, and environmental conditions).
TestResults Example

The following example demonstrates the TestResults reporting by using NI TestStand, ready-to-run test executive software (
http://www.ni.com/teststand/) for organizing, controlling, and executing automated test systems. There are three steps to ATML
reporting behind the scenes of an NI TestStand sequence execution. The first is the result collection by the NI TestStand engin
into the NI TestStand ResultList container. The system tracks and stores all test properties, characteristics, and values in the
ResultList container. The second step generates a TestResults schema-based XML report using the data in the ResultList
container. The third step is the application of an ATML-compliant TestResults stylesheet that formats and displays TestResults
XML data in a user-friendly HTML format. To further illustrate the TestResults schema, the ATML TestResults report in Figure 2
generated from an NI TestStand example test sequence shown on the same figure. This sequence is a simple computer
motherboard test on ROM, RAM, video, and keyboard components, as well as the CPU and power subsystem.

2/5

www.ni.com

Figure 2.

example of an NI TestStand ATML test report stylesheet displays TestResults XML data in a user-friendly HTML format.

Upon executing the example test sequence, NI TestStand automatically collects each test step result and generates an ATML
TestResults-compliant test report that it stores as an *.xml file. Storing the test report in this format means other systems can
easily interpret the test result data and share information because the pertinent data is organized in a standard hierarchy within
known tags' defining elements.

4. TestDescription Schema

The ATML TestDescription schema seeks to describe the test conditions, limits and execution of a set of tests. By standardizin
the way the execution of a set of tests is described ATML increases the interoperability of test sequences by allowing a test
description to be run on different test systems.
TestDescription Example

One of the challenges of implementing the TestDescription schema as part of a test executive is converting a TestDescription f
into an executable sequence of tests. Custom built test executives are usually hard coded to read only one custom sequence f
format and will not support TestDescription without significant development.

In contrast, the NI TestStand ATML Toolkit (http://sine.ni.com/nips/cds/view/p/lang/en/nid/209821) can automatically generate a


skeleton TestStand sequence (as well as skeleton code modules in LabVIEW or LabWindows/CVI) from a TestDescription
document. In addition, the ATML Toolkit offers a custom code generator framework to extend the code auto-generation with an
custom logic.

The example in Figure 3. shows a sample TestDescription ATML document that describes a computer motherboard test, as we
as the auto-generated TestStand sequence that implements the test described by the document.

3/5

www.ni.com

Figure 3: An example of a ATML TestDescription document, and the NI TestStand sequence that was automatically generated
the ATML Toolkit
5. The ATML Reality

Many industries have adopted XML as a data exchange format, which is evident by the number of software vendors and hardw
manufacturers who have incorporated XML features into their products and test systems. With the emerging promise of ATML a
a test and measurement industry XML standard, some leading vendors have already begun implementing ATML capabilities in
their products and test solutions.
6. Perfecting a Standardized Data Exchange Interface

XML has proven to be an enduring technology for data exchange. The new XML-based ATML schemas in next-generation
automated test systems stand to impact the way test engineers approach defining and implementing test systems because they
can use existing developments and systems without encountering interfacing challenges. Ultimately, a standardized approach t
data exchange interfacing means that test engineers now can refocus their time and energy on the main task at hand -developing test systems.
Request a FREE 7-day evaluation of the ATML Toolkit (https://lumen.ni.com/nicif/us/evaltlktatml/content.xhtml) to view the
out-of-the-box support for ATML TestDescription translation and ATML TestResult reporting.
7. References

1. IEEE, "Automatic Test Markup Language," December 2004,


http://grouper.ieee.org/groups/scc20/tii/ATML/Working%20Groups/Management/ATML%20Overview.doc (
http://grouper.ieee.org/groups/scc20/tii/ATML/Working%20Groups/Management/ATML%20Overview.doc).

2. IEEE, "Draft Specification for Component Standard of Automatic Test Markup Language (ATML) for Exchanging Test Result
via XML," December 2004,
http://grouper.ieee.org/groups/scc20/tii/ATML/2004/01/IEEE%20P1636.1%20(ATML%20Test%20Results).doc (
http://grouper.ieee.org/groups/scc20/tii/ATML/2004/01/IEEE%20P1636.1%20(ATML%20Test%20Results).doc).
3. Use the ATML DataPlugin (http://zone.ni.com/devzone/cda/epd/p/id/5829) to manage, analyze and report ATML files in NI
4/5

www.ni.com

3. Use the ATML DataPlugin (http://zone.ni.com/devzone/cda/epd/p/id/5829) to manage, analyze and report ATML files in NI
DIAdem (http://www.ni.com/diadem/).

PRODUCT

SUPPORT

COMPANY

Order status and history (http://www.ni.com/status/) Submit a service request (


https://sine.ni.com/srm/app/myServiceRequests)
Order by part number (
http://sine.ni.com/apps/utf8/nios.store?action=purchase_form
Manuals (http://www.ni.com/manuals/)
)
Drivers (http://www.ni.com/downloads/drivers/)
Activate a product (
http://sine.ni.com/myproducts/app/main.xhtml?lang=en
Alliance Partners (http://www.ni.com/alliance/)
)

About National Instruments (


http://www.ni.com/company/)
Events (http://www.ni.com/events/)
Careers (http://www.ni.com/careers/)

Order and payment information (


http://www.ni.com/how-to-buy/)

MISSION
NI equips engineers and scientists with systems
that accelerate productivity, innovation, and
discovery.

(http://twitter.com/niglobal)

http://www.facebook.com/NationalInstruments)
(
http://www.linkedin.com/company/3433?trk=tyah)
(http://www.ni.com/rss/)

http://www.youtube.com/nationalinstruments)
Contact Us (http://www.ni.com/contact-us/)

(http://privacy.truste.com/privacy-seal/National-Instruments-Corporation/validation?rid=bc6daa8f-7051-4eea-b7b5-fb24dcd96d95)
Legal (http://www.ni.com/legal/) | National Instruments. All rights reserved. | Site map (
http://www.ni.com/help/map.htm)

5/5

www.ni.com

You might also like