B.1Circuit for Example 2................................................................................................ 301
B.2BDL File for Example 2............................................................................................. 301
B.3ICT Report Generated for Example 2...................................................................... 302
B.4Application Layer Configuration File Generated for Example 2...........................303
13User Manual 1143.4140.42 ─ 16
R&S®EGTSL
Contents
14User Manual 1143.4140.42 ─ 16
R&S®EGTSL
1.1User Information
1.2Reference Documents
General
Explanation of Symbols
1General
This software description applies to the following ROHDE & SCHWARZ products:
R&S TS-LEGT1143.4140.02Enhanced R&S GTSL Software
for ICT
R&S TS-LEG21166.3992.02Enhanced R&S GTSL Software
for Basic ICT on R&S TS-PSAM
The Enhanced Generic Test Software Library R&S EGTSL is part of the Generic Test
Software Library R&S GTSL. For this reason, the following documentation is to be
noted in addition to this software description:
●
Software Description Generic Test Software Library R&S GTSL
The related test hardware is required for performing in-circuit tests. The test hardware
is described in the following documentation:
●
User Manual Test System Versatile Platform R&S CompactTSVP TS-PCA3
●
User Manual Test System Versatile Platform R&S PowerTSVP TS-PWA3
●
User Manual Analog Source and Measurement Module R&S TS-PSAM
●
User Manual ICT Extension Module R&S TS-PICT
●
User Manual Matrix Module B R&S TS-PMB
●
Documentation of the test adapter
1.3Explanation of Symbols
Certain text passages in this software description are specially highlighted. The passages marked in this way have the following significance:
Incorrect measurements
Failure to follow instructions can result in incorrect measurements.
Highlights important details to which special attention must be paid and that make your
work easier.
15User Manual 1143.4140.42 ─ 16
R&S®EGTSL
2.1General
Software Installation
File Structure
2Software Installation
Enhanced Generic Test Software Library R&S EGTSL is installed using the installation
routine for the Generic Test Software Library R&S GTSL.
The Generic Test Software Library R&S GTSL can be downloaded from R&S GLORIS
server. After extracting the compressed installation file, the whole contents of the
installation can be found in the target directory. Please read the README.TXT file
before starting the installation by executing the setup.exe file.
To install the Generic Test Software Library R&S GTSL under Windows 10 or Windows
7, the user must be logged in as administrator or as a user with administrator rights.
For additional information on the de-installation of previous versions of the Generic
Test Software Library R&S GTSL or concerning installation, consult the README.TXT
file in the installation package and the chapter “Installation of R&S CompactTSVP and
R&S GTSL” of the “R&S System Manual TSVP”.
2.2Installation
Refer to the "Installation" chapter of the R&S GTSL user manual.
Make sure that the "Enhanced GTSL" checkbox is marked in the "Select Features" dialog of the setup procedure.
2.3File Structure
The test libraries supplied by ROHDE & SCHWARZ are stored in fixed directories at
the time of installation. The following directory structure can be found as subdirectories
below the R&S GTSL program files directory which was specified during the installation
process:
16User Manual 1143.4140.42 ─ 16
R&S®EGTSL
Software Installation
File Structure
Figure 2-1: File structure program files
Description of installed R&S GTSL program files directories:
Table 2-1: Program files directories
DirectoryContents
GTSLGeneric Test Software Library. The root directory for
the R&S GTSL software can have any name.
BinContains the test libraries (DLL, LIB) and the help
files (HLP, CHM) belonging to the test libraries.
DevelopThe subdirectories of the directory Develop contain
generally valid examples for the creation of a highlevel test library, a customer-specific selftest library
and two sample applications that show how to call
R&S GTSL functions and driver functions.
DocumentationContains the various items of documentation in PDF
file format.
EGTSL
●
Correction
EGTSL
●
Extlct
–Framework
–RSSample
–RSSamplePSU
Contains the utility ICTCorrection with which a correction data set can be determined.
The folder …\Framework contains the framework
code for the creation of a user-defined ICT extension library. The folder …\RSSample contains an
example for the creation of a user-defined ICT
extension library with source-code and binaries. The
RSSamplePSU project is similar to the RSSample
project, but uses the R&S TS-PSU module instead
of the R&S TS-PFG module.
EGTSL
●
Templates
Firmware UpdateThis directory contains the firmware update applica-
Contains a template for the preparation of a new
ICT program on the R&S EGTSL user interface
tion with which the firmware of all TSVP Test System Versatile Platform plug-in boards can be updated to a newer version when available.
17User Manual 1143.4140.42 ─ 16
R&S®EGTSL
Software Installation
File Structure
DirectoryContents
IncludeContains the h-files (include files) needed for the
development of new test libraries.
Operator InterfaceContains the run time module for the operator inter-
face of TestStand. A TestStand run time licence is
required.
SequencesContains the test sequence examples created by
ROHDE & SCHWARZ.
The application data is stored in the following directory structure below the R&S GTSL
application data directory which was specified during the installation process.
Figure 2-2: File structure application data
Description of installed R&S GTSL application data files directories.
Table 2-2: Application data files directories
DirectoryContents
ConfigurationContains samples of the two configuration files
PHYSICAL.INI and APPLICATION.INI.
EGTSL
●
Atg
EGTSL
●
Correction
IC-CheckContains example configuration data for the IC-
LicenseContains one or more subdirectories with optional
Contains the files for the execution of the Automatic
Test Generator ATG.
Contains the correction data determined with the
utility ICTCorrection.
Check application.
license key files.
18User Manual 1143.4140.42 ─ 16
R&S®EGTSL
3.1General
Functional Description
General
3Functional Description
Figure 3-1: R&S EGTSL Layer Model
The Enhanced Generic Test Software Library RR&S EGTSL R&S EGTSL is part of an
extension to the Generic Test Software Library R&S GTSL. Using R&S EGTSL it is
possible to prepare and perform in-circuit tests. The individual R&S EGTSL software
components are arranged in individual layers exactly like R&S GTSL.
The bottom layer (device driver layer) of the R&S EGTSL contains the device drivers
necessary for the test hardware used. The test hardware is accessed using these
device drivers.
The middle layer (library layer) of the R&S EGTSL contains the ICT test library and the
R&S EGTSL. The ICT test library provides the functions necessary for performing the
in-circuit test. Using the R&S EGTSL runtime library (runtime engine) the internal R&S
EGTSL program processes are run. In this layer further information is passed to the
resource manager library via the two files PHYSICAL.INI and APPLICATION.INI. The
various device drivers from the lowest level are called from this layer.
The top layer (execution layer) contains the test sequences for performing the in-circuit
test. The test sequences call functions from the ICT test library in the middle layer. The
function calls include, e.g.
●
loading ICT programs,
●
running ICT programs,
●
debugging ICT programs and
●
the generation of reports.
19User Manual 1143.4140.42 ─ 16
R&S®EGTSL
Functional Description
ICT Test Library
The calls for the individual functions from the ICT test library can, e.g., be made using
a sequence editor (TestStand) or a dedicated C program.
The top layer (execution layer) also contains the R&S EGTSL Loader and the R&S
EGTSL user interface (R&S EGTSL). The R&S EGTSL user interface (R&S EGTSL) is
opened using the R&S EGTSL either by the R&S EGTSL Loader or a function call from
the ICT test library.
Special test hardware is required for performing in-circuit tests. This hardware and thus
the individual test functions are called using the R&S GTSL/R&S EGTSL-typical functions in the test libraries.
For further information on R&S GTSL see “Software Description Generic Test Software
Library R&S GTSL”
R&S EGTSL includes the following parts and programs:
●
ICT runtime library
●
ICT test library
●
User interface ( IDE )
●
Loader
●
Automatic Test Generator ATG (utility)
●
ICT correction data (utility)
3.2ICT Test Library
The following section provides a short overview of the test functions available in the
ICT test library.
The individual test functions and their parameters are described in the online help for
the ICT test library. The help files (.HLP) are in the folder ...\GTSL\BIN.
3.2.1General
Starting with GTSL 3.30, no GTSL license is required.
The in-circuit test library offers functions for the in-circuit test using the R&S EGTSL
software and the R&S TS-PSAM, R&S TS-PICT, R&S TS-PSU, R&S TS-PSU12 and
R&S TS-PMB modules.
Prefix for the IVI driver functions,
without underscore:
R&S TS-PICT : rspict
R&S TS-PMB : rspmb
R&S TS-PSAM : rspsam
R&S TS-PSU: rspsu
R&S TS-PSU12: rspsu
DriverDLLStringMandatory entry
File name of the driver DLL
R&S TS-PICT : rspict.dll
R&S TS-PMB : rspmb.dll
R&S TS-PSAM : rspsam.dll
R&S TS-PSU : rspsu.dll
R&S TS-PSU12 : rspsu.dll
DriverOptionStringOptional entry
3.2.3Entries in APPLICATION.INI
Section [bench->...]
KeywordValueDescription
ICTDevice1StringMandatory entry
ICTDevice2StringOptional entry
ICTDevice3StringOptional entry
Option string being passed to the
device driver during the
Driver_Init function. See the
online help file for the appropriate
device driver.
Refers to the device section of the
R&S TS-PSAM
Refers to the device section of the
R&S TS-PICT or R&S TS-PSU /
R&S TS-PSU12
Refers to the device section of the
R&S TS-PICT or R&S TS-PSU /
R&S TS-PSU12
22User Manual 1143.4140.42 ─ 16
R&S®EGTSL
Functional Description
ICT Test Library
KeywordValueDescription
ICTCorrResistor2WREALOptional entry
Unit: Ohm
Bench correction value, that is
taken into account for all 2-wire
resistor test measurements (DCmeasurements). The correction
value is subtracted from the measurement. The result of the subtraction is compared with the limits.
ICTCorrImpedanceRes2W
ICTCorrImpedanceCap2W
ICTCorrImpedanceInd2W
REALOptional entry
Bench correction value, that is
taken into account for all 2-wire
impedance test resistor measurements (AC-measurements). The
correction value is subtracted
from the measurement. The result
of the subtraction is compared
with the limits.
REALOptional entry
Bench correction value, that is
taken into account for all 2-wire
impedance test capacitance measurements. The correction value
is subtracted from the measurement. The result of the subtraction
is compared with the limits.
REALOptional entry
Unit: Henry
Bench correction value, that is
taken into account for all 2-wire
impedance test inductance measurements. The correction value
is subtracted from the measurement. The result of the subtraction
is compared with the limits.
SwitchDevice<i>StringMandatory entry
Refers to a section with switch
devices in PHYSICAL.INI.
<i> stands for a number from
1,2,3,...,n. The numbers must be
assigned in ascending order without gaps.
<i> may be omitted in the case it
is 1.
23User Manual 1143.4140.42 ─ 16
R&S®EGTSL
Functional Description
ICT Test Library
KeywordValueDescription
AppChannelTableStringMandatory entry
Refers to a section with defined
channel names in APPLICATION.INI.
Simulation0 / 1Mandatory entry
Blocks the simulation of the
entered devices (value = 0). Enables simulation of the entered
devices (value = 1).
Default = 0
Trace0 / 1Optional entry
Blocks the tracing function of the
library (value = 0). Enables the
tracing function of the library
(value = 1).
Default = 0
ChannelTableCase Sensitive0 / 1Optional entry
The channel names in the channel table are treated case-sensitive (value = 1) or case-insensitive
(value = 0).
Compensation1 / 0Optional entry
Section [io_channel->...]
Contains a list of user-specific channel names (or ATG-defined channel names) which
are assigned to the physical device names and to the physical device channel names.
The defined names apply only to the relevant application. For details about channel
name syntax, see "Software Description GTSL", chapter 8.3.4.
KeywordValueDescription
<user-defined name>StringPhysical channel description in
3.2.4Functions
Enables the fixture compensation
mechanism in the EGTSL/ICT
modules. If this option is set to 0,
the module will not write any compensation info into the outgoing
program file.
Default = 0
the combination <device name>!
<device channel name>
Setup ICT_Setup
Library Version ICT_Lib_Version
EGTSL Runtime Version ICT_Runtime_Version
Program Control
24User Manual 1143.4140.42 ─ 16
R&S®EGTSL
Functional Description
R&S EGTSL user interface (R&S EGTSL IDE)
Load Program ICT_Load_Program
Run Program ICT_Run_Program
Debug Program ICT_Debug_Program
Unload Program ICT_Unload_Program
Report Generation
Write Report to File ICT_Write_Report
Load Detailed Report ICT_Load_Detailed_Report
Get Detailed Report Entry ICT_Get_Detailed_Report_Entry
Get Detailed Report Entry (Extended)
ICT_Get_Detailed_Report_Entry_Ex
Get TestStand Report Entry ICT_Get_TestStand_Report_Entry
Transfer Report to QUOTIS ICT_Transfer_Quotis_Report
Limit Loader
Load Limits ICT_Load_Limits
Error Handling
Get Error Log ICT_Get_Error_Log
Cleanup ICT_Cleanup
3.3R&S EGTSL Loader
Using the R&S EGTSL Loader the R&S EGTSL user interface (R&S EGTSL IDE ) can
be opened directly. A function call from the ICT test library is not necessary.
The operation of the R&S EGTSL Loader is described in section 13.2.
3.4R&S EGTSL user interface (R&S EGTSL IDE)
The R&S EGTSL user interface (R&S EGTSL IDE) for editing and debugging an ICT
program is started either using a function from the ICT test library or using the R&S
EGTSL Loader.
25User Manual 1143.4140.42 ─ 16
R&S®EGTSL
Functional Description
R&S EGTSL user interface (R&S EGTSL IDE)
Figure 3-2: R&S EGTSL User interface (R&S EGTSL IDE )
The R&S EGTSL user interface (R&S EGTSL IDE ) provides a wide range of functions
for preparing, editing and debugging an ICT program.
●
Loading ICT programs
●
Editing general ICT program settings
●
Importing and exporting values for limits for all test steps
●
Printing the test report generated
●
Inserting and deleting test steps
●
Editing the test step settings
●
Search functions
●
Setting break points
●
Debugging the ICT program
–Complete execution of the ICT program
–Execution in single steps
–Execution until an error occurs
–Execution of marked test steps
●
Display of the test results (text and graphics)
●
Preparation of a test report
The individual functions of the R&S EGTSL user interface (R&S EGTSL IDE ) are
described in section 5.
26User Manual 1143.4140.42 ─ 16
R&S®EGTSL
3.5Automatic Test Generator ATG
3.6ICT Correction Data
Functional Description
Hardware for in-circuit test
Using the Automatic Test Generator ATG utility, a circuit description and the description
of the test hardware available are used to generate an ICT program that will run in the
Enhanced Generic Test Software Library R&S EGTSL. The ICT program generated
can be opened in the R&S EGTSL user interface (R&S EGTSL IDE) and edited.
The individual functions of the Automatic Test Generator ATG are described in section 9.
The test system is calibrated using the ICTCorrection utility. Resistances and capacitances in the system are determined and saved as correction data. Using this data, the
values measured during the in-circuit test are corrected.
The individual functions of the ICTCorrection program are described in section 15.
3.7Hardware for in-circuit test
To be able to perform an in-circuit test using R&S EGTSL the following test hardware
must be available:
●
Test System Versatile Platform R&S CompactTSVP TS-PCA3
●
Test System Versatile Platform R&S PowerTSVP TS-PWA3 (alternative expansion)
●
R&S TS-PSAM Source and Measurement Module
●
R&S TS-PICT In-Circuit Test Module (alternative expansion for certain test methods)
●
R&S TS-PSU Power Supply/Load Module / R&S TS-PSU12 Power Supply/Load
Module 12V (expansion for zener diode and transistor test methods).
●
R&S TS-PMB Matrix Module B
●
Test adapters developed and built especially for the Unit Under Test (UUT) and the
related test program
The precise composition and number of items of hardware is always dependent on the
specific project and the test methods required.
The individual components of test hardware are described in the related user manuals.
27User Manual 1143.4140.42 ─ 16
R&S®EGTSL
4.1General
Getting Started
Preparation of the Circuit Documentation
4Getting Started
This section describes the development process for an in-circuit test in a step-by-step
manner based on a simple example. The individual steps can be followed using these
instructions so that you can rapidly become familiar with the Enhanced Generic Test
Software Library R&S EGTSL.
The example circuit, the related BDL file and the files generated by the Automatic Test
Generator ATG are listed in appendix A. The related files are saved
in ...\GTSL\EGTSL\Example.
4.2Development Process for an In-circuit Test
Based on the (existing) circuit documents for a unit under test (for the in-circuit test the
unit is generally a circuit board) an ICT program is to be prepared that can test whether
the circuit board is correctly populated. The mechanical-electrical adaptation of the unit
under test to the test system, i.e. building a bed of nails adapter is also included.
The Enhanced Generic Test Software Library R&S EGTSL provides a series of utilities
that enable these tasks to be tackled largely automatically. Based on an example circuit, the features provided by the software will be demonstrated.
To pass from the circuit documentation to the finished ICT program, the following steps
are necessary:
●
Preparation of the circuit documentation
●
Entry of the circuit description
●
Preparation of the test program by the Automatic Test Generator ATG
●
Preparation of the adapter
●
Commissioning and debugging the test program
4.3Preparation of the Circuit Documentation
In the first step the test points, i.e. the pins on the bed of nails adapter, are entered on
the circuit diagram. As during the in-circuit test, every component is measured separately, it is important that the test system can make contact to every pin on every component. For this purpose, a test nail must be provided at every node of the circuit.
The names of the test points, also called nodes, appear later in the test program. They
must therefore be clear, i.e. either refer to the function in the circuit (like INPUT, OUTPUT) or to a component connected to the node (like TR1.B for the base of transistor
28User Manual 1143.4140.42 ─ 16
R&S®EGTSL
4.3.1Example Circuit
Getting Started
Preparation of the Circuit Documentation
TR1). Special rules apply for ground and supply voltage. The names of such test points
must always start with GND or VCC respectively, so that the automatic test generator
can detect them as ground and supply voltage and treat them appropriately.
Figure 4-1: Circuit example
Figure 4-1 shows the circuit for a low frequency amplifier stage. The names of the test
points are already entered.
4.3.2Preparation of the Circuit Description
For further processing in R&S EGTSL the circuit description for the circuit to be tested
must be available as a BDL file (see also section 8.2). There are now various ways you
can prepare the necessary BDL file.
1. Prepare the BDL file (circuit description) manually in a text editor based on the circuit diagram.
2. Transfer the circuit description from a CAD system. Modern CAD systems for the
preparation of electronic circuits provide a feature for exporting the circuit description. Using commercially available conversion software, the exported circuit
description can be converted to the BDL format.
The manual preparation of the circuit description is of course tedious for larger circuits.
Here it is best, if possible, to transfer the data from the CAD system. For the small
example with only eight components, it is however easy to enter the BDL data by hand.
The BDL file is saved in ...\GTSL\EGTSL\Example\Example1.BDL.
29User Manual 1143.4140.42 ─ 16
R&S®EGTSL
4.3.2.1Entry of the Resistors
Getting Started
Preparation of the Circuit Documentation
BDL example for resistor R1
RESISTOR
NAME 'R1'
PART_ID '1234.5678.90'
VALUE 1.2 MOHM
TOL+ 10% TOL- 10%
I_LIM 100.0 MA
PIN_1 'VCC'
PIN_2 'TR1.B'
ERR_MSG 'Problem with R1'
The following information on a resistor must be entered in the text editor:
NAMEComponent name
PART_IDOptional component identifier for the component
VALUENominal value and unit for the component
TOL+Positive component tolerance in % (default value 10
%)
TOL-Negative component tolerance in % (default value
10 %)
I_LIMITMaximum measuring current for determining the
value with unit (default value 100 mA)
PIN_1Test point 1 for the component
PIN_2Test point 2 for the component
ERR_MSGOptional error text The text entered here is dis-
played in the report if the component has been
detected as faulty.
For the example circuit, all resistors must be entered in the same manner:
NameValuePin 1Pin 2
R11.2 MOHMVCCTR1.B
R2330 KOHMTR1.BGND
R340 KOHMVCCTR1.C
R410 KOHMTR1.EGND
4.3.2.2Entry of Capacitors
BDL example for capacitor C1
CAPACITOR
30User Manual 1143.4140.42 ─ 16
Loading...
+ 275 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.