background image

UCD Console for UCD-340 User Manual | Unigraf Oy 

 

 

54.

 

 

Request ID 12 

Request for operator to check video pattern and respond  with “pass” if video playback is 
correct,  and  with  “fail”  if  video  playback  is  not  correct.  The  following  parameters  are 
included: 

 

“op” – ID for this request (12) 

 

“exit_pass” – Value for the application to return for “pass” response. 

 

“exit_fail” – Value for the application to return for “fail” response. 

Request ID 13 

Request  for operator to play the “ping test pattern” audio stream three times and verify it 
played correctly. If the playback is correct, respond with “pass” or if the playback was not 
correct, respond with “fail”. The following parameters are included: 

 

“op” – ID for this request (13) 

 

“exit_pass” – Value for the application to return for “pass” response. 

 

“exit_fail” – Value for the application to return for “fail” response. 

Request ID 14 

Request  for  DUT  to  write  FEC_READY  bit  in  DPCD  register  0x120 
FEC_CONFIGURATION. The following parameters are included: 

 

“op” – ID for this request (14) 

 

“exit_proceed” – Value for the application to return as its exit code. 

Request ID 15 

Request for DUT to send the ENABLE_FEC sequence as described int the DP specifications. 
The following parameters are included: 

 

“op” – ID for this request (15) 

 

“exit_proceed” – Value for the application to return as its exit code. 

Request ID 16 

Request for DUT to send the DISABLE_FEC sequence as described in the DP specficiations. 
The following parameters are included: 

 

“op” – ID for this request (16) 

 

“exit_proceed” – Value for the application to return as its exit code. 

 

Operator Feedback configuration items 

The following configuration items are used to configure the operator feedback mechanism. 

TSI_TS_OF_MODE 

TSI_TS_OF_MODE 

 

 

 

 

 

0x215 

unsigned int of_mode  

 

 

 

U32 

4 bytes 

 

 

 

 

 

 

RW 

Synopsis 

Currently not configurable as only a single mode is available. In this mode TSI will run an 
external application when a test needs operator feedback or intervention with the test. 

Summary of Contents for UCD-240

Page 1: ......

Page 2: ...fied in the correctness on the date of issue The authors reserve the rights to make any changes to this product and to revise the information about the products contained in this manual without an obligation to notify any persons about such revisions or changes Edition UCD 240 User Manual Version 1 Date 29 4 2019 Company Information Unigraf Oy Piispantilankuja 4 FI 02240 ESPOO Finland Tel 358 9 85...

Page 3: ... will provide repair or replacement of the product Unigraf shall have the whole discretion whether to repair or replace and replacement product may be new or reconditioned Replacement product shall be of equivalent or better specifications relative to the defective product but need not to be identical Any product or part repaired by Unigraf pursuant to this warranty shall have a warranty period of...

Page 4: ...License Manager 17 Licensing 17 License Manager GUI 17 Managing Licenses 18 UCD Console GUI 19 Device Selection 19 Select Role 19 Source DUT Testing Tab 20 Sink DUT Testing Tab Virhe Kirjanmerkkiä ei ole määritetty Appendix A Product Specification 77 UCD 240 77 CRC Based Video Test Set DP RxVirhe Kirjanmerkkiä ei ole määritetty CRC Based Single Reference Frame Video TestVirhe Kirjanmerkkiä ei ole ...

Page 5: ... Source Virhe Kirjanmerkkiä ei ole määritetty TSI Programming 46 Operator feedback during test execution 46 Operator feedback implementation in TSI 46 Selecting which application TSI will run 46 External application requirements 47 Request parameters 48 Request parameter details 52 Operator Feedback configuration items 54 Extended scripting engine 57 Getting started 57 Defining test equipment devi...

Page 6: ...eatures of the UCD 240 units Provide instructions for the user how to use UCD Console software Provide examples on how to perform automated tests with UCD 240 test tool Product and Driver Version This manual explains features found in UCD Console Software Package 1 7 0 Please consult Unigraf for differences or upgrades of previous versions Please consult the Release Notes document in the installat...

Page 7: ...s for USB C DisplayPort Alt Mode Electrical Test to verify whole USB C connector with single cable insert Monitoring and control of data and power delivery roles of the USB C interface High resolution DP alt mode video and audio capture up to 4K UHD 60 Hz Compatible with HDCP versions 1 3 and 2 2 Optional Power Test Unit for testing high voltage and power options High speed USB 3 0 host PC interfa...

Page 8: ...al Power Test Unit Connector for Unigraf s USB C External Power Test Unit Power in 12 Vdc Power Supply Input USB 3 to host PC USB 3 0 connection to the controlling PC Note Capturing and sourcing high resolution video modes especially 4K video modes set stringent requirements on the video cables and connectors Please contact Unigraf for assistance and details about evaluated cables Warning In order...

Page 9: ... Source and Power Sink options of UCD 340 internally and with attached Unigraf External Power Test Unit Please find description of controlling the power options with UCD Console later in this manual 5 V 9 V 12 V 15 V 20 V 0 5 A 0 9 A 1 5 A 3 A 3 A 3 A 3 A 5 A Vbus Source capability UCD 240 UCD 240 with External USB C Power Test Unit Vbus Sink capability UCD 240 UCD 240 with External USB C Power Te...

Page 10: ...Unigraf Electrical test cable with units including Electrical Test USB 3 0 Memory Stick Unigraf USB Flash Drive The USB Flash drive delivered with UCD 240 device includes the following items o Test Sequences and macros o UCD 240 Software installation package o Tutorial Videos o UCD 240 Quick Guide o Data Sheet o Test Content mp4 video o High Low resolution reference images o User Manual download l...

Page 11: ... VBUS and four GND signals that are normally tied together at DUT s end of the cable Please refer to the image below for clarification Connecting the Unigraf Electrical Test Cable You can ensure that the Electrical Test Cable is connected correctly by running the WaitForUnigrafCableConnected Windows Batch File The file can be found from the USB Flash Drive delivered with UCD 240 from the Test Auto...

Page 12: ...lanes DP Alt Mode by running the Set4LanesModeOn macro Correspondingly you can set the DUT to 2 lanes DP Alt Mode by running Set2LanesModeOn macro Detailed information about the macros can be found from the USB Flash Drive delivered with UCD 240 from the macros text file Checking the Status of the DUT You can check the status of the DUT by running the USBCRoleStatuses text file The file can be fou...

Page 13: ...n attempt to access download page Username unigraf Password ruukintie The installation package is a bundle between the components needed for UCD Console and for TSI SDK The bundle contains the following items Windows drivers installed during set up UCD Console software GUI installed during set up License Manager installed during set up UCD Configuration Utility installed during set up TSI SDK User...

Page 14: ... The welcome page shows the software package release version Click Next to continue In the next dialogs you will be able to define the software components installed The next two dialogs will allow you to define the installation folder in your PC and the Start Menu folder used When you are ready with the selections click Install to start the installation Click Finish to exit the installation dialog...

Page 15: ...e contact Unigraf for details To update the firmware or create a new configuration on a UCD 300 device please perform the following steps Connect the UCD 240 unit to a power supply and connect the USB cable Open UCD Console Select Tools Firmware update You can launch the utility alternatively by running the UCD Firmware Configuration in Start Menu Unigraf UCD 240 The first page of the utility indi...

Page 16: ...omits the ones that are the same When you are done click Next While the configuration is in progress you will be asked to power cycle the device between the parts Note The procedure may take several minutes depending on the speed of the USB connection of the host PC When completed power cycle the device Note The new firmware will be taken in use only when the device is powered up next time ...

Page 17: ...ortcut to Unigraf License Manager can be found in Start Menu under All programs Unigraf TSI Please click Yes in the first dialog License Manager can be run only with Administrator rights Note System administrator s privileges are required for accessing the licenses License Manager GUI Once the application starts up it will look for any licensing enabled Unigraf device If no suitable device familie...

Page 18: ...seed number on the license key sticker matches the seed number displayed seed number for the device Please note that to avoid confusion some letters will never appear in a license key because they resemble numbers For example capital G and number 6 are very similar when printed with small font When in doubt use numbers Also please notice that characters that can t be part of valid license key are ...

Page 19: ...dialog provides a list of UCD devices connected in the PC Please select your target device by clicking on the appropriate button If you cannot find your device in the list please confirm the power and USB connection to the device and click the Rescan button Select Role The use of UCD 240 devices with UCD Console is divided in display interface specific roles The structure of UCD Console varies bet...

Page 20: ... DP RX Simple LT test set USB Type C Electrical test set DP RX CRC test set Test Configuration By clicking the Configure button you can modify the test parameters Click OK to apply the changes By clicking the Presets button you can create preset test configurations and save them by clicking Save preset as You can load the saved presets by clicking Load preset and selecting the preset you want to l...

Page 21: ... button Please note that the DUT needs to be set to DP Alt Mode before the capturing can be done For instructions to set the DUT to DP Alt Mode please refer to chapter 4 in this manual Also notice that the captured reference frame should not include any items that might change during the testing procedure such as time or batter level indicators After the capturing has been started automated tests ...

Page 22: ...ame Width Height BPP and optionally Frame rate to provided parameters and after that captures frames and compares the CRC check sum of their three color components to the provided reference until the number of bad frame limit provided is detected or the provided total number of frames is reached The test is judged FAIL if video mode does not match or the number of bad frames is exceeded The test o...

Page 23: ... BPP and optionally Frame rate to provided parameters After that captures frames to find a frame with matching CRC check sum of their three color components to the first provided reference After the first matching CRC is found it compares the CRC of the following frames until the Number of frames tested parameter is reached The test is judged FAIL if video mode does not match the first frame in th...

Page 24: ...eout or until the provided number of repetitions is reached The test is judged FAIL if video mode does not match the first frame in the list is not found or the CRC of the following frames do not match the provided list The test optionally captures the failed frames as bitmap images and stores them into the hard disc Parameters in use Test Timeout default 100 000 ms Number of frames to be tested d...

Page 25: ...est requests link training on all supported lane counts and link rates Each link training must be successfully completed in order to pass the test Parameters in use Test Timeout default 5 000 ms Max lane count supported by DUT default 4 Max lane rate supported by DUT as multiple of 0 27 Gbps valid settings 6 10 and 20 default 20 Long HPD pulse duration default 1 000 ms Link training start timeout ...

Page 26: ... test configuration by clicking the Import button You can modify the test parameters by clicking the Configure button Click the value you would like to change and type in the desired value You can save the test parameters by clicking the Presets button Click OK to save the changes and exit the window Click Cancel to exit the window without saving the parameters ...

Page 27: ...rical Testing feature enabled with a corresponding license Parameters in use Test timeout default 5 000 ms R plug duration default 1 500 ms DUT attach timeout default 10 000 ms CC low voltage limit for default current 0 5 0 9A default 261 mV CC high voltage limit for default current 0 5 0 9A default 588 mV CC low voltage limit for 1 5A current default 675 mV CC high voltage limit for 1 5A current ...

Page 28: ... as power source and advertise only vSafe5V for power contract In order to run this test the DUT must support Power Sink role In the start of the test TE temporarily disconnects the CC lines to simulate a re plug event and waits for Power Contract to be established After Power Contact has been established TE will wait for the delay stated in Measurement delay parameter and measures the current in ...

Page 29: ...1 Yes 0 No 31 0 Reserved R plug duration default 1 500 ms DUT attach timeout default 10 000 ms Power Contract timeout default 10 000 ms Vbus voltage low limit default 4 750 mV Vbus voltage high limit default 5 500 mV Vbus current deviation between wires default 100 mA Return GND current deviation between wires default 100 mA Measurement delay default 2 000 ms Minimal current default 20 mA ...

Page 30: ...tion during the measurement can cause this test to fail Total currents are calculated for Vbus and for GND The difference in the measured values of the four connections may not exceed the programmed deviation limits For PASS result the measured Vbus voltage Vbus current and GND line current must be within the ranges defined by provided parameters Important In order to run this test with UCD 340 Un...

Page 31: ...ation click the Export button You can load previously saved test configuration by clicking the Import button For detailed information about setting the test configuration please refer to page 26 of this manual Test sets available in the USBC Electrical Test Set are Up Face Port CC and Vconn Test AUX SBU Lines Test DUT as Power Sink DUT as Power Source Up Face Port CC and Vconn Test This test verif...

Page 32: ... 0 5 0 9A default 261 mV CC high voltage limit for default current 0 5 0 9A default 588 mV CC low voltage limit for 1 5A current default 675 mV CC high voltage limit for 1 5A current default 1 189 mV CC low voltage limit for 3A current default 1 238 mV CC high voltage limit for 3A current default 2 181 mV Vconn low voltage limit 4 750 mV Vconn high voltage limit 5 500 mV AUX SBU Lines Test This te...

Page 33: ...ort Power Sink role In the start of the test TE temporarily disconnects the CC lines to simulate a re plug event and waits for Power Contract to be established After Power Contact has been established TE will wait for the delay stated in Measurement delay parameter and measures the current in Vbus and GND lines and the voltage of Vbus The purpose of the delay is to allow the DUT time to stabilize ...

Page 34: ... ms DUT attach timeout default 10 000 ms Power Contract timeout default 10 000 ms Vbus voltage low limit default 4 750 mV Vbus voltage high limit default 5 500 mV Vbus current deviation between wires default 100 mA Return GND current deviation between wires default 100 mA Measurement delay default 2 000 ms Minimal current default 20 mA ...

Page 35: ...tion during the measurement can cause this test to fail Total currents are calculated for Vbus and for GND The difference in the measured values of the four connections may not exceed the programmed deviation limits For PASS result the measured Vbus voltage Vbus current and GND line current must be within the ranges defined by provided parameters Important In order to run this test with UCD 340 Un...

Page 36: ...ure by running Electrical Tests on Up Face Port CC and VCONN pins By measuring the actual voltages through USB C connector pins we can ensure that all pins are functioning and the soldering has been done properly Second we will run automated DP Alt Mode tests for both two and four lines to make sure that the DUT is functional in both DP Alternate Modes Third we will perform one CRC based video tes...

Page 37: ...s used in this test set up might not be suitable for other DUTs Also some of the test parameters such as the voltage limits in electrical tests are based on the USB C specifications Test parameters are saved as a text file When an automated test script is run the parameters are automatically searched from the test parameters text file For detailed instructions on how to set the test parameters ple...

Page 38: ... the command line by calling the test scripts Alternatively you can run automated tests by opening the batch files that will automatically perform the automated tests When test is run from the command line the set test parameters set earlier in the UCD Console GUI are shown in the test log ...

Page 39: ... orientation The actual measured voltages in straight cable orientation for each pin are shown in the test log The testing icon below will appear on the command line as an external window to demonstrate which pins are being measured at each step of the test After the test a gif will indicate if the test passed or failed ...

Page 40: ... SW based cable flip After finishing the first set of measurements Unigraf s unique SW based cable flip feature will change the cable orientation from straight to flipped The SW based cable flip enables testing both cable orientations without unplugging the cable ...

Page 41: ...Console for UCD 340 User Manual Unigraf Oy 41 Measuring voltages on CC and Vconn lines on flipped cable Same measurements as in the first step of the test are now performed in the flipped cable orientation ...

Page 42: ...r both cable orientations Measured voltages and ranges defined in the USB C specification are shown for each measurement In the final row of the test run it s shown if the test passed or failed In this test case all measurements were within the accepted range and the Up Face Port and VCONN test passed ...

Page 43: ...chapter in Chapter 9 Please note that UCD Console GUI cannot be operated if UCD 240 is running scripts on the command line Before running automated CRC based video test a reference frame must be captured and the DUT must be set to DP Alt Mode You can set the DUT to DP Alt Mode by running the Set4LanesModeOn or Set2LanesModeOn macro For detailed instructions refer to chapter 4 of this manual Detail...

Page 44: ...u can run automated tests by opening the batch files that will perform the automated tests When test is run from the command line the set test parameters set earlier in the UCD Console GUI are shown in the test log Test Steps Measuring timings and checking parameters Test sequence checks that the width height and BPP of the incoming video in correct ...

Page 45: ...s CRC values captured and defined earlier The number of mismatches found during the are shown Test Results Finally it shown if the test passed In the UCD Console GUI it is set how many mismatched on the test are allowed In this case 0 mismatched were found and the test passed The automated CRC based single frame video stability test took 2 14 seconds to run in this test case ...

Page 46: ...n this mode TSI will run an external application A default command line application is distributed with TSI along with its source code TSI itself can be the external application see Error Reference source not found Running Tests Selecting which application TSI will run By default TSI will use its own operator feedback application for all operator feedback requests However it is possible to define ...

Page 47: ... will pass a file reference only if the request information string would grow too large for passing it through command line parameters One way to determine if the given string is a file reference or not is to check the string s contents If the string contains no equal characters it is very likely a file reference as it can t be a valid key value script In this case the application should load this...

Page 48: ...ires operator intervention to configure the DUT and or other operator feedback TSI will run the defined application with command line parameters that define the contents of the request The command line parameters are passed as a key value pair script The key value pair script assumes the following rules in its syntax KEY and VALUE fields are separated with the equal character VALUE field is follow...

Page 49: ...UT to enter power save mode 1 1 5 7 8 Request for DUT to exit power save mode 1 1 5 8 9 Request for DUT to transmit test pattern 1 in given video mode and color depth 1 1 5 9 10 Request for DUT to transmit video and audio with defined parameters 1 1 5 1 0 11 Request for operator to check audio test pattern playback and respond with pass if audio playback is correct and with fail if audio playback ...

Page 50: ...s per pixel for the requested video mode res_frate The value indicates the frame rate of the requested video mode as milli Hertz col_forma t Indicates requested color format as an ID value Currently valid ID s are listed below 0 RGB 1 YCbCr 4 2 2 2 YCbCr 4 4 4 col_range Indicates the dynamic range standard for the requested color space as an ID value Currently valid ID s are listed below 0 VESA 1 ...

Page 51: ...of zero mean no channel allocations bits to be used This is valid for stereo audio Bit Purpose 0 FL FR Front left and Front right channels present 1 LFE Low frequency effects channel present 2 FC Front center channel present 3 RL RR Read left and Rear right channels present 4 RC Rear center channel present 5 FLC FRC Front left of center and Front right of center channels present 6 RLC RRC Rear lef...

Page 52: ...the active area res_frate Number of frames per second as milli hertz 60 fps 60000 exit_proceed Value for the application to return as its exit code Request ID 3 Request for DUT to read EDID from TE Passed parameters include at least the following op ID for this request 3 exit_proceed Value for the application to return as its exit code Request ID 4 Request for DUT to reduce number of lanes being u...

Page 53: ...er pixel as number of bits exit_proceed Value for the application to return as its exit code Request ID 10 Request for DUT to transmit video and audio with defined parameters The following parameters are included op ID for this request 10 res_x Number of horizontal pixels on the active area res_y Number of vertical pixels on the active area res_frate Number of frames per second as milli hertz 60 f...

Page 54: ...to write FEC_READY bit in DPCD register 0x120 FEC_CONFIGURATION The following parameters are included op ID for this request 14 exit_proceed Value for the application to return as its exit code Request ID 15 Request for DUT to send the ENABLE_FEC sequence as described int the DP specifications The following parameters are included op ID for this request 15 exit_proceed Value for the application to...

Page 55: ...on and leave internal list unchanged 1 Select request for DUT to start link training with given lane count and link speed 1 1 5 1 2 Select request for DUT to transmit test pattern 1 in given video mode 1 1 5 2 3 Select request for DUT to read EDID from TE 1 1 5 3 4 Select request for DUT to reduce number of lanes being used 1 1 5 4 5 Select request for DUT to increase number of lanes being used 1 ...

Page 56: ...espond with fail 1 1 5 1 3 14 Request for DUT to write FEC_READY bit in DPCD register 0x120 1 1 5 1 4 15 Request for DUT to send ENABLE_FEC sequence 1 1 5 1 5 16 Request for DUT to send DISABLE_FEC sequence 1 1 5 1 6 TSI_TS_OF_EXT_APP TSI_TS_OF_EXT_APP 0x217 char external_app ARRAY_U8 260 bytes RW Synopsis Contains a NULL terminated string defining the path and name of the application to be execut...

Page 57: ...ch TSI exe is run You need to be aware that changing the state of a device via Configuration Items CI s can take time and scripting commands calls are asynchronous So make ample use of the waiton command see 1 2 4 Running TSI EXE Defining test equipment devices init tsi contains the device names or aliases and are of the form DeviceName 1813C261 source_sink dp Here DeviceName is the name you use w...

Page 58: ...form c read Value are used to read the value of a configuration item For example c read TSI_R_USBC_DP_ALT_MODE_STATUS will output the value of the configuration item in decimal format Commands of the form c read Value Expression are used to check values and bits The configuration item Value modified by Expression up to a relational operator eq gt or lt is used to determine if Value Expression is t...

Page 59: ...e to be read or set for the configuration items Macros and KVE s must be delimited with semi colons An example of macros file is this line is a comment and will be skipped by the macro definition parser 2lanes macro Disconnect CC lines set roles for 2 lanes make delay of 200ms and reconnect means no newline character in actual script file 2lanes TSI_W_USBC_CABLE_CONTROL 6 TSI_USBC_DP_ALT_MODE_SETU...

Page 60: ... 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 t...

Page 61: ...a file x program name Launch program exe or bat and continue on close xfeedba ck Full path and name of application Supplies the full path and name of application that is to be used to handle operator feedback when running tests that require them if read val exp n1 RO n2 LO n3 Conditionally run commands between paired if else optional or else endif n1 n2 etc are variables or numbers RO is a relatio...

Page 62: ...p s Ends looping with respect to preceding loops command skip Skip no operation can be used with ontrue exit text Exit scripting and print text ontrue If preceding read with expression was true run the next command else run that following it timeout time milliseconds Timeout for options that require them waiton read val exp Wait on a read Value Expression to become true or time out a device must b...

Page 63: ...terpreted as four command line parameters while c read TSI_R__XXX would be interpreted as two command line parameters x is used to launch an external program or run a batch file see 1 2 4 1 EXAMPLES below Use if you need to put parentheses within parentheses Like this Hello World xfeedback is used to handle operator feedback when running tests that require them The target is the full path and name...

Page 64: ...seconds default is 10000 for commands that require them waiton will wait for a read Value Expression to become true or a time out a device must be open Can be used to wait for a DUT to be plugged in for example Its main purpose though is making sure CI s to be tested are in a proper state for reading as setting CI s are asynchronous see 1 2 4 1 EXAMPLES below pic is used to capture and save a pict...

Page 65: ... and cs ne 0 or cs eq 0 c setcolorSpace_RGB a macro else if cs eq 1 c setcolorSpace_YcbCr420 a macro else c setcolorSpace_YcbCr422 a macro endif endif c TSI_W_PG_COMMAND 1 apply command c read TSI_PG_CUSTOM_TIMING_HACTIVE var wdpix lastread lastread is a global variable c read TSI_PG_CUSTOM_TIMING_VACTIVE var htpix lastread c read TSI_PG_CUSTOM_TIMING_FIELD_RATE var hz lastread var hz 100 scaling ...

Page 66: ... hzmin and lt hzmax pr PASS else prlastread Frequency FAILED Value Read endif else prlastread Height FAILED Value Read endif else prlastread Width FAILED Value Read endif endloops t SzT endloops p SzP endloops cs 3 Executing a exe and a bat could be as follows x C Windows system32 notepad exe x cmd exe c hello bat Print message based on a read Value Expression c read TSI_R_USBC_DP_ALT_MODE_STATUS ...

Page 67: ...STATUS bitsoff 1 pr Straight orientation else pr Flipped orientation endif Output Output is directly to the console window and possibly to an output file Output to a file is automatic when scripts are run from a file r file txt The output file will be of the form file_20181008105217_log txt Extra html output for tests see 1 2 6 Running Tests below can be started via beginhtm and ended via endhtml ...

Page 68: ...or 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 cou...

Page 69: ...it tsi The user can edit init tsi and name the devices as desired default names are dev0 dev1 etc Aphysical device may have one or more devices in different roles Devices are of the form Name SerialNumber Role Technology Examples Devices such as the UDC 400 are listed as Dev0 1813c261 source_sink dp Devices such as the UDC 340 are listed as Dev0 1823c395 sink usbc Dev1 1823c395 source usbc Devices...

Page 70: ...s long oErrorCode char oErrorMsg 1024 Description This function is expected to be used to initialize TSI library when using it through TestStand The function will run the given script through the iSetupScript parameter If the script contains errors or the device s being used are not available oErrors is set to true oErrorCode will have a machine readable error code and the oErrorMsg will be set to...

Page 71: ... bool Passed bool Error char oErrorMsg 1024 char oReportText 64000 Description The function runs the test indicated by TestID value The test is executed on a hardware unit indicated by the Device value Before the test is started any script given in ConfigScript is executed If the test passes the Passed is set to true and otherwise false If the function encounters any errors the Error flag is set t...

Page 72: ...t data Result The function will process the given configuration script If the script contains errors the error flag will be set to true and report message will contain message about the error in the script If the script was processed without errors it will continue to run the test indicated by the TestID and Passed Error oReportMsg and oReportText variables will be set according to the outcome of ...

Page 73: ... in the scripts the Error and oErrorMsg variables are set accordingly TSI_TST_Clean ClientVersion 12 and higher No license requirements void __cdecl TSI_TST_Clean Description Release all allocated resources and close all devices This function should be called when the TSI functions are not going to be used by the test program Result All resources allocated by TSI are released and devices are close...

Page 74: ...nce Source The above script would define an alias MyDevice The alias is later used to identify the device by providing it through the Device string pointer parameters available in the TSI_TST_RunTest and TSI_TST_RunScript functions The MyDevice alias will refer to the device given in the value field In this case a UCD 323 device with S N 1234C5678 being used as a DisplayPort source Please notice t...

Page 75: ...TSI_EXPECTED_SAMPLE_RATE 96000 TSI_EXPECTED_AUDIO_FREQUENCY 1000 TSI_AUDIO_FREQUENCY_TOLERANCE 1 TSI_AUDIO_GLITCH_DETECT_TRESHOLD 250000 TSI_AUDIO_GLITCHES_ALLOWED 0 Important You can also refer to configuration items by their ID code number not just their names This can be useful in case there is some kind of problem with identifying a configuration item by name Writing a script for TSI_TST_RunSc...

Page 76: ...UCD Console for UCD 340 User Manual Unigraf Oy 76 ...

Page 77: ...1 5 Gbps and USB 2 0 pass thru USB Power Delivery Sink and source 5 V up to 3 0 A up to 20 V 5 A with external power test unit Optional Electrical Test Verify current flow in USB Type C interface signals VBUS GROUND CC1 2 SBU1 2 Optional Computer interface USB 3 0 and USB 2 0 Software Windows 10 8 and 7 compatible software driver UCD Console application for Windows TSI API with ready Test Cases Po...

Page 78: ...UCD Console for UCD 340 User Manual Unigraf Oy 78 Version History Rev Date Author Description 1 12 12 2018 JEs Created first version 2 29 4 2019 JEs First published version ...

Reviews: