UCD Console for UCD-340 User Manual | Unigraf Oy
68.
Running Tests
Tests are of the form:
-c .loadtd = filename.td;
filename.td is a test that has been saved (from the UCD Console program for example).
Some tests require operator feedback: the DUT (device under testing) needs to be set into a
defined state. Tsi.exe can be used for this. A typical test requiring feedback would be run as
follows:
-xfeedback "C:\TSIX\tsi.exe" -c .loadtd=test443.td
When tsi.exe calls for operator feedback it will launch another instance of tsi.exe with various
parameters (see "
Operator feedback during test execution"
in this manual). The first
parameter is op=number which defines the operator feedback id. The parameters may look
like: op=9;res_x=1280;res_y=800;res_frate=60000;res_bpp=12;exit_proceed=9; Tsi.exe
takes these parameters (except for op and exit_proceed) and creates global variables with
these names. exit_proceed is used for the instance return value. Tsi.exe then creates a single
commad of the form: -r OperatorFeedBackRequest_ID_9.txt (for op=9). Tsi.exe expects to
find this file and proceeds to run it. It will exit with the value "exit_proceed" and the instance
running the test will proceed. An example of a feedback file for op=2 could be:
#Operator Request op=2;res_x=640;res_y=480;res_frate=60000;exit_proceed=2
-o 0
-var testrun=0 #Set to 1 for testing this script
#below for testing
-if testrun.eq.1
-var op=2
-var res_x=640
-var res_y=480
-var res_frate=60000
-var exit_proceed=2
-endif
#above for testing
#actual script to use as operator feedback below
-d SourceDevice #select device
-var timing=0 #timing variable set below
-r FindPredefinedTiming.txt #calculate timing id from res_x, res_y, res_frate
-c TSI_W_PG_PREDEF_TIMING_SELECT=timing
-pr "Predefined timing = " -prvar timing
-prapp " " -prvar res_x
-prapp " x " -prvar res_y
-prapp " @ " -prvar res_frate*0.001 -prapp "Hz"
Summary of Contents for UCD-240
Page 1: ......
Page 76: ...UCD Console for UCD 340 User Manual Unigraf Oy 76 ...