TestStand%20Customization%20Techniques - PowerPoint PPT Presentation

About This Presentation
Title:

TestStand%20Customization%20Techniques

Description:

Two categories of step types. Complete drop-in functionality, ... Scan New UUT. Call User Seq. Report. Shutdown. Process Model. Test File. Step1. Step3. Step... – PowerPoint PPT presentation

Number of Views:249
Avg rating:3.0/5.0
Slides: 17
Provided by: Doug348
Category:

less

Transcript and Presenter's Notes

Title: TestStand%20Customization%20Techniques


1
TestStand Customization Techniques
  • Doug Melamed
  • TestStand Software Engineer
  • Wed Aug 16
  • 1200-115 p.m., 330-445 p.m.
  • San Jacinto (5B)

2
Agenda
  • Using the TestStand ActiveX API
  • Creating custom step types
  • Customizing the process model
  • Building add-in tools

3
The TestStand API
Operator Interfaces
Sequence Editor
TestStand ActiveX API
Process Model
Step Types
Test Code Modules
4
Typical Uses of the TestStand API
  • Test modules and step type modules
  • Access variables and properties
  • Operator interfaces
  • Start and monitor executions
  • Process models
  • Control result collection, etc.
  • Sequence Steps
  • Multithreading, etc.
  • Custom add-in tools
  • Inspect or edit sequence files

5
Customizing the Operator Interface
6
Step Types
  • Advantages
  • Code re-use
  • Easier sequence development
  • Facilitates third party add-ins
  • Two categories of step types
  • Complete drop-in functionality, no user written
    code
  • Adds configuration and additional functionality
    to users code

7
Creating a Step Type
  • Add your own custom properties
  • Specify default settings for built-in and custom
    properties
  • Create substeps
  • Edit create a dialog box in which the user can
    configure custom properties
  • Pre specify actions to occur before the users
    code module
  • Post specify actions to occur after the users
    code module

8
Step Type Example
9
What Is a Process Model?
  • The set of operations that define the test
    procedure
  • Scan serial number
  • Test UUT
  • Generate report
  • Log to database
  • Display pass/fail banner
  • Configuration of these operations
  • Configure report options
  • Configure database options

10
What Is a Callback?
  • Process model operations that you can override in
    your test sequence
  • Use to customize the test process for a specific
    test sequence
  • Implemented as sequences in the process model
  • Overridden by a sequence in a specific sequence
    file

11
Process Models and Callbacks
Process Model
Test File
Init System
Step1
Scan New UUT
Step2
Call User Seq
Step3
Report
Step...
Shutdown
12
Common Process Model Customizations
  • Change report/database format
  • Customize serial number entry
  • Communication with line/board handler
  • Adding system initialization and calibration

13
Process Model Example
  • On the fly report generation

14
Building Add-in Tools
  • You can create tools to inspect or edit sequence
    files
  • Appear in sequence editor and operator interface
    menus
  • Can be sequences or executables
  • Example tools
  • Sequence file documentation generator
  • Sequence file converter
  • Import/export limits

15
Add-in Tools Example
16
Questions?
Write a Comment
User Comments (0)
About PowerShow.com