USB-C™ DisplayPort™ Alt Mode Test Automation

Published 19-12-31 in category Test Automation • Writer Juha Eskola

USB-C™ DisplayPort™ Alt Mode Test Automation

With the ongoing flood of new USB Type-C™ products, the need for efficient USB-C test automation in production line environment grows stronger. Hectic production line environment sets many challenges for test automation tools. Automated tests used in production lines need to be reliable, fast and flexible. Further, Hardware test tools used need to be robust and compact in size. In this article we present different options for running automated tests on USB Type-C products. Examples are provided with automated tests run on a USB-C smartphone.

Running tests from command-line

Running automated tests from command-line is the simplest and most cost-effective way of conducting automated tests for USB Type-C™ products. Running tests from command-line batch files means that no additional Software is needed. Being the simplest solution it also means that there are limited options for reports, test parameters and test configurations. For more diverse and user-friendly solution it is possible for users to use a third-party application to set the test parameters. When test parameters are set and saved in a specific location, it is possible to call those tests from the command-line. 

Using Software Development Kit 

Unigraf's Software Development Kit (SDK) for test automation is called Test System Interface (TSI). TSI is a hardware independent, high-level Software Application Interface (API). It offers compact and short cycle time test routines with which the functionality of USB-C interface can be verified. Because of the nature of tests, many R&D TSI tests are specific to a certain interface and test equipment hardware. Since the structure of the TSI test calls is uniform, it is straightforward for the user to swap and re-use test applications between test setups. This will considerably save the test designer's time.

Using Unigraf's TSI API with C++ is a good alternative when test engineers want to integrate device control and TSI tests on their existing C++ code. This makes it an efficient and cost-effective way of implementing new automated tests into existing test automation setups. Correspondingly, when TSI API is used, SW engineers need to have a deep understanding of the underlying technology and automated test setups.

Using Test Management Software

Sometimes it might be in engineers interest to use a third-party test management software. One of the more common Test Management Softwares on the market is National Instrument's TestStand. NI TestStand is a ready-to-run test management environment and framework designed to simplify the automation of test and validation systems. NI TestStand is used to develop, manage and execute test sequences. NI TestStand provides a common unified environment and interface for all the different cases of automated testing. NI TestStand also integrates with enterprise systems, such as database management systems to incorporate easy database logging of test results. 

Automated tests on a USB-C smartphone

Unigraf's newly launched UCD-240 is specifically designed for automated tests in production line environment. It is a compact sized and flexible automated test tool for testing USB-C smartphones, laptops, tablets and more. In the following videos it is demonstrated how you can use UCD-240 to run automated tests on Samsung S8 smartphone. 

You can use Ungiraf's UCD-Console, delivered with UDC-240, to set and save the test parameters and call tests from the command-line. This is the most simple and cost-effective way of conducting automated tests on UCD-240 test tool. 


In the video below we show how you can use Unigraf's TSI to perform automated tests.


In the video below it is demonstrated how you can use a third-party test management software to perform automated tests with UD-240 HW.

VIDEO NI TestStand 

For more information on UCD-240 click here


Capturing the World

Electrical Tests Screenshot

Unigraf's Unique Electrical Tests run from command-line

TestStand Screenshot

Automated tests run on Unigraf's UCD-series device via NI TestStand

UCD-240 CC

Please check following form submission errors.

Write comment

To prevent spam comments, please enter the secure code you see in the image to the input field.