Test Automation Using vAccessTest™
Kozio provides a number of real-time embedded software tools that perform DDR calibration and test, storage device programming, and hardware interface testing. Provided with each tool is a User Interface, but all of the embedded software tools also work through vAccess™. vAccess is a Windows DLL that allows you to automate calibration, programming, and testing.
Kozio customers can use vAccess with custom or commercial third-party test executives. For example, a customer can use NI’s TestStand and make calls directly to the vAccess API. The three steps common to all tools is to Connect, Execute Command, and Disconnect. Each real-time embedded software provides a set of commands that can be called through vAccess. With very little effort, a customer can begin to use any test executive for executing their desired test sequence.
Kozio also provides an extremely primitive test executive as an example of how to use vAccess. That example program is called vAccessTest.exe and is delivered through the vAccess Installer. The vAccessTest tool provides two modes of operation: a command line mode and an interactive console window.
vAccessTest Command Line Mode
The value of running vAccessTest in command line mode is that you can execute multiple Kozio script files in batch mode without operator intervention. The first step is to use the VTOS Program™ or VTOS Scan™ UI to export a Kozio script file based on your configuration and test setup. Then use vAccessTest to parse and execute that script file. This process is very efficient for developing new test scripts for your custom board design.
Here is an example of running a Kozio script file generated by VTOS Scan. In this example, we pass in a path to our vAccess.ini file that defines which fixtures we are using and also the script file to run.
vAccessTest Console Mode
The main value of using vAccessTest in console mode is that you can interactively test your commands and test sequences. From the console window, you can execute any command that is available from the embedded software tool you are connecting with. For example, you can connect with VTOS DDR embedded software and run various DDR tests and verify how you want your automated tests to run.
Here is an example of running vAccessTest in console mode to display the embedded software version and to run an I2C bus scan. You can also use the `run option to parse the script file executed in the prior example.
Another noteworthy feature of the real-time embedded software tools is that they can be used to export Kozio script files (*.ksc) and TestStand Sequence (*.seq) files. The exported files can be directly used by TestStand or vAccessTest.
vAccessTest is provided free of charge, but vAccess requires a license per test station. When using floating licenses, a license is only in use while you are connected to a target.
Contact us if you would like additional information on test automation using vAccess™, VTOS DDR™, VTOS Program™, VTOS Scan™, and other Kozio real-time embedded tools.