UCD Console for UCD-340 User Manual | Unigraf Oy
60.
Macros example to set source device to two lane DP Alt Mode and check that it succeeded:
-d SourceDevice #source device from init.tsi
-o 1 #output level 1
-timeout 20000 #time to wait for -waiton below
# Set DP Alt Mode for UCD-340. This is a comment
-pr " " # a print command
-pr "-----------------------"
-pr "DP Alt Mode 2 lane Test"
-pr "-----------------------"
-pr "Setting Source into 2 lane DP Alt-mode..."
-c Source_2lanesOn #run macro to set source into 2 lane DP Alt-mode
-d SinkDevice #sink device from init.tsi
-pr "Setting Sink into 2 lane DP Alt-mode..."
-c 2lanes #run macro to set sink into 2 lane DP Alt-mode
-waiton ?2lanesModeOn #wait until ?2lanesModeOn is true (a macro)
-pr "Verifying DUT is in 2 lane DP Alt-mode..."
-c ?2lanesModeOn -ontrue -pr "Test PASSED" -pr "Test FAILED" #print results
-pr " "
Running TSI.EXE
The program can be run from the Windows command line or from scripting languages such
as python. The program is executed as follows:
> tsi.exe [option1] [target1] [option2] [target2]
When executed without any parameters, help will be printed (
-h
).
See the Table below for options and targets.
Option
Target
Description
-o
Output level (0 – 3).
-err
"stop" or
"continue"
Action on test fail (stop or continue).
-l
List connected devices.
-ll
List licenses (a device must be open).
-devinfo
Device information.
Summary of Contents for UCD-240
Page 1: ......
Page 76: ...UCD Console for UCD 340 User Manual Unigraf Oy 76 ...