Perform Data Analysis with
                       Flexible, Usable and Automated
                       Scripting




    ...
Contents


•      Introduction to Scripting
•      Benefits and purposes of Scripting
•      Scripting in a nutshell
•    ...
Introduction to Scripting


• SEDana’s scripting language is based on QSA (Qt Script
  for Applications)

• The Scripting ...
Benefits and purposes of Scripting


• Benefits
          • Scripting has two main benefits:
                       • You ...
Scripting in a nutshell (Part I)


• Scripting Language
          • QSA scripting language reference is based on Jscript
 ...
Scripting in a nutshell (Part II)


• Dialog Framework
          • The Dialog Framework
            extends QSA to create
...
Scripting in a nutshell (Part III)


• Utility Framework
          • The QSA Utility Framework is a set of classes that ex...
Scripting in a nutshell (Part IV)


• Scripting Types of SEDana
          • Generic scripts (*.qsg)
                The ex...
SEDana’s Flexible, Usable and Automated
Scripting (Part I)

• The improved flexibility and usability of scripting was
  in...
SEDana’s Flexible, Usable and Automated
Scripting (Part II)

          • Quick Tour
                       •   Data Manipu...
Examples to perform data analysis with
scripting

• Example 1: Data Driven Filtering
          • Filtering based on data r...
Example 1:
Data Driven Filtering

• Step 1: Load data sets
          • Loading the selected STDF file
• Step 2: Filter bas...
Example 2:
Prepare R&R Data

• Step 1: Load R&R data sets
          • User needs to select number of trials and appraisers...
Conclusion


• Scripting (QSA) is an interpreted based scripting language
  extended with access for existing components (...
Thank you for your attention




                       For customer specific scripting contact:
                         ...
Upcoming SlideShare
Loading in …5
×

TUG, 2008 (Perform Data Analysis with Flexible, Usable and Automated Scripting)

354
-1

Published on

Presented a paper called "Perform Data Analysis with Flexible, Usable and Automated Scripting" on TUG (Teradyne Users Group) at Austin, TX (USA).

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
354
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

TUG, 2008 (Perform Data Analysis with Flexible, Usable and Automated Scripting)

  1. 1. Perform Data Analysis with Flexible, Usable and Automated Scripting Martijn van der Vlag, Salland Engineering martijn.vandervlag@salland.com 25 YEARS OF TUG Martijn van der Vlag 29 April 2008
  2. 2. Contents • Introduction to Scripting • Benefits and purposes of Scripting • Scripting in a nutshell • SEDana’s Flexible, Usable and Automated Scripting • Examples to perform data analysis with scripting • Example 1: Data Driven Filtering • Example 2: Prepare R&R Data • Conclusion & Questions Teradyne Users Group 2008 Martijn van der Vlag 2/15 25 Years of TUG 29 April 2008 Austin, TX - April 27-30
  3. 3. Introduction to Scripting • SEDana’s scripting language is based on QSA (Qt Script for Applications) • The Scripting API provide access to existing components of SEDana. • Scripting allow customers to reuse existing components of SEDana to build flexible, usable and automated scripts. • quot;Scriptsquot; are often treated as distinct from quot;programsquot;, which execute independently (interpreter based). Teradyne Users Group 2008 Martijn van der Vlag 3/15 25 Years of TUG 29 April 2008 Austin, TX - April 27-30
  4. 4. Benefits and purposes of Scripting • Benefits • Scripting has two main benefits: • You can perform actions faster and • You can define procedures in scripts to ensure that actions are done in the same way each time SEDana is run. • Purposes • Flexibility for users. • Interpretation of data. • Usability improvement of SEDana. Teradyne Users Group 2008 Martijn van der Vlag 4/15 25 Years of TUG 29 April 2008 Austin, TX - April 27-30
  5. 5. Scripting in a nutshell (Part I) • Scripting Language • QSA scripting language reference is based on Jscript (ECMAScript 4.0) provides the language features such as for loops, class and function definitions, etc. • Qt Script Language Concepts • Types and Objects • Variables and Constants • Functions, Operators and Declarations • Control Statements Teradyne Users Group 2008 Martijn van der Vlag 5/15 25 Years of TUG 29 April 2008 Austin, TX - April 27-30
  6. 6. Scripting in a nutshell (Part II) • Dialog Framework • The Dialog Framework extends QSA to create dialogs using Qt Script. • The Message Box class provides a simple way of popping up a message box window for the user. • The File Dialog class provides dialogs that allow users to select files or directories. Teradyne Users Group 2008 Martijn van der Vlag 6/15 25 Years of TUG 29 April 2008 Austin, TX - April 27-30
  7. 7. Scripting in a nutshell (Part III) • Utility Framework • The QSA Utility Framework is a set of classes that extends QSA to: • File - enable the user to read and write files • Dir - access directory structures • Process - start processes synchronously and asynchronously. File Dir Process Teradyne Users Group 2008 Martijn van der Vlag 7/15 25 Years of TUG 29 April 2008 Austin, TX - April 27-30
  8. 8. Scripting in a nutshell (Part IV) • Scripting Types of SEDana • Generic scripts (*.qsg) The examples later on are generic scripts. • Column scripts (*.qsc) • Library scripts (*.qsl) • Template scripts (*.qst) • Histogram scripts (*.qsh) • Alias scripts (*.qsa) Teradyne Users Group 2008 Martijn van der Vlag 8/15 25 Years of TUG 29 April 2008 Austin, TX - April 27-30
  9. 9. SEDana’s Flexible, Usable and Automated Scripting (Part I) • The improved flexibility and usability of scripting was incentive for Salland Engineering to take SEDana, its data analysis tool, to the next level. • Flexible – Modify data, statistics and display information. • Usable – Instantly create, modify and execute scripts solutions you never thought of using with SEDana. • Automate – Create script procedures called by scripting buttons or command line. Teradyne Users Group 2008 Martijn van der Vlag 9/15 25 Years of TUG 29 April 2008 Austin, TX - April 27-30
  10. 10. SEDana’s Flexible, Usable and Automated Scripting (Part II) • Quick Tour • Data Manipulation • Graph, Table & Text generation • File I/O & Dir control • GUI Elements • Custom output formats • Scriptable Graph • Scriptable Table • Task automation Teradyne Users Group 2008 Martijn van der Vlag 10/15 25 Years of TUG 29 April 2008 Austin, TX - April 27-30
  11. 11. Examples to perform data analysis with scripting • Example 1: Data Driven Filtering • Filtering based on data results to analyze subsets of data. • Example 2: Prepare R&R Data • Prepare data sets for R&R so that data are outlined to perform R&R. Teradyne Users Group 2008 Martijn van der Vlag 11/15 25 Years of TUG 29 April 2008 Austin, TX - April 27-30
  12. 12. Example 1: Data Driven Filtering • Step 1: Load data sets • Loading the selected STDF file • Step 2: Filter based on the input data • Select all tests that have a cp < 2 and cpk < 2. • Create histograms of all selected tests • Create a Capability Table of the loaded STDF file • Step 3: Create a test report and open the PDF • Add the Capability Table and Histograms to a test report. • Create the report • Open the PDF generated report. Teradyne Users Group 2008 Martijn van der Vlag 12/15 25 Years of TUG 29 April 2008 Austin, TX - April 27-30
  13. 13. Example 2: Prepare R&R Data • Step 1: Load R&R data sets • User needs to select number of trials and appraisers • Create dialog with needed R&R data sets • Load in selected data sets • Step 2: Skip all parts that does not have the same binning information • Step 3: Remove duplicate parts based on X/Y Information • Step 4: Export and reload new data sets Teradyne Users Group 2008 Martijn van der Vlag 13/15 25 Years of TUG 29 April 2008 Austin, TX - April 27-30
  14. 14. Conclusion • Scripting (QSA) is an interpreted based scripting language extended with access for existing components (also called Scripting API) of SEDana that give the user flexibility, usability improvement and enabling automation of scripts. Questions • Questions can be asked now or • contact: sedana@salland.com Teradyne Users Group 2008 Martijn van der Vlag 14/15 25 Years of TUG 29 April 2008 Austin, TX - April 27-30
  15. 15. Thank you for your attention For customer specific scripting contact: sedana@salland.com Martijn van der Vlag, Salland Engineering martijn.vandervlag@salland.com 25 YEARS OF TUG Martijn van der Vlag 29 April 2008

×