#! /usr/lib/veetest/veetest -r
(revision "B.00.00")
(date "Fri 20/Nov/1992")
(component 0 "ROOTCONTEXT"
 (name "CONTENTS")
 (interface
 )
 (implementation
  (locked no)
  (trigMode deg)
  (nextID 1)
  (component 0 "NOTE"
   (name "MFGTEST")
   (interface
   )
   (implementation
    (component text 118 5
     This subdirectory contains examples which show the application of HP VEE to the 
     manufacturing test environment.  Many of the new features added in the HP VEE 2.0
     release, such as User Functions, Globals, Records and DataSets, and the Sequencer, are 
     highlighted in this directory.  
     
     For an overall demo of HP VEE's manufacturing test capabilities, run the mfgtest.ex
     model.  This is the same demo that was shipped in the first release redone using 
     HP VEE 2.0 features.  The version using 1.0 features has been named mfgtst1.ex.
     
     The example mfgauto.ex is the same example, except that all prompts have been
     removed.  This allows a continuous demo of this example.
     
     This directory also contains three examples which are discussed in Chapter 13 of
     the "Using HP VEE-Engine and HP VEE-Test" manual.  They are manual44.ex, manual45.ex
     and manual46.ex.  They demonstrate some of the capabilities of the Sequencer.
     seqEval.ex also shows how to use the Sequencer.
     
     The remaining examples show how to build a manufacturing test program module by
     module.  They demonstrate some of the techniques which can be used.  You may want
     to copy some of the pieces to your own directory to use in building your own program.
     
     The example titled "userInfo.ex" demonstrates the use of a Sequencer to implement
     a simple login scheme.  The idea is to allow your user to have several tries at 
     successfully entering a login name and password.  Also, the Sequencer which runs
     the login facility has been made into a User Function.  We did this so that the
     login application can be called from another sequencer.  In this way, we demonstrate
     the reuse of applications and the Sequencer's hierarchical capabilities.
     
     The example "func.ex" is an example that illustrates the Sequencer's capabilities
     to perform a few elemetary functional tests.  Essentially, we run through
     three simple tests that look for voltage, resistance, and current measurements from a
     3478 volt meter.  Of particular interest is the User Function named "testProgress".
     We have configured the Sequencer such that it logs the results of each test transaction
     to the "testProgress" function.  This creates a display showing the results of each test
     transaction as the test executes.  
     
     The example "diag.ex" expands upon "func.ex" to include a diagnostic test which
     executes as a result of some other test failing.  The diagnostic routine compares
     a waveform to two "golden" waveforms which represent an envelope of acceptable values.
     The display is scaled such that only those points which have fallen outside the
     envelope are visible in the graphical displays.  This illustrates the capability to
     programmatically scale XY displays to display only the parts of your data you are
     interested in.
     
     The example "applic.ex" takes the "diag.ex" example one step further.  We illustrate
     the use of Records and Data Sets to generate an end-of-test report.  In particular,
     we illustrate the use of Sequencer log results to build both textual and graphical
     displays representing both overall and individual test results.  In addition, we 
     have imported to this example almost all of the functions it uses.  We import the
     functions as they are needed and delete them as we are finished with them.  By so
     doing, we spread out the load time our program takes, and we keep the total amount of
     required system resources to a minimum.
     
     The example titled "testRep.ex" contains the User Functions which generate the
     end-of-test report used in the "applic.ex" program.  It gets the data it displays from 
     a canned file called "demodata.dat"
      
     These examples can either be run with real instruments, or the data can be simulated.
     The examples use the following instruments which are contained in the default .veeio
     file: dvm (HP3478a), fgen (HP3325b) and scope (HP54504a).  You must have these
     instruments configured in your .veeio file to run the examples.  If you have these
     instruments and wish to run the examples using the real instruments, you must be sure
     that you turn Live Mode On.  The default .veeio file ships with Live Mode Off.
     
     
     Files ending in ".ex" are VEE models that may be loaded and run.
     
        EXAMPLE                                           
        FILENAME           DESCRIPTION                    
     ----------------------------------------------------------------------------------
     
     applic.ex			The complete functional/diagnostic test with report generation.
                         It imports from diag.ex, func.ex, testRep.ex and userInfo.ex.
     
     demodata.dat        DataSet used by testRep.ex.
     
     diag.ex				Does a functional test followed by a diagnostic test.  Also shows
     					the changing of display scales programatically with a record.
     					Imports from func.ex and userInfo.ex.
     
     func.ex				Does a functional test.  Imports from userInfo.ex.
     
     manual44.ex			Shows how to collect output from the Sequencer Log output terminal,
     					and then analyze the test results.
     
     manual45.ex			Shows how to output logged test results from the Sequencer to a
     					DataSet, and then retrieve the data from the DataSet and analyze
     					the results.
     
     manual46.ex			Shows how to use the Sequencer object to solve a simple bin sort
     					problem.
     
     mfgtest.ex			Manufacturing Test Demo program.  Uses HP VEE 2.0 features.
     
     mfgtest1.ex			Contains user functions which are imported by mfgtest.ex.
     
     mfgauto.ex          A copy of mfgtest.ex that runs continuously.
     
     mfgauto1.ex         The function that is called by mfgauto.ex.
     
     mfgtst1.ex			Manufacturing Test Demo program.  This is the previous version
     					of the demo program which used HP VEE 1.0 features only.  Comparing
     					mfgtst1.ex and mfgtest.ex will show how the new HP VEE 2.0 features
     					made the manufacturing test demo program quicker and 
     					easier to build and understand.
     
     mfg1tst1.ex			Called by mfgtst1.ex via Execute Program.
     
     names.dat			Data file containing valid login names used by userInfo.ex.
     
     passwd.dat			Data file containing valid passwords used by userInfo.ex.
     
     seqEval.ex			Shows how to use THEN EVALUATE in a Sequencer.
     
     testRep.ex			End of test report generator.
     
     userInfo.ex			Provides login capability.
     
    )
   )
   (views
    (icon
     (extent 78 0)
    )
    (detail
     (origin 26 109)
     (extent 828 362)
     (editing enabled)
    )
    (active detail)
   )
  )
  (configuration
  )
 )
 (views
  (panel
   (origin 0 62)
   (extent 900 433)
   (widget 0 detail
    (title on)
    (origin 37 109)
    (extent 828 362)
    (editing disabled)
   )
  )
  (detail
   (origin 0 62)
   (extent 880 413)
   (configuration
   )
  )
  (active panel)
  (active panel)
  (numberFormats
   (realFormat standard)
   (realSigDigits 4)
   (realRadixSpec 4)
   (integerBase decimal)
  )
  (waveformSettings
   (timeSpan 0.02)
   (numPoints 256)
  )
 )
)
