This document supports software version 2.0 and
above.
Page 2
Copyright T ektronix, Inc. All rights reserved.
T ektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supercedes
that in all previously published material. Specifications and price change privileges reserved.
Printed in the U.S.A.
T ektronix, Inc., P.O. Box 1000, Wilsonville, OR 97070–1000
TEKTRONIX and TEK are registered trademarks of T ektronix, Inc.
Page 3
WARRANTY
T ektronix warrants that the products that it manufactures and sells will be free from defects in materials and workmanship
for a period of one (1) year from the date of shipment. If a product proves defective during this warranty period, T ektronix,
at its option, either will repair the defective product without charge for parts and labor, or will provide a replacement in
exchange for the defective product.
In order to obtain service under this warranty, Customer must notify Tektronix of the defect before the expiration of the
warranty period and make suitable arrangements for the performance of service. Customer shall be responsible for
packaging and shipping the defective product to the service center designated by T ektronix, with shipping charges prepaid.
T ektronix shall pay for the return of the product to Customer if the shipment is to a location within the country in which the
T ektronix service center is located. Customer shall be responsible for paying all shipping charges, duties, taxes, and any
other charges for products returned to any other locations.
This warranty shall not apply to any defect, failure or damage caused by improper use or improper or inadequate
maintenance and care. T ektronix shall not be obligated to furnish service under this warranty a) to repair damage resulting
from attempts by personnel other than T ektronix representatives to install, repair or service the product; b) to repair
damage resulting from improper use or connection to incompatible equipment; c) to repair any damage or malfunction
caused by the use of non-T ektronix supplies; or d) to service a product that has been modified or integrated with other
products when the effect of such modification or integration increases the time or difficulty of servicing the product.
THIS WARRANTY IS GIVEN BY TEKTRONIX IN LIEU OF ANY OTHER WARRANTIES, EXPRESS OR
IMPLIED. TEKTRONIX AND ITS VENDORS DISCLAIM ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. TEKTRONIX’ RESPONSIBILITY TO
REP AIR OR REPLACE DEFECTIVE PRODUCTS IS THE SOLE AND EXCLUSIVE REMEDY PROVIDED TO
THE CUSTOMER FOR BREACH OF THIS WARRANTY. TEKTRONIX AND ITS VENDORS WILL NOT BE
LIABLE FOR ANY INDIRECT , SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES IRRESPECTIVE
OF WHETHER TEKTRONIX OR THE VENDOR HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH
DAMAGES.
Page 4
Service Assurance
If you have not already purchased Service Assurance for this product, you may do so at any time during the product’s
warranty period. Service Assurance provides Repair Protection and Calibration Services to meet your needs.
Repair Protection extends priority repair services beyond the product’s warranty period; you may purchase up to three
years of Repair Protection.
Calibration Services provide annual calibration of your product, standards compliance and required audit documentation,
recall assurance, and reminder notification of scheduled calibration. Coverage begins upon registration; you may purchase
up to five years of Calibration Services.
Service Assurance Advantages
Priced well below the cost of a single repair or calibration
Avoid delays for service by eliminating the need for separate purchase authorizations from your company
Eliminates unexpected service expenses
For Information and Ordering
For more information or to order Service Assurance, contact your T ektronix representative and provide the information
below . Service Assurance may not be available in locations outside the United States of America.
NameVISA or Master Card number and expiration
Companydate or purchase order number
AddressRepair Protection (1,2, or 3 years)
City , State, Postal codeCalibration Services (1,2,3,4, or 5 years)
CountryInstrument model and serial number
PhoneInstrument purchase date
Review the following safety precautions to avoid injury and prevent damage to
this product or any products connected to it.
Only qualified personnel should perform service procedures.
To avoid potential hazards, use this product only as specified.
Injury Precautions
Product Damage
Precautions
Use Proper Power Cord. To avoid fire hazard, use only the power cord specified
for this product.
Avoid Electric Overload. To avoid electric shock or fire hazard, do not apply a
voltage to a terminal that is outside the range specified for that terminal.
Ground the Product. This product is grounded through the grounding conductor
of the power cord. To avoid electric shock, the grounding conductor must be
connected to earth ground. Before making connections to the input or output
terminals of the product, ensure that the product is properly grounded.
Do Not Operate Without Covers. To avoid electric shock or fire hazard, do not
operate this product with covers or panels removed.
Use Proper Fuse. To avoid fire hazard, use only the fuse type and rating specified
for this product.
Do Not Operate in Wet/Damp Conditions. To avoid electric shock, do not operate
this product in wet or damp conditions.
Do Not Operate in an Explosive Atmosphere. To avoid injury or fire hazard, do not
operate this product in an explosive atmosphere.
Use Proper Power Source. Do not operate this product from a power source that
applies more than the voltage specified.
Use Proper V oltage Setting. Before applying power, ensure that the line selector is
in the proper position for the power source being used.
Provide Proper Ventilation. To prevent product overheating, provide proper
ventilation.
Do Not Operate With Suspected Failures. If you suspect there is damage to this
product, have it inspected by qualified service personnel.
TG 2000 Television Generation Platform User Manual
xi
Page 16
General Safety Summary
Symbols and Terms
T erms in this Manual. These terms may appear in this manual:
WARNING. Warning statements identify conditions or practices that could result
in injury or loss of life.
CAUTION. Caution statements identify conditions or practices that could result in
damage to this product or other property.
T erms on the Product. These terms may appear on the product:
DANGER indicates an injury hazard immediately accessible as you read the
marking.
WARNING indicates an injury hazard not immediately accessible as you read the
marking.
CAUTION indicates a hazard to property including the product.
Symbols on the Product. The following symbols may appear on the product:
Certifications and
Compliances
DANGER
High Voltage
Protective Ground
(Earth) T erminal
ATTENTION
Refer to Manual
Double
Insulated
Refer to the specifications section for a listing of certifications and compliances
that apply to this product.
xii
TG 2000 Television Generation Platform User Manual
Page 17
Service Safety Summary
Only qualified personnel should perform service procedures. Read this Service
Safety Summary and the General Safety Summary before performing any service
procedures.
Do Not Service Alone. Do not perform internal service or adjustments of this
product unless another person capable of rendering first aid and resuscitation is
present.
Disconnect Power. To avoid electric shock, disconnect the main power by means
of the power cord or, if provided, the power switch.
Use Care When Servicing With Power On. Dangerous voltages or currents may
exist in this product. Disconnect power and disconnect test leads before
removing protective panels, soldering, or replacing components.
To avoid electric shock, do not touch exposed connections.
TG 2000 Television Generation Platform User Manual
xiii
Page 18
Service Safety Summary
xiv
TG 2000 Television Generation Platform User Manual
Page 19
Preface
About This Manual
This manual describes features and specifications that apply to the platform.
These include system configuration and the common control interface. Features
that are specific to a module are described in the user manual for that module.
This manual is designed with space at the rear for the user manuals that
accompany your generator and special function modules. In addition, this
manual includes a disk holder to store the signal set disks packaged with many
of the generator module user manuals.
This manual is composed of the following sections:
Getting Started shows you how to configure and install your platform,
provides an incoming inspection procedure, and describes the mainframe
options.
Operating Basics describes front panel operation of the mainframe and
modules and shows how to use the front panel and touch screen controls.
Related Manuals
Syntax and Commands defines the syntax used in command descriptions,
presents a list of all command subsystems, as well as detailed descriptions of
all programming commands.
Status and Events describes how the status and Events Reporting system
operates and presents a list of all system errors.
Appendices provide specifications and information about the remote
interface, the disk drive, and the mainframe installation.
The following documents are also available for the platform:
The TG 2000 Signal Generation Platform User Manual describes how to use
the TG 2000 Platform. It also contains information about SCPI commands,
programming structure, and status and events for the platform. Some of this
information applies to all generator modules, including the DVG1 Generator
module. This manual is a standard accessary to the TG 2000 Platform
mainframe.
TG 2000 Signal Generation Platform User Manual
xv
Page 20
Preface
Contacting Tektronix
The TG 2000 Signal Generation Platform Service Manual describes how to
service the mainframe to the module level and provides general information
about servicing generator modules. This optional manual must be ordered
separately.
A module user manual is included with each optional module. Contact your
Tektronix representative for a list of generator and special function modules.
Product
Support
Service
Support
For other
information
To write usTektronix, Inc.
For application-oriented questions about a Tektronix measurement product, call toll free in North America:
1-800-TEK-WIDE (1-800-835-9433 ext. 2400)
6:00 a.m. – 5:00 p.m. Pacific time
Or, contact us by e-mail:
tm_app_supp@tek.com
For product support outside of North America, contact your
local Tektronix distributor or sales office.
Contact your local Tektronix distributor or sales office. Or, visit
our web site for a listing of worldwide service locations.
http://www.tek.com
In North America:
1-800-TEK-WIDE (1-800-835-9433)
An operator will direct your call.
P.O. Box 1000
Wilsonville, OR 97070-1000
xvi
TG 2000 Signal Generation Platform User Manual
Page 21
Page 22
Getting Started
Product Description
This section contains the following:
Product description
Accessories list
Configuration instructions
Installation instructions
Incoming inspection
The TG 2000 Signal Generation Platform provides multiformat, precision
television test signals for both analog and digital video standards. The physical
configuration is a mainframe with up to nine plug-in modules. Modules either
generate signals or provide special functions, such as genlock capability.
You can use included software (SDP2000 Signal Development Program) to
generate custom test signals, which you can store on a disk or transfer directly
into the memory of a generator module.
The TG 2000 Signal Generation Platform addresses the needs of research and
development, engineering, manufacturing test, and most operational environments.
These are some of the key features of the platform:
Modular architecture with up to nine generator or special function modules
Support of analog and digital environments for most component and
composite video signal formats
Reference generator performance level
Modules genlocked to external reference with the optional AGL1 Genlock
module
Included Microsoft Windows-based SDP2000 software to create new signals
Remote control, using the RS-232, ground closure, parallel, or optional
GPIB interface with the SCPI command set
Full support of VM700A video measurement routines
TG 2000 Signal Generation Platform User Manual
1–1
Page 23
Getting Started
Accessories
Variable transmission parameters, such as jitter amplitude and frequency, for
serial digital formats using the DVG1 Generator module with option S1
Variable signal parameters for some analog and digital format modules
Circle and text overlays on test signals for some modules
Simultaneous 525/60 and 625/50 signal generation
Moving signals for compression system testing
Programmable system clocks to support standard and custom formats
Flash EPROM allows easy upgrades to system software
This section describes the key accessories for the TG 2000 Signal Generation
Platform. For a complete list of accessories and their Tektronix part numbers,
refer to the Replaceable Mechanical Parts list at the back of this manual.
BG1 Black Burst
Generator Module
SDP2000 Signal
Development Program
In addition to the options described in this manual, Tektronix offers maintenance
options that cover adjustment and repair services. Contact your Tektronix
representative for details.
The BG1 Generator module is supplied as a standard accessory. There are six
black burst signals to select from; the module provides the selected black burst
signal on the three rear-panel connectors. Additionally, the module can provide
one of the system clocks from its rear-panel clock output.
More than one BG1 Generator module can be added to the mainframe to provide
enough flexibility to meet virtually any system timing requirement. The BG1
Generator module can be removed without affecting system operation.
The SDP2000 Signal Development Program is supplied as a standard accessory.
This program runs under Microsoft Windows 3.1 or higher. All features except
the parallel port are compatible with Windows NT. All features are compatible
with Windows 95. For general information about the SDP2000 program, refer to
either the SDP2000 program online help or the SDP2000 Signal DevelopmentProgram User Manual.
Using this program, you can create custom signals for the platform, and
download the signals through disk or remote interface. Refer to the SDP2000
program online help for instructions on remote downloading of signals.
1–2
TG 2000 Signal Generation Platform User Manual
Page 24
Getting Started
GPIB Card for SDP2000
Communications
Accessory Kit
Configuration
The Tektronix S3FG210 is a GPIB-PCII/IIA interface card that you can purchase
from Tektronix. It provides the type of interface needed to operate the TG 2000
Signal Generation Platform when performing GPIB communications with the
SDP2000/TGCOMM software.
This kit is shipped as a standard accessory. It includes a Torx T-10 bit (needed to
secure the modules), two fuses, and a blank panel (to fill the gap when a module
is removed). The fuses support the two line voltage settings; see Line VoltageSetting and Fuse Selection for instructions.
The TG 2000 Signal Generation Platform mainframe requires configuration for
the installation of new modules and for the AC line voltage. The TG 2000 Signal
Generation Platform mainframe is configured at the factory to support the
optional module generators that you order. Modules ordered separately should be
installed by a qualified service technician. Refer to Installation in this section
and to the Installation discussion in your module user manual for instructions on
adding a generator module.
Line Voltage Setting and
Fuse Selection
The TG 2000 Signal Generation Platform mainframe must be configured to
operate on your local AC power system. Always unplug the TG 2000 Signal
Generation Platform before changing the line voltage setting or the fuse.
WARNING. To avoid electrical shock, be sure that the power cord is disconnected
before checking the fuse or changing the line voltage selector.
CAUTION. To avoid damaging the TG 2000 Signal Generation Platform, always
use the correct fuse for the line voltage. The 230 V setting requires a 3 AT fuse
for proper protection. See the fuse chart located on the rear panel near the line
voltage selector for the proper fuse for each line voltage setting.
Figure 1–1 shows the location on the rear panel of line power connector, line
selector, fuse and power switch, as well as how to change the line voltage
setting. Table 1–1 lists the proper fuse for each line voltage setting.
TG 2000 Signal Generation Platform User Manual
1–3
Page 25
Getting Started
T able 1–1: AC power fuse requirements
Line V oltage SettingFuse Rating
115 VSlow blow, 6 AT
230 VSlow blow, 3 AT
Line
selector
Fuse
Power
switch
AC Line
connecter
Figure 1–1: Location of power connections and configuration
1–4
TG 2000 Signal Generation Platform User Manual
Page 26
Getting Started
CPU Configuration Switch
The rotary switch shown in Figure 1–2 is for use by service technicians only.
The switch must be in position “0” for normal operation.
Figure 1–2: Location of the service diagnostics switch
TG 2000 Signal Generation Platform User Manual
1–5
Page 27
Getting Started
Installation
This section describes the hardware and software installation requirements for
the TG 2000 Signal Generation Platform mainframe. General instructions for
installing modules begin on page E–2 of this manual. For installation information that is unique to a particular module, refer to the module user manual.
Hardware Installation
The TG 2000 Signal Generation Platform is shipped with the optional generator
modules that you ordered configured and installed. Only qualified service
technicians should install modules in the TG 2000 Signal Generation Platform
mainframe. Technicians can refer to Appendix E of this manual for general
instructions. Each type of module has specific installation requirements, which
are discussed in the module user manual. Refer to Rackmount Installation on
page 1–6 for rackmounting instructions.
To properly install and power on the TG 2000 Signal Generation Platform,
follow these steps:
1. Check that you have the appropriate operating environment. Check
Appendix A for temperature, humidity, altitude, and other environmental
requirements.
2. Leave space for cooling by ensuring standard side clearance for rack
mounting or 2 inches (5.1 cm) of side clearance for counter top use. Also,
ensure sufficient rear clearance (approximately 2 inches) so that cables are
not damaged by sharp bends.
3. Check that the power connection is properly configured. Refer to Configura-
tion on page 1–3 for instructions.
4. Connect the power cord from the rear panel power connector to the power
system.
Rackmount Installation
1–6
The TG 2000 Signal Generation Platform mainframe is configured at shipment
for use in an equipment rack.
To install the mainframe into the rack, follow these steps:
1. Use the information in Figure 1–3 to connect the rackmount hardware to the
rack.
2. Referring to Figure 1–4, support the mainframe while inserting its attached
rack pieces into the pieces attached to the rack.
3. Slide the mainframe completely into the rack, continuing to support the
mainframe until the stop latches click into place on both sides. The
installation is not secure until this latching occurs.
TG 2000 Signal Generation Platform User Manual
Page 28
Chassis section
Getting Started
Automatic latches
Rear mounting
bracket
Automatic latches
Flat bar nut
Intermediate
section
Front rack
Stop latch
hole
Stationary section
Rear rack
10–32 Phs screws
Flat bar nut
Flat bar nut
(Use if front rail
is not tapped)
10–32 Phs screws
Figure 1–3: Installing the rackmount hardware
TG 2000 Signal Generation Platform User Manual
1–7
Page 29
Getting Started
Side-out track
Stop latch
Figure 1–4: Placing the TG 2000 Signal Generation Platform in the rack
Software Installation
To remove the TG 2000 Signal Generation Platform mainframe from the rack,
follow these steps:
1. Slide the mainframe out until it stops at the catches.
2. Support the mainframe while you press in on the stop latch buttons on each
side. This action will free the TG 2000 Signal Generation Platform to slide
completely out of the rack.
3. Provide support while you slide the mainframe out of the rack.
There are three types of software you can install:
The SDP2000 Signal Development Program (use the disks and instructions
included in the SDP2000 User manual, standard accessory).
Signal sets for each module type (use disks and instructions included in the
module user manual). If you purchased your modules installed in a mainframe, signal sets are already installed for you.
Module or mainframe firmware. In certain instances, a firmware upgrade kit
may be issued, including disks and instructions. You will not usually install
instrument firmware; it is already installed in your mainframe and modules.
1–8
TG 2000 Signal Generation Platform User Manual
Page 30
Getting Started
Power-On Procedure
This section describes how to check that your TG 2000 Signal Generation
Platform powers on properly. Be certain that the platform is properly configured
and installed before applying power. Refer to Configuration on page 1–3 and
Installation on page 1–6.
1. Make sure that the top and rear-panel covers are on the mainframe.
2. Connect the mainframe to the appropriate mains power and turn on the
rear-panel power switch.
3. Set the rear-panel power switch on.
4. Push the front-panel On/Standby switch to apply power to your platform.
The mainframe and each of its modules perform a self test to verify
functionality. The self test requires a minute or less to complete, depending
on the number of modules installed.
5. After the self-tests are successfully completed, check that the front panel
display is working, and that there are no displayed errors.
The platform recalls the settings that were active when powered off.
Power-on settings are stored in nonvolatile memory.
NOTE. If your TG 2000 Signal Generation Platform powers on, but a module
fails to appear in the Modules window, the module may require service. Refer to
the appropriate service manual for assistance (service manuals for the mainframe and modules are optional accessories).
6. If this is the first time you have powered on the platform after shipment or
long storage, leave the front-panel On/Standby power switch on for eight
hours to fully charge the system batteries. The batteries maintain system data
when mains power is disconnected.
NOTE. If backup power is lost, the NVRAM is erased. You must reload the
generator test signals from the supplied disks, from backup disks you previously
created, or through a remote port (from the SDP2000 Signal Development
Program). You should also run self cal on all modules to reestablish peak
performance.
TG 2000 Signal Generation Platform User Manual
1–9
Page 31
Getting Started
Incoming Inspection
The incoming inspection procedure verifies that the TG 2000 Signal Generation
Platform mainframe is operating correctly after shipment. After using this
procedure to check the mainframe, use the incoming inspection procedures in
you module user manuals to verify the operation of your modules. To verify the
performance specifications, refer to the Performance Verification Procedure in
the TG 2000 Signal Generation Platform Service Manual.
Equipment Needed
Incoming Inspection
Procedure
You will need the following equipment to perform this procedure.
BG1 Black Burst Generator module to verify the internal clock.
Frequency counter to verify the clock output from the BG1 Generator
module. The frequency counter input should be capable of 75 W impedance,
AC coupling and 0.4 V p-p amplitude.
BNC cable to connect the BG1 Generator module to the frequency counter.
3 1/2 inch, high-density, DOS formatted disk to check the disk drive.
Perform the following steps to check for correct instrument operation:
1. Install the mainframe as described under Installation on page 1–6.
2. Power on the mainframe as described in the Power On Procedure on
page 1–9.
3. If the display is working and no errors appear on the display, then the
mainframe passed its self tests. To determine if the modules passed their
tests, press the Status key and check that no module has a “Failed power up”
status. Refer to the module User manual for further checks on each module.
4. Wait 20 minutes for the TG 2000 Signal Generation Platform and its
generator modules to warm up.
1–10
5. Run the module self calibration as follows:
a. Press the Utilities key.
b. Touch Module Self Cal on screen.
c. Touch CLOCK:1 Self Cal on screen. You might want to select any new
modules at this time. Refer to the Incoming Inspection Procedure in the
module user manuals to see if they require self cal.
d. Touch Start Self Cal on screen.
TG 2000 Signal Generation Platform User Manual
Page 32
Getting Started
Self cal takes 2 to 5 minutes depending on the module. An error message
indicates a failed calibration. If the self cal fails, contact your Tektronix
Representative.
6. Check the LCD display as follows:
a. Push the Screen Contrast button on the right side of the front panel.
b. Check that you can adjust the display contrast using the knob. If you
cannot adjust the contrast, the front panel has an error and may require
service.
7. Check the disk drive as follows:
a. Check that the disk is formatted and not write protected, and insert the
disk into the disk drive.
b. Push the Disk button to enter the Disk window.
c. Touch Save Signals to Disk on screen.
d. Touch Select Destination.
e. Touch New Dir at the bottom of the window.
TG 2000 Signal Generation Platform User Manual
1–11
Page 33
Getting Started
f.Create a directory named “TEST” (as shown below) by pressing the keys
t e s t.
g. Press OK to make the directory and return to the Save Signals to Disk
window.
h. Check that the new directory “TEST” appears in the second column
under Directories. If the directory does not appear, check the disk or try
a new formatted disk and try again to create the directory. A continued
failure may indicate a defective disk drive.
8. Connect the Clock output from the BG1 Generator module to the frequency
counter as shown in Figure 1–5.
1–12
TG 2000 Signal Generation Platform User Manual
Page 34
Getting Started
TG 2000 platform
(rear panel)
Clock output
BG1
Frequency
counter
Figure 1–5: Hooking up the clock output to the frequency counter
9. Set the frequency counter for AC coupling, 400 mV amplitude, and the
100 MHz range.
10. Set the clock frequency to 27 MHz as follows:
a. Push the Modules button.
b. Touch BG1 on screen.
c. Touch NTSC on screen.
d. Touch Black Burst on screen.
e. Touch Module Parameters on screen.
f.Touch Clock Out on screen. Note the current frequency setting.
g. Using the keypad, press the keys “2 7 M/u Enter” to set Out Freq: to
27.0 MHz. If the selector Output at the bottom of the window indicates
Disabled, touch it once to enable the Clock output on the BG1 module.
11. Check that the frequency counter measures 27 MHz within 1 ppm or the
accuracy of your counter. A continued failure indicates a problem with the
clock circuit; contact your Tektronix Representative.
12. Restore the clock frequency noted in step 10f.
You have completed the incoming inspection procedure for the mainframe.
Proceed to the Incoming Inspection procedures in your module user manuals.
TG 2000 Signal Generation Platform User Manual
1–13
Page 35
Getting Started
1–14
TG 2000 Signal Generation Platform User Manual
Page 36
Page 37
Functional Overview
This discussion provides an overview of the main components of the platform.
For information about a specific module, refer to the user manual for that
module. Rear-panel remote connectors are described on page D–1 of this manual.
Important information on the power connector, line selector and fuse appears
under Configuration on page 1–3. Module rear-panel outputs are described in
the module user manuals.
This section contains the following topics:
Functional Overview
Front Panel Overview
Touch Screen and Front-Panel Controls
Rear Panel Connectors and Controls
Figure 2–1 shows a simplified block diagram of the TG 2000 Signal Generation
Platform.
System Control
Disk Drive
Remote Control
As shown in Figure 2–1, the mainframe CPU coordinates front panel and remote
interface commands and uses that input to set up the modules, the clock, and the
optional AGL1 Genlock module. The CPU sends data and control messages over
the CPU bus to set up the generator modules to perform a function, such as load
a test signal into module memory or change the output configuration.
The disk drive can be used to load or export signal sets, presets, sequences and
other data. The drive supports 1.44 Mbyte, MS-DOS format disks. Complete
signal sets for each module type are shipped with the module on 3.5 inch disks.
Refer to Appendix C for more information about the disk drive.
Most TG 2000 Signal Generation Platform front-panel control functions can be
remotely controlled using the RS-232, Parallel, or optional GPIB port. Ground
closure remote control can be accomplished using the Serial port. Refer to
Appendix D for more information about using the various remote interfaces.
A computer or other controller sends SCPI compatible commands to set up the
mainframe or a specific module. Each module must be individually set up using
its own set of commands. The mainframe and modules use some of the same
commands, but each also has unique commands. The SCPI command set for
each module is described in Section 3 of the module user manuals.
TG 2000 Signal Generation Platform User Manual
2–1
Page 38
Functional Overview
External
reference
With AGL1 module installed
Front
panel
Disk
drive
Remote
control
RS-232/Gnd
Closure
Parallel
GPIB
(optional)
Genlock
Mainframe
CPU
Memory
Clock
CPU
bus
Clock
bus
Generator
module
Signal
memory
Generator
module
Signal
memory
Black
Burst
module
Signals
out
Signals
out
Nine
module
slots
Signals
out
Figure 2–1: TG 2000 Signal Generation Platform simplified block diagram
Generator Modules
There are eleven module slots in the TG 2000 Signal Generation Platform. The
Clock and CPU modules are required for system operation and permanently
occupy two special slots (they must be installed in these slots). The black burst
module (BG1 Generator module) is also a standard component of the TG 2000
Signal Generation Platform, but you can remove it or replace it with another
module if desired. Without the black burst module, optional genlock or GPIB
modules, there is room for nine generator modules. You can use any combination
of different generator modules and/or multiples of the same generator module.
Signal Memory
Generator modules, except the black burst module, contain NVRAM for storing
test signals. The test signals are initially loaded from the supplied disks or
through the parallel, GPIB, or RS-232 port into NVRAM. The signal that is
selected for output is loaded into fast memory on the module. The loaded signal
configures the module to immediately output the selected signal. The flexible
memory architecture allows one generator module to output signals stored on
another module of the same type. For example, installing four AVG1 Generator
modules provides four times the signal storage space, and all four modules have
equal access to this expanded memory space.
2–2
TG 2000 Signal Generation Platform User Manual
Page 39
Functional Overview
Black Burst Module
Battery Backup for
NVRAM
The BG1 Black Burst Generator module is supplied as a standard accessory with
the platform. The module can generate one of these six black burst signals at a
time: NTSC with and without setup and color frame reference, and PAL with or
without color frame reference.
The module supplies the selected black burst signal on three rear-panel connectors. Additionally, the module can supply one of the system clocks on its
rear-panel Clock output. The module can be removed without affecting system
operation.
The platform uses a central rechargeable battery to maintain NVRAM data in the
mainframe and modules when AC power is not connected. The power supply
quick-charges the battery while the instrument power is on. When the instrument
is turned off using the front-panel On/Standby switch, the battery is tricklecharged. The battery is not recharged while the rear-panel power switch is off.
The battery power drain, with the rear-panel switch turned off, varies with the
type and number of modules installed. The power drain on the battery is low
enough to allow module memory to remain intact for many months. The length
of time that the memory remains intact is directly related to the type and number
of modules that are loaded. In the event of memory failure from power loss, the
test signals must be reloaded from the supplied disks or through a remote port
(and you should run self cal on all modules).
Clocks and Frame Reset
Signals
The CPU configures the Clock to generate the necessary clock frequencies and
frame reset pulses needed to support the video formats supplied by the active
modules. The TG 2000 Signal Generation Platform can supply different standard
formats (such as PAL and NTSC) at the same time, using the 27 MHz clock or
the two adjustable clocks and the two frame reset pulses. The internal reference
clock and frame synchronizes all modules driving compatible video formats.
Figure 2–2 shows how the clocks and frame reset pulses are generated.
The 27 MHz master clock synchronizes the clocks and frame reset pulses that
control module timing. The clock provides three high-speed clock signals; one at
27 MHz and two at rates from 10 MHz to 100 MHz. In addition, there are two
frame resets that allow different modules to operate in separate television
standards, such as PAL and NTSC. The clocks and frame reset pulses ensure that
all modules driving the same format remain synchronized.
TG 2000 Signal Generation Platform User Manual
2–3
Page 40
Functional Overview
CPU bus
Black burst In
Black burst In
Sine wave
Temperature controlled
master oscillator
(27 MHz)
AGL1
genlock
(optional module)
Preset
Frame
counter
Reset
Digital
frequency
synthesizer
Frame
counter
Reset
Digital
frequency
synthesizer
Frame reset 1
Clock 1
Frame reset 2
Clock 2
27 MHz clock
Figure 2–2: Block diagram of the clocks and frame reset signals
External Reference
Genlock
An external reference may be used by the optional AGL1 Generator module to
lock on one of several video standards. All modules driving the format selected
for the AGL1 Generator module are locked to the external reference. Refer to the
AGL1 Analog Genlock Module User Manual for a list of the supported formats.
Timing References
The TG 2000 Signal Generation Platform supports internal or external references and signal delay relative to this reference. Video reference signals
synchronize the start of test signals of the same type, such as NTSC or PAL. For
using external references, the AGL1 module is required.
System delay and module timing delay are available to adjust for different signal
path delays in an operating environment. System delay uses the optional AGL1
module to lock the system to an external reference signal. Once the reference is
defined, you can add a common delay to all modules generating the same format
as the external reference.
Module timing delay, which is available with some modules, allows the delay of
one module from other modules generating a compatible format. Module timing
delay does not require an AGL1 module.
2–4
TG 2000 Signal Generation Platform User Manual
Page 41
Functional Overview
Figure 2–3 shows the effects of the system delay and the individual module
delay. Note that the BG1 module is at time zero for intermodule timing because
it does not support module delay. In Figure 2–3, the BG1 and AVG1 output
signals are delayed 5 ms by the AGL1 module. The AVG1 is delayed an
additional 15 ms by the AVG1 system delay timer.
Refer to the AGL1 Analog Genlock Module User Manual for more information
on using reference timing.
External
reference black
burst signal
BG1 Module
Module Timing Delay
AVG1 Module
15 s
5 s Genlock
delay
module
delay
20 s total
AVG1 delay
Figure 2–3: Comparison of module delay and system delay from a reference
Figure 2–4 shows how the module delay is implemented for the generator
modules that support it. They have the ability to delay the clock and frame reset
pulse for half a color frame. The delay is by a number of vertical lines plus a
horizontal delay up to the duration of one scan line. The delay is set in the
Module Timing window. Note that the variable system clocks also support
module delay.
TG 2000 Signal Generation Platform User Manual
2–5
Page 42
Functional Overview
Most generator modules can be separately timed with respect to the system. This
is accomplished by applying a precise, variable delay to the system clocks and
frame resets as they enter the module. For conventional television, the adjustment range is effectively infinite, providing adjustment over a complete color
frame.
An adjustable trigger output is available on some modules to synchronize
external test equipment to any location in the test pattern. For a detailed
discussion of the system and module timing delay capabilities, refer to Refer-ences on page 2–30.
System Reference Delay
with the AGL1 Module
DVG1
Module
Clock
27 MHz Clock
Frame Reset 1
Frame Reset 2
BG1
Module
AVG1
Module
DelayDelayDelay
AVG1
Module
Figure 2–4: Block diagram of module timing delay
Figure 2–5 shows how the AGL1 Genlock module can delay its lock signal to
effectively delay the TG 2000 Signal Generation Platform clock and frame
pulses to all modules. Delaying the clock and frame pulses results in a corresponding delay in the module output. All generator modules using the same
frame reference are affected equally by this delay.
Frame reference
Clock
External
Video IN
AGL1
Genlock
Module
ClockDelay
2–6
VCO control
Figure 2–5: Block diagram of the AGL1 Reference timing delay
For a quick tutorial on setting an external reference, refer to Reference Select
Window on page 2–32.
TG 2000 Signal Generation Platform User Manual
Page 43
Functional Overview
Test Signals
The Module, Signal Sets and Test Signals buttons provide access to the output
signals. These buttons allow you to select a module, a signal set within the
module and a particular test signal. Figure 2–6 shows this test signal hierarchy.
The hierarchy provides for grouping signals of the same standard, such as NTSC,
under a descriptive name. Under the Signal Set name NTSC, for example, are
various test signals with descriptive names, such as “100% Color Bars.” When
you add or save signals, you should assign appropriate names for Signal Sets and
Test Signals to ensure that their format and function are clear.
Each module has a Module Parameters window to set parameters that apply to all
appropriate test signals from that module.
Each test signal has unique parameters controlled through the Active Signal
Parameters window. These include amplitude control for many parts of the video
signal. More information is supplied in the module user manuals.
Edit Module window
Touch Rename
Module.
Touch Module
Parameters.
Modules window
T ouch desired module.
Signal Sets window
Touch desired signal set
(usually represents format).
Push Modules
button.
Push Edit
button.
Push Signal
Sets button.
Rename Module window
Enter new name for
module.
Module Parameters windowActive Signal Parameters window
Selections depend on which module is
selected. Refer to module user manuals.
Figure 2–6: Module and test signal hierarchy
TG 2000 Signal Generation Platform User Manual
Test Signals window
T ouch desired Test Signal icon
until correct signal is selected.
Touch Module
Parameters.
Selections depend on which module is
selected. Refer to module user manuals.
Touch Active
Signal Parameters.
Push Test
Signals button.
2–7
Page 44
Functional Overview
For instructions on loading signals into a module, refer to Disk Drive Procedures
on page C–1. For instructions on selecting test signals, refer to Selecting TestSignals on page 2–38.
Shared Module Memory
A generator module can use the test signals stored in the memory of other
modules of the same type. For example, a newly installed AVG1 Generator
module can load and output signals stored in another AVG1 Generator module
already in the mainframe. The memory space in the two modules is combined to
provide twice the signal storage. The BG1 Generator module does not use this
shared memory structure; each BG1 Generator module contains the same set of
test signals.
When you remove a module, the signals stored in that module are no longer
available to the remaining modules. Before removing a module, copy all signals
for the module type to a disk (refer to Save Signals to Disk on page C–2). After
removing the module, you can load the desired signals from the disk into the
remaining modules, as space permits.
2–8
TG 2000 Signal Generation Platform User Manual
Page 45
Front Panel Overview
Functional Overview
Figure 2–7 shows the major features of the TG 2000 Signal Generation Platform
front panel. Control is through the touch-screen display, the System Function
buttons, and the Navigation controls. In most cases, function buttons display a
window of selections related to the button name. For example, the Modules
button displays a window with icons that represent the installed generator
modules. The top part of Figure 2–8 shows the Modules window with three
modules installed.
Brief Description of the
Front Panel Controls
Figure 2–7: TG 2000 Signal Generation Platform front panel
The Navigation controls provide an alternative to touching display icons to select
them. Touching a display icon immediately activates the item, which often
means a delay while a signal loads. As an alternative, use the knob and cursor
buttons to move from item to item on the display without activating them. This
technique is known as browsing. Browsing lets you look through sets of test
signals, or other selections, without waiting for each to load. To activate a
browsed item, push the Select button.
The keypad provides a quick way to enter an exact quantity for a parameter.
Scale buttons, such as k (kilo) and M (mega), makes it easy to enter values.
The four function buttons at the right edge of the front panel provide a variety of
functions. The Front Panel Enable button enables and disables the front panel
controls and display. After the screen saver turns off the display and front panel,
use the Front Panel Enable button to enable them again. The Remote button lets
you set remote port parameters (refer to Appendix D). The Screen Contrast
button sets the knob to adjust the display contrast. The On/Standby button
powers up the TG 2000 Signal Generation Platform when the rear-panel power
switch is on.
You can use 3.5 inch disks to store signal sets, instrument settings or other files.
Refer to Using the Disk Drive on page C–1 for more information.
All of these controls are discussed in further detail in the following topics.
TG 2000 Signal Generation Platform User Manual
2–9
Page 46
Functional Overview
Touch Screen and Front-Panel Controls
This section describes the following controls:
Touch Screen Display
System Function Windows
Cursor Buttons and Knob
Keypad
Additional Controls
Touch Screen Display
The LCD display is a touch screen that lets you touch a displayed icon to make it
active. Touching an icon either selects the item, displays a subwindow of
selections, or scrolls to the next selection. After you select an icon, it may
require a few seconds to implement, such as when selecting an output test signal.
Figure 2–8 shows the main features of the display.
Location of the selected
Window titleStatus bar
Signal set and name
of active signal
Selected item
Icons for
selectable modules
List box
module within the mainframe
2–10
Figure 2–8: Main display features
TG 2000 Signal Generation Platform User Manual
Page 47
Functional Overview
The following list describes the window features shown in Figure 2–8 and others
you may encounter:
List box shows additional selections within an icon, such as a list of test
signals. Rotate the knob or touch the arrow icon beside the list box to display
the list. See Figure 2–8. Touch a list item to select it or use the cursor keys
or the knob to browse the list. Use the Select button to make a browsed
signal active.
Page << or Page >> provides access to a previous page or following page of
selections.
Quit returns from a window to a previous window.
Quit/Save returns from a window to a previous window. If you have made
changes, you are asked if you want to save them. If you changed the
parameters of a test signal, selecting Save opens the Save Signal window, in
which you enter a signal name. This name always starts with an underscore
character to indicate a user-created signal.
Reset returns settings to the values they had when you entered the window.
Status bar shows the active signal set and test signal for the selected module.
In Figure 2–8, this is BG1:2. The status bar also gives the status of other
functions, such as signal transfers.
Slot # identifies the physical location of the selected module to remind you
which module outputs are being controlled. Note that the slot number
matches the “2” in the active module name, BG1:2. You can rename the
module through the Edit menu. However, the slot numbers will still be
displayed when you select Versions in the Utilities window.
Icon represents and shows the status of test signals, subwindows or other
selectable items. In the top part of Figure 2–8, three installed modules are
available and the BG1:2 module is selected. Touching some icons repeatedly
cycles through the available selections, such as those in the list shown in
Figure 2–8.
Window title shows the window name which indicates the selected function.
NOTE. Several icons appear in more than one location. For your convenience,
these icons appear in windows where appropriate.
TG 2000 Signal Generation Platform User Manual
2–11
Page 48
Functional Overview
System Function
Windows
This section provides overviews of the windows accessed by pushing System
Function buttons. The descriptions are in order as the buttons appear on the front
panel, proceeding from up to down and from left to right.
Operating procedures that use these windows appear in Operating Procedures,
beginning on page 2–21.
Modules Window.
screen icons. The icons are in order according to their slot location in the
mainframe (from left to right as viewed from the front). In the following
example, the BG1 Generator module is in slot 2, the AVG1 Generator module is
in slot 7 and the DVG1 Generator module is in slot 8. The currently selected
module is AVG1:7.
The status bar displays the signal set and the name of the active test signal, as
well as the slot position of the selected module. If no signal is being generated
(the module output is disabled), the status bar displays “Disabled.”
The default module names are based on module type and slot number. To
customize these names, refer to page 2–34 of this manual. Touching a module
icon opens the Signal Sets window for that module.
The Modules window displays all of the installed modules as
2–12
If an installed generator module does not appear in the Modules window, it may
require service. (The AGL1 Genlock module is not a generator and does not
appear in the Modules window.) If a generator module does not appear, push the
Status button and check for an error message associated with the module.
Signal Sets Window.
available for the selected module. The following example is a signal set window
The Signal Sets window displays all of the signal sets
TG 2000 Signal Generation Platform User Manual
Page 49
Functional Overview
for an AVG1 module, with the current output signal highlighted. Touching an
icon selects the set and opens the Test Signals window.
T est Signals Window. The Test Signals window allows access to the test signals
contained in the selected signal set. The example below is a test signal window
for the AVG1 module. The currently active test signal is highlighted. Refer to
Selecting Test Signals on page 2–38 for the procedure on how to select test
signals.
Each type of generator module has special capabilities that make it unique. Many
of these capabilities are controlled through selections in the Module Parameters
and Active Signal Parameters windows which are accessed through the Test
Signals window. For information on these module-specific capabilities, refer to
the module user manuals.
TG 2000 Signal Generation Platform User Manual
2–13
Page 50
Functional Overview
List Window. The List window displays a hierarchical listing of all modules
installed in the platform, and the installed test signals for each module. The
example below shows the List window with the 100% Color Bars test signal
selected. This signal is in the NTSC/Flat Field signal set. You can use the
Navigation arrows or knob to browse through the list of signals for any generator
module. You can also select the output signal.
Edit Window. You can edit the name of an installed generator module or set
module parameters. Refer to page 2–34 for the procedure.
Presets Window. You can use this window to create/recall presets, or to copy
presets to and from a disk.
Status Window. The Status window shows information for all installed modules.
Disk Window. You use the Disk window to operate the disk drive, for loading
signals, presets, and sequences to and from a disk. Refer to Appendix C.
Sequences Window. A sequence file (*.seq) is a series of generator settings
defined using Tcl language and SCPI commands. You use the Sequences window
to install sequences from the disk drive or remote interface, and to run sequences. When you run a sequence, the instrument performs the commands and
settings in the order dictated by the sequences file.
You can create a sequence that will run at power on. The sequence must be
named AUTOSTRT. You can load the start-up sequence into memory or leave a
disk in the disk drive at power on.
2–14
Refer to Sequence Programming on page 3–13 for information on creating
sequence files.
TG 2000 Signal Generation Platform User Manual
Page 51
Functional Overview
Help Window. The Help windows provide context sensitive help for items in the
current window.
Utilities Window. The Utilities window provides access to housekeeping
functions, such as setting the date, setting the display timeout, and running self
calibration. The Diagnostic selection is for use by Tektronix only. A switch,
shown in Figure 1–2, is designed for use with the diagnostics. This switch
should be left in position 0 for normal operation
References Window. The References window, shown below, controls reference
operation. The external reference timing delay requires the optional AGL1
Genlock module.
TG 2000 Signal Generation Platform User Manual
2–15
Page 52
Functional Overview
Cursor Buttons and Knob
Use the NAVIGATION controls to select icons from the various windows and to
set values for signal parameters.
When you use the cursor buttons or knob to move from item to item in a
window, you automatically enter the browse mode. Figure 2–9 shows the
difference between browsed and selected items.
To browse items and select one, use these steps:
1. Push a System Function button such as Test Signals.
2. Push the right-most cursor button to move right through the items. Use the
up or down cursor buttons for vertical browsing. The currently browsed item
has a ring around it. Figure 2–9 shows the difference between browsed and
selected items.
3. Try rotating the knob to move through the displayed items. When an icon
has several selections available, the list box will drop down. Rotating the
knob scrolls through the list selections.
4. To select a browsed item (the one with a ring) push the Select button or
touch the item on screen. To close the list, push the Escape button.
2–16
Browsed icon
Selected icon
Figure 2–9: Browsed and selected icons
You can browse test signals for a module, but the output does not change until
you push the Select button or the signal icon. Figure 2–10 shows how to access a
test signal list by selecting the test signal icon and turning the knob.
TG 2000 Signal Generation Platform User Manual
Page 53
Test Signal window
before turning knob
List drops down
after turning knob
Figure 2–10: Using the knob to open a list of signals
Functional Overview
Cursor Buttons. Use these buttons to navigate through lists and objects on the
display. Use the cursor buttons to move through the characters when entering
text.
Knob. Use the knob to scroll through a list or to change a parameter setting. The
knob is also useful for browsing items in a window and as an easy way to select
characters in a text entry window. When a you have a numeric item selected, the
knob will change the value for the selected parameter. Changing a parameter
immediately affects the module output.
Icon. Use this button to confirm an entry or to make a browsed selection active.
When you find a test signal using the browse mode, push the Select button to
output the signal. You can use the Select button to sequence through items
within an icon when it contains several selections.
TG 2000 Signal Generation Platform User Manual
2–17
Page 54
Functional Overview
Keypad
Use the keypad to enter exact values for parameters instead of using the knob to
increment the value. Table 2–1 shows the purpose of each key.
T able 2–1: Keypad definitions
Key(s)Explanation
0–9Enters numeric values
.Enters a decimal point
+/–Toggles the numeric value between positive and negative
p/TEnters the pico or Tera unit of measure
n/GEnters the nano or Giga unit of measure
m/MEnters the micro or Mega unit of measure
m/kEnters the milli or kilo unit of measure
EscapeExits data entry mode without changing the existing data
Back SpErases one character
EEExponent Entry. When entering a parameter value, enter a number,
push the EE key then enter the exponent value. For example, pushing
4.2 EE 6 enters the value 4.2x10
EnterChanges the parameter value to the new value
1
The TG 2000 Signal Generation Platform determines which of the two units
is appropriate based on the parameter being set.
1
1
1
1
6
.
2–18
TG 2000 Signal Generation Platform User Manual
Page 55
Functional Overview
Additional Controls
The following four controls are located along the right side of the front panel.
Front Panel Enable Button. The front-panel controls are automatically disabled
after a designated period of no activity. Pushing the Front-Panel Enable button
enables (or disables) the other front-panel controls. Refer to page 2–24 for
information on the front-panel enable and timeout.
Remote Button. Pushing the Remote button provides control of the remote
interfaces through the Remote window. Refer to page 0–7 for information about
the Remote window.
Screen Contrast Button. Pushing this button assigns the knob to adjust the screen
contrast.
On/Standby Switch. Pressing the On/Standby switch turns the instrument off
after all critical processes have been completed, leaving the TG 2000 Signal
Generation Platform in a known state. This switch is different from the rear-panel on/off switch, which immediately shuts off power to the instrument regardless
of any functions in process.
When the On/Standby switch is on, the battery system is charged at the highest
rate. When on standby power, and the rear panel power switch is on, the battery
system charges at a low or trickle rate.
The Power On procedure is on page 1–9.
TG 2000 Signal Generation Platform User Manual
2–19
Page 56
Functional Overview
2–20
TG 2000 Signal Generation Platform User Manual
Page 57
Operating Procedures
This section provides instructions for using the TG 2000 Signal Generation
Platform menus. The topics are in alphabetical order. For module-specific
functions, refer to the appropriate module user manual.
Allocating System Resources
You can disable clock clients and frame reset clients to free up system resources.
Clock Allocation
Use this function to free clients of a clock so the clock is available for use by
another module. To disable clock clients, perform the following steps:
1. Push the Utilities button.
2. Touch Clock Clients.
3. Note the status and use of each clock signal. The modules sharing a clock
signal are listed below the client button.
4. To free a clock signal, touch the corresponding Disable Clients icon on the
display (see the following illustration). All modules currently using that
clock signal will be disabled. To recover the clock clients, enable the module
outputs through the Module Parameters window.
If you have two formats currently active, such as NTSC and PAL, and load a
signal using another format, such as 525–143, the Clock Allocation window will
appear. In this window, you can either disable one of the clock clients to free it
for use by the new format or touch Cancel to stop loading the new format.
TG 2000 Signal Generation Platform User Manual
2–21
Page 58
Operating Procedures
Frame Reset Allocation
Use this function to disable the clients of either of the system frame reset pulses
to free it for use by another module. To disable frame reset clients, perform the
following steps:
1. Push the Utilities button.
2. Touch Frame Reset Clients.
3. Note the status and use of each frame reset signal. The modules sharing a
frame reset are listed below the client button, as shown in the following
illustration.
4. To free a frame reset pulse, touch the corresponding Disable Clients icon on
the display (see the following illustration). All modules currently using that
frame reset will be disabled. To recover the frame reset clients, enable the
module outputs through the Module Parameters window.
Modules
sharing frame
reset signal
2–22
If you have two formats active, such as NTSC from an AVG1 and an AGL1 set
to lock on PAL burst, and you try to load a signal using a third format, such as
SECAM, the Frame Reset Allocation window opens. In this window, you can
either disable one of the clients of a frame reset to free it for use by the new
format, or touch Cancel to stop loading the new format.
TG 2000 Signal Generation Platform User Manual
Page 59
Calibration
Date/Time Set
Operating Procedures
Refer to Self Calibration on page 2–35.
Use this window to set the date and time of the TG 2000 Signal Generation
Platform.
1. Push the Utilities button.
2. Touch Set Date/Time to open the following window.
3. Touch a parameter such as Minute:.
4. Change the value by rotating the knob or keying in the value followed by the
Enter key.
5. Touch another parameter and change its value until all date/time parameters
are set.
6. Touch Load to make the new setting current in the TG 2000 Signal
Generation Platform.
TG 2000 Signal Generation Platform User Manual
2–23
Page 60
Operating Procedures
Front Panel Enable and Timeout
The Front Panel Enable button acts like a toggle switch to enable or disable the
other front panel buttons, the knob, and the touch screen. The front panel is
enabled when the LED in the center of the button is on. When the front panel is
disabled, the LED is off.
Timeout is the time from the last front-panel action until the front panel is
disabled and the screen saver blanks the screen.
To reactivate the front panel after it has timed out, push the Front Panel Enable
button.
To change the timeout period, perform the following steps:
1. Push the Utilities button.
2. Touch Front Panel Settings.
3. Touch the arrow in the top right corner of the list box, or rotate the front-pan-
el Navigation control, to display the Screen Timeout settings.
4. Use the Navigation arrows to browse through the list of timeout settings.
5. Push the Select button to select a new timeout value or OFF.
6. Touch Quit to exit.
2–24
TG 2000 Signal Generation Platform User Manual
Page 61
Help
Operating Procedures
The Help windows provide context sensitive help for items in the current
window. Use the Navigation arrows to scroll up or down in the Help window.
Touch Quit to leave the current Help window and return to the previous window.
Push the Help button twice for general help information.
TG 2000 Signal Generation Platform User Manual
2–25
Page 62
Operating Procedures
Locked LED
The Locked LED (located below the References button) has three states to
indicate the status of the genlock function.
Illuminated: the TG 2000 Signal Generation Platform is locked to the
external reference.
Blinking: the TG 2000 Signal Generation Platform is attempting to lock or
unable to lock to the external reference. Check that the incoming signal
matches the type chosen in the Reference Select window. Also, ensure that
the signal line is properly terminated at the AGL1 loop through connector or
at distant equipment connection. The status bar gives the current status.
Off: The TG 2000 Signal Generation Platform reference selector Int/Ext is
set to Internal and the AGL1 module is not active.
2–26
TG 2000 Signal Generation Platform User Manual
Page 63
Module Status
Operating Procedures
The Status window shows the following information about the installed
modules:
Module type
Slot location (physical location in the mainframe)
Module name (default or user-defined)
Signal format (if power-up was successful) or system problems, such as a
module failing the power-up test
Current output signal
The Status window also lists configuration information for an installed AGL1
module. AGL1 information appears at the bottom of the display.
The following example shows a Status window with AGL1 module information.
TG 2000 Signal Generation Platform User Manual
2–27
Page 64
Operating Procedures
Presets
You can store instrument settings in a preset and later recall these settings. To
save presets on a disk, refer to page C–10.
Create a Preset
To create a preset containing the current instrument settings, follow these steps:
1. Push the Presets button to open the Presets window, shown below.
2. Touch Presets on the display.
3. Touch Create at bottom of the display.
2–28
4. In the text entry window, enter the name for your new preset. The name is
limited to eight characters.
TG 2000 Signal Generation Platform User Manual
Page 65
Operating Procedures
5. Touch OK. The new preset is created and appears in the list of available
Presets.
Save Current Settings to
an Existing Preset
Recall, Rename, or Delete
a Preset
To save current instrument settings to an existing preset, follow these steps:
1. Push the Presets button.
2. Touch Presets on the display.
3. Select the desired preset from the list at the left side of the window.
4. Touch Save To to save the current settings to the selected preset. The
previous contents of the preset are lost.
To recall, rename, or delete a preset, follow these steps:
1. Push the Presets button.
2. Touch Presets on the display.
3. Touch the desired function.
4. Select the desired preset from the list at the left side of the window:
Recall restores the instrument settings stored in the selected preset.
Current settings are not saved. Recalling the Factory preset restores the
TG 2000 Signal Generation Platform and all installed modules to factory
default settings.
Rename lets you give an existing preset a new name. In the text entry
window, enter the new name for your preset. The name is limited to
eight characters.
Delete removes selected preset from memory.
TG 2000 Signal Generation Platform User Manual
2–29
Page 66
Operating Procedures
References
Module Timing
Use the Module Timing window to advance or delay the outputs for capable
modules relative to a TG 2000 Signal Generation Platform frame reset signal or
to an external video reference (when using the AGL1 Genlock module). Module
timing is specified only between modules using the same basic format, such as
NTSC or PAL.
1. Push the References button.
2. Touch the Module Timing icon to open the window shown below.
2–30
3. Touch a module icon to open a window for adjusting that module’s relative
timing as a combined horizontal (in msec) and vertical (in lines) duration.
TG 2000 Signal Generation Platform User Manual
Page 67
Operating Procedures
4. Touch a module timing icon to open a module timing window shown below.
5. To set the relative timing of the module, follow these steps:
a. Touch H Feel to select either Fine or Coarse resolution for the
Horizontal adjustment. Fine selects subclock-cycle adjustment, and
Coarse selects increments of one cycle of the clock frequency.
b. Touch Horizontal and rotate the knob or use the numeric keypad to
enter a timing value along the one scan line. Use a positive value to
delay the module outputs or a negative value to advance them. The
output immediately shifts to the timing setting.
c. To add a delay of one or more vertical lines, touch Vertical. Enter a
value up to the number of lines in all fields in the frame. The delay limit
is plus or minus half a frame.
TG 2000 Signal Generation Platform User Manual
2–31
Page 68
Operating Procedures
Select Reference
Use the Reference Select window to choose the type and source of the external
reference to lock on with the AGL1 module. The Int./Ext and Reference Timing
icons are the same ones that appear in the References window. Only modules
using compatible formats are affected.
To set up a TG 2000 Signal Generation Platform to lock on or synchronize to an
external reference, follow these steps:
1. Ensure that an AGL1 Generator module is installed in the platform.
2. Connect the external reference video signal to Ref1 or one of the other Ref
inputs on the AGL1 Generator module.
3. Ensure that the reference signal is terminated properly at the loop through or
remotely. (The CW input is terminated internally.)
4. Touch Reference Select and choose the format that matches the input signal.
(Rotate the knob to view the list of available formats.) Only the signal types
shown for the selected format can be selected for external reference.
5. Touch Int/Ext to enable the external signal. If the AGL1 module is able to
lock to the external signal, the Locked LED under the References button will
be on constantly.
6. Touch Reference Timing to set an advance or delay relative to the external
reference. To continue, refer to the procedure under Reference TimingWindow.
2–32
TG 2000 Signal Generation Platform User Manual
Page 69
Operating Procedures
Reference Timing
Use the Reference Timing window to set the delay of the TG 2000 Signal
Generation Platform and all its generator modules relative to an external video
reference signal. Frame delay is not possible from a CW or sine wave input.
Provides control of the timing offset relative to the Ref ports of the AGL1
module.
To set an advance or delay of the TG 2000 Signal Generation Platform relative to
an external reference, follow these steps:
1. Push the References button.
2. Touch the Reference Timing icon to open the window shown below.
3. Touch H Feel to select either Fine or Coarse resolution for the Horizontal
adjustment. Fine selects nanosecond adjustment, and Coarse selects
increments of one cycle of the clock frequency.
4. Touch Horizontal and rotate the knob or use the numeric keypad to enter a
timing value along the one scan line. Use a positive value to delay the
outputs or a negative value to advance them. The current outputs immedi-
ately shifts to the timing setting.
5. To add a delay of one or more vertical line, touch Vertical. Enter a value up
to the number of lines in all fields in the frame. The delay limit is plus or
minus half a frame.
Selecting Internal or
External Reference
TG 2000 Signal Generation Platform User Manual
Touch the INT/EXT icon to toggle between internal and external reference
(select either internal reference or enable the AGL1 Genlock module). The
AGL1 module requires an external signal to operate. The current reference is
displayed within the key. In the References window on page 2–30, the reference
is Internal.
2–33
Page 70
Operating Procedures
Renaming a Module
Modules are assigned default names based on the module type and slot number.
You can edit these names. The name you specify will appear in windows such as
the Modules window. However, the original name and slot number appears in the
Versions window (accessed from the Utilities window).
To edit the name of an installed module, follow these steps:
1. Push the Modules button.
2. On the display, touch the icon that represents the desired module (for
example, AVG1). To distinguish between two modules of the same type,
refer to the slot number.
3. Push Edit.
4. Touch Rename Module.
5. In the Rename Module window, you can change the module name as
follows:
a. You can use the back space (BS) key to erase the existing module and
slot name or add on to the end of the existing name.
b. Touch the desired characters to create the new name for the module. You
can enter up to 20 characters. The first 10 characters will show in the
module icon.
c. When you have completed the new name, touch OK to save the name,
and then touch Quit to exit.
d. You can reset the module name to the original name by touching Reset
to Default. (If you have already saved a new name and exited the
window, push Modules and then push Edit to get back to the Rename
Module window. Then touch Rename Module and Reset to Default.)
2–34
TG 2000 Signal Generation Platform User Manual
Page 71
Self Calibration
Operating Procedures
To perform self calibration, the instrument must be warmed up for 20 minutes.
No external equipment is required.
To ensure proper performance, perform self calibration on any replaced module.
Refer to the module user manual to see if there is any special set up necessary
when performing self calibration on that module.
NOTE. All module outputs are disabled during calibration of any module. All
system modules are affected, not just the module selected for calibration.
To calibrate one or more modules, follow these steps:
1. Allow a 20 minute warm-up period before proceeding.
2. Push the Utilities button.
3. Touch Module Self Cal on the display.
4. Touch the icon corresponding to each module that you want to calibrate. You
may select any or all modules. In the following example, the AVG1 and the
DVG1 are selected for self calibration.
5. Ensure that all signal outputs for the selected modules are properly termi-
nated in 75
outputs.
Ω. Do not terminate the Trigger outputs or the BG1 module
6. Touch Start Cal to begin calibration of the selected modules. The number of
modules selected determines the time required for calibration.
7. Check that no errors are displayed during calibration.
TG 2000 Signal Generation Platform User Manual
2–35
Page 72
Operating Procedures
Sequences
General information about sequences can be found on page 2–14. Information
about programming a sequence is on page 3–13.
Add Sequence from Disk
To load a sequence from the disk drive into system memory, perform the
following steps:
1. Insert the disk containing the sequence file into the TG 2000 Signal
Generation Platform drive.
2. Push the Sequences button.
3. Touch Add Sequences from Disk.
4. Select the sequence file you wish to load. In the following figure, SEQ1 is
selected to load.
2–36
5. Touch Start Load to load the sequence into the TG 2000 Signal Generation
Platform.
6. Choose another sequence to load or touch Quit.
7. Touch Quit again to return to the Sequences window.
TG 2000 Signal Generation Platform User Manual
Page 73
Operating Procedures
Run a Sequence
To run a sequence that is already loaded into memory, follow these steps:
1. Push the Sequences button.
2. Touch Sequences on the display to open the following window.
3. Rotate the knob to view the list of sequences. Only available sequences are
displayed.
Stop a Sequence
4. Select the sequence that you want to run.
5. Touch Run to start the sequence. If you want to interrupt the sequence, touch
Stop. Any output generated by the sequence is displayed in the area below
the Sequence window list box.
6. To remove output generated by a sequence, touch Clear.
7. To exit the Sequences window, touch Quit. The sequence will continue to
run even after you exit the window. Note that front panel response is slower
when a sequence is running.
To stop a sequence that is running, follow these steps:
1. Touch Stop in the Sequence window.
2. A dialog box appears. Choose one of the options; Yes, Yes to All, no or
cancel.
3. If you don’t want to stop the sequence, touch No or Cancel.
4. To exit the Sequences window, touch Quit.
TG 2000 Signal Generation Platform User Manual
2–37
Page 74
Operating Procedures
Screen Contrast
Selecting Test Signals
When active (LED illuminated), rotating the knob adjusts the screen contrast
over the available levels. Adjust the contrast for the best viewing in your
environment.
This procedure selects a module output signal in two different ways.
To select the test signal to be generated by a module, follow these steps:
1. Push the Modules button, and then touch the icon for the desired module
(for example, AVG1). If you are selecting a signal set for a module that is
already selected, you can skip this and just push the Signal Sets button.
2–38
2. Touch the icon for the desired signal set (for example, NTSC). If the desired
signal set is already selected, you can skip this and just push the Test
Signals button.
3. Touch the icon for the desired test signals (for example, Color Bars).
4. Touch the icon to toggle through the available test signals until the desired
signal is selected (for example, 100% Color Bars). When you select a test
signal, it will automatically enable the output of a disabled module.
You can also touch the list box area at the top of the screen or turn the knob
to display the list of available signals within the selected group of test
signals. Move the browse ring to the desired signal and then push the Select
button.
TG 2000 Signal Generation Platform User Manual
Page 75
Versions
Operating Procedures
To use a different method to select the test signal to be generated by a module,
follow these steps:
1. Push the List button.
2. Select the desired module on the left portion of the display, using the
Navigation arrow and the Select button. All signal sets available to the
selected module and all test signals in each signal set are listed on the right
side of the display.
3. Use the Navigation arrows or knob to browse to the desired signal
4. If you want to select this signal as the output signal, push the Select button.
5. To exit this window, push another System Function button.
The Versions window displays software and hardware versions of the TG 2000
Signal Generation Platform and all installed modules. Be sure to include this
information when reporting any problems with your TG 2000 Signal Generation
Platform or an installed module.
To access the Versions window, push the Utilities button and then touch
Versions on the display.
TG 2000 Signal Generation Platform User Manual
2–39
Page 76
Operating Procedures
2–40
TG 2000 Signal Generation Platform User Manual
Page 77
Page 78
Syntax
Programming Model
This section contains information on the Standard Commands for Programmable
Instruments (SCPI) and IEEE 488.2 Common Commands you can use to
program your TG 2000 Signal Generation Platform.
The information is organized in the following subsections:
Programming Model
SCPI Commands and Queries
IEEE 488.2 Common Commands
Constructed Mnemonics
Block Arguments
Special Characters
Addressing Module Test
Signals
Command Arguments
Specific conditions must exist before programming commands will affect the test
signal generated by a module.
The following two steps must be performed before the test module will respond
to signal parameter commands.
1. Select the module to be addressed before executing any commands. Many of
the commands used by the TG 2000 Signal Generation Platform are shared
by several modules and will be accepted without a reported error.
2. Enable the module using the command. The output state
of the module must be enabled before test signal parameters can be changed.
Many commands accept either string or numeric arguments. For example: a
boolean argument can either be “1” or “ON”.
Select signal parameter commands accept either a numeric value or one of the
following strings:
MINimum. Use this argument to query the minimum value or set the parameter
value to the minimum acceptable value.
TG 2000 Signal Generation Platform User Manual
3–1
Page 79
Syntax
MAXimum. Use this argument to query the maximum value or set the parameter
value to the maximum acceptable value.
DEFault. Use this argument to query the default value or set the parameter value
to the default value.
UP. Use this argument to increase the parameter value one increment as defined
by the :STEP value.
DOWN. Use this argument to decrease the parameter value one increment as
defined by the :STEP value.
NOTE. If the TG 2000 Signal Generation Platform does not return a value in
response to a MIN or MAX query, then the values are undefined and an error
message is generated.
Argument Example
The following example demonstrates the effect of each of the arguments when
used with a step value.
1. :INSTrument:SELect AVG1:#" selects the analog video generator module
located in the slot number indicated by the “#” symbol.
2. :OUTPut:STATe ON enables the module and displays the loaded test signal.
NOTE. The :OUTPut must be “ON” before the following commands will have
any affect.
NOTE. :SOURce:MVIDeo:AMPLitude uses an argument that is the percent of
modulation.
3. :SOURce:MVIDeo:AMPLitude? DEF returns the default value of 100.0000.
4. :SOURce:MVIDeo:AMPLitude? MAX returns the maximum value of 127.0000
percent.
5. :SOURce:MVIDeo:AMPLitude DEFault sets the master video amplitude to
the default value.
6. :SOURce:MVIDeo:AMPLitude:STEP 2 sets the step increment to 2 percent.
3–2
7. :SOURce:MVIDeo:AMPLitude DOWN changes the amplitude to 98 percent.
8. :SOURce:MVIDeo:AMPLitude 50 changes the amplitude to 50 percent.
TG 2000 Signal Generation Platform User Manual
Page 80
Syntax
9. :SOURce:MVIDeo:AMPLitude MAXimum changes the amplitude to
127 percent.
10. :SOURce:MVIDeo:AMPLitude MINimum changes the amplitude to 0 percent.
11. :SOURce:MVIDeo:AMPLitude UP changes the circle diameter to 2 percent.
12. :OUTPut:STATe OFF disables the module and removes the displayed test
signal.
TG 2000 Signal Generation Platform User Manual
3–3
Page 81
Syntax
SCPI Commands and Queries
SCPI is a standard created by a consortium that provides guidelines for remote
programming of instruments. These guidelines provide a consistent programming environment for instrument control and data transfer. This environment
uses defined programming messages, instrument responses, and data format
across all SCPI instruments, regardless of manufacturer. The TG 2000 Signal
Generation Platform uses a command language based on the SCPI standard.
The SCPI language is based on a hierarchical or tree structure (see Figure 3–1)
that represents a subsystem. The top level of the tree is the root node; it is
followed by one or more lower-level nodes.
Creating Commands
OUTPut
CIRCle
DIAMeter
POSitionSTATe
Root node
Lower-level
nodes
Figure 3–1: Example of SCPI subsystem hierarchy
You can create commands and queries from these subsystem hierarchy trees.
Commands specify actions for the instrument to perform. Queries return
measurement data and information about parameter settings.
SCPI commands are created by stringing together the nodes of a subsystem
hierarchy and separating each node by a colon.
In Figure 3–1, OUTPut is the root node and CIRCle, STATe, DIAMeter, and
POSition are lower-level nodes. To create a SCPI command, start with the root
node OUTPut and move down the tree structure adding nodes until you reach the
end of a branch. Most commands and some queries have parameters; you must
include a value for these parameters. If you specify a parameter value that is out
of range, the parameter will be set to a default value. The command descriptions,
which start on page 3–35, list the valid values for all parameters.
3–4
Creating Queries
For example, OUTPut:CIRCle:STATe ON is a valid SCPI command created
from the hierarchy tree in Figure 3–1.
To create a query, start at the root node of a tree structure, move down to the end
of a branch, and add a question mark. OUTPut:CIRCle:STATe? is an example of
a valid SCPI query using the hierarchy tree in Figure 3–1.
TG 2000 Signal Generation Platform User Manual
Page 82
Syntax
Parameter Types
Every parameter in the command and query descriptions is of a specified type.
The parameters are enclosed in brackets, such as <pattern>. The parameter type
is listed after the parameter and is enclosed in parentheses, for example,
(discrete). Some parameter types are defined specifically for the TG 2000 Signal
Generation Platform command set and some are defined by ANSI/IEEE
488.2-1987 (see Table 3–1).
T able 3–1: Parameter types used in syntax descriptions
Parameter TypeDescriptionExample
binaryBinary numbers#B01 10
arbitrary block
booleanBoolean numbers or valuesON or 1
discreteA list of specific valuesMIN, MAX, UP, DOWN
hexadecimal
2,3
NR1
1
A specified length of arbitrary
data
#512234xxxxx . . . where 5
indicates that the following 5
digits (12234) specify the length
of the data in bytes; xxxxx ...
indicates the data
OFF or 0
2
Hexadecimal numbers
#HAA, #H1
(0–9, A, B, C, D, E, F)
numericIntegers0, 1, 15, –1
NR22 numericDecimal numbers1.2, 3.141516, –6.5
NR32 numericFloating point numbers3.1415E–9, –16.1E5
NRf2 numericFlexible decimal number that
See NR1, NR2, NR3 examples
may be type NR1, NR2 or NR3
4
string
Alphanumeric characters (must
“Testing 1, 2, 3”
be within quotation marks)
1
Defined in ANSI/IEEE 488.2 as “Definite Length Arbitrary Block Response Data.”
2
An ANSI/IEEE 488.2–1992-defined parameter type.
3
Some commands and queries will accept a hexadecimal value even though the
parameter type is defined as NR1.
4
Defined in ANSI/IEEE 488.2 as “String Response Data.”
TG 2000 Signal Generation Platform User Manual
3–5
Page 83
Syntax
Abbreviating Commands,
Queries, and Parameters
You can abbreviate most SCPI commands, queries, and parameters to an
accepted short form. This manual shows these short forms as a combination of
upper and lower case letters. The upper case letters indicate the accepted short
form of a command. As shown in Figure 3–2, you can create a short form by
using only the upper case letters. The accepted short form and the long form are
equivalent and request the same action of the instrument.
Long form of a
command
Accepted short form
of a command and
parameter
ce:VIDeo3:BURSt 100
SOUR
Minimum information needed
for accepted short form
SOUR:VID3:BURS 100
Figure 3–2: Example of abbreviating a command
NOTE. The numeric suffix of a command or query may be included in either the
long form or short form; the TG 2000 Signal Generation Platform will default to
“1” if no suffix is used. In Figure 3–2, the “3” of “VID3” indicates that the
command is directed to the third channel..
Chaining Commands and
Queries
3–6
You can chain several commands or queries together into a single message. To
create a chained message, first create a command or query, add a semicolon (;),
and then add more commands or queries and semicolons until you are done. If
the command following a semicolon is a root node, precede it with a colon (:).
Figure 3–3 illustrates a chained message consisting of several commands and
queries. The single chained message should end in a command or query, not a
semicolon. Responses to any queries in your message are separated by semicolons.
If a command fails, all following commands on the line are ignored. However, if
a valid command is followed by an invalid command, the valid command will be
executed.
Response from first queryResponse from second query
First query
100;23
Figure 3–3: Example of chaining commands and queries
If a command or query has the same root and lower-level nodes as the previous
command or query, you can omit these nodes. In Figure 3–4, the second
command has the same root node (CIRC) as the first command, so these nodes
can be omitted.
Figure 3–4: Example of omitting root and lower-level nodes in a chained message
If a command fails, all following commands on the line are ignored. However, if
a valid command is followed by an invalid command, the valid command will be
executed.
Here are three general rules for using SCPI commands, queries, and parameters:
1. You can use single (‘ ’) or double (“ ”) quotation marks for quoted strings,
but you cannot use both types of quotation marks for the same string.
correct:“This string uses quotation marks correctly.”
correct:‘This string also uses quotation marks correctly.’
incorrect:“This string does not use quotation marks correctly.’
TG 2000 Signal Generation Platform User Manual
3–7
Page 85
Syntax
2. You can use upper case, lower case, or a mixture of both cases for all
commands, queries, and parameters except for literal (quoted) strings.
The following three commands are the same.
OUTPUT:TEXT:POSITION:HORIZONTALĂ25
output:text:position:horizontalĂ25
OUTPUT:text:position:HORIZONTALĂ25
NOTE. Literal strings (quoted) are case sensitive (example: file names).
3. No embedded spaces are allowed between or within nodes.
correct:OUTPUT:TEXT:POSITION:HORIZONTALĂ25
incorrect:OUTPUT: TEXT: POSITION: HOR IZONTALĂ25
3–8
TG 2000 Signal Generation Platform User Manual
Page 86
IEEE 488.2 Common Commands
The TG 2000 Signal Generation Platform complies with ANSI/IEEE Standard
488.2, which defines the codes, formats, protocols and usage of common
commands and queries that interface between the controller and the instrument.
Syntax
Command and Query
Structure
Backus-Naur Form
Definition
The syntax for an IEEE 488.2 common command is an asterisk (*) followed by a
command and, optionally, a space and parameter value. The syntax for an
IEEE 488.2 common query is an asterisk (*) followed by a query and a question
mark. All of the common commands and queries are listed in the last part of the
Syntax and Commands section.
Examples of common commands:Examples of common queries:
*ESE 16*ESR?
*CLS*IDN?
This manual describes commands and queries using the Backus-Naur Form
(BNF) notation. The following table defines the standard BNF symbols:
SymbolMeaning
<ą>Defined element
::=Is defined as
|Exclusive OR
{ą}Group; one element is required
[ą]Optional; can be omitted
.ă.Ă.Previous element(s) may be repeated
(ą)Comment
Message Terminators
TG 2000 Signal Generation Platform User Manual
This manual uses <EOM> (End of message) to represent a message terminator.
SymbolMeaning
<EOM>Message terminator
GPIB. The end-of-message terminator can be the END message (EOI asserted
with the last data byte), ASCII code for line feed (LF) sent as the last data byte,
or both. The TG 2000 Signal Generation Platform always terminates messages
with LF and EOI, allowing white space before the terminator.
RS-232 and Parallel. The end-of-message terminator is a single line feed.
3–9
Page 87
Syntax
Constructed Mnemonics
Some header mnemonics specify one of a range of mnemonics. For example, a
channel mnemonic can be either CLOCk1, CLOCk2, or CLOCk3. You use these
mnemonics in the command just as you do any other mnemonic. For example,
there is a :SENS:ROSC:CLOC2:CAT? query, and there is also an
:SENS:ROSC:CLOC3:CAT? query. In the command descriptions, this list of
choices is abbreviated as CLOCk<n>. The value of <n> is the upper range of valid
suffixes. If the numeric suffix is omitted, the platform uses the default value of
“1”.
Block Arguments
Several of the platform’s commands use a block argument form:
SymbolMeaning
<NZDig>A non-zero digit character, in the range 1–9
<Dig>A digit character, in the range 0–9
<DChar>A character with the hex equivalent of 00 through FF
hexadecimal (0 through 255 decimal)
<Block>A block of data bytes, defined as:
<Block> ::=
{ #<NZDig><Dig>[<Dig>...][<DChar>...]
| #0[<DChar>...]<terminator> }
<NZDig> specifies the number of <Dig> elements that follow. Taken together, the
<Dig> elements form a decimal integer that specifies how many <DChar>
elements follow.
3–10
TG 2000 Signal Generation Platform User Manual
Page 88
Special Characters
Syntax
The remote control interface handles characters differently than the front panel or
SDP2000 software.
Standard symbol (ASCII)Remote control sequence
/(47)‘s
\(92)‘b
–(45)‘h
‘(96)‘‘
Line return^ (94)
Signal names created from the front panel or SDP2000 program will be
displayed as created. Signals created or displayed using the SCPI interface use
the remote control sequence.
For example: “SinX/X” is displayed as “SinX/X” via the front panel or SDP2000
program; however, “SinX/X” is displayed as “SinX‘sX” via when using SCPI.
Use the caret symbol “^” as a line return when naming buttons and signals.
TG 2000 Signal Generation Platform User Manual
3–11
Page 89
Syntax
3–12
TG 2000 Signal Generation Platform User Manual
Page 90
Sequence Programming
Sequence programs enable the TG 2000 Signal Generation Platform to execute
routines using SCPI commands. The platform accepts sequences written using
the Tcl programming language.
Writing a Sequence Program
You can create sequence programs using Tcl programming language, and then
use the disk drive to load the sequences into the platform’s file system. Push the
Sequences button to access the downloading menus.You can also load sequences
through SCPI commands using the Program subsystem commands.
A sequence program can be very simple or it can contain many steps. When you
run a sequence, the program is interpreted by the platform’s Tcl parser; some Tcl
formatting information is required. A few points are mentioned here to show
how they are used in the samples. For more information on Tcl programming,
refer to Part 1 of Tcl and the Tk Toolkit: Addison-Wesley Publishing Company,
1994.
Comments in Tcl sequences are preceded by the # symbol as the first
nonblank character in the line. The # symbol appearing in the line at other
locations is treated as any other character.
SCPI commands that use double quote marks require an escape backslash
(\“string\”) in order to pass to SCPI using the Tcl scpi command.
SCPI commands should all be preceded with the string “scpi ”.
The Tcl parser checks the sequence statement to see if it is a supported Tcl
command. If the parser recognizes the command, it runs it as a Tcl command. If not, the parser looks for an *, a ?, or a : in the command lines to see
if it is a SCPI command. Putting the letters “scpi” in front of the SCPI
commands immediately tells the Tcl parser that it is a SCPI command.
TG 2000 Signal Generation Platform User Manual
3–13
Page 91
Sequence Programming
Sample Program 1
This sample sequence program uses commands that change signals and displays.
Some control changes in the program are not required because the default setting
is correct for the sequence. Use the *RST command to set everything to its
default state or explicitly set them to avoid the possibility that the control is not
in the default setting.
The program loads and sequentially displays all of the signals available to an
AVG1 module installed in slot 8. The sequence consists of five sections:
chkCmd subroutine
set parameters
initialize the instrument
read the signals
display each signal
chkCmd Subroutine
Set Parameters
Initialize the Instrument
Initialize the Module
Read the Signals
Display Each Signal
The chkCmd subroutine loads each signal and checks for any system errors. The
subroutine tests for any failure errors and echoes them to the display.
The slot number and display time are set using the avgSlot and sleepTime
variables.
The SCPI command *CLS is used to initialize the instrument and clear any
pending errors.
Two module parameters not affected by the *CLS command are explicitly set to
ensure proper operation. The module is turned on first (so that it will accept
following commands) and then the circle overlay is turned off.
This routine uses the SCPI query :MMEMory:SIGNal:CATalog:ALL? to list all of
the signals that are available for the target module. The list of available signals is
loaded into siglist.
The signal display routine calls each of the signals identified in the previous
routine. The chkCmd subroutine is called to load and check each command. The
sleepTime parameter is used to control the period of time each signal is loaded.
The routine loops ten times and finishes by displaying “Test complete.”
3–14
TG 2000 Signal Generation Platform User Manual
Page 92
Sequence Programming
# Sample program 1.
# chkCmd subroutine accepts a SCPI command as an
# argument to execute and then checks the command for errors.
proc chkCmd x {
puts $x
scpi $x
# If the error response doesn't start with 0, print it out
set err [scpi ":syst:err?"]
if {[string match 0* $err] == 0} {
puts $err
}
}
puts "Testing all signals loaded in the AVG1"
# Set the parameters for the slot and display time.
set avgSlot 8
set sleepTime 15
# Initialize the instrument and clear any pending errors
scpi "*cls"
# Initialize the module by turning it on and turning off the
# circle overlay.
scpi [format ":inst:nsel %d" $avgSlot ]
scpi ":outp:stat 1;:outp:circ:stat 0"
# Read the signals that are available.
set sig [scpi [format ":mmem:sign:cat:all? %d" $avgSlot ]]
set siglist [split $sig ,]
# Display each signal set ten times.
seti1
while {$i < 10} {
# Load each signal
This sample sequence program uses commands that change signals and displays.
Some control changes in the program are not required because the default setting
is correct for the sequence. Use the *RST command to set everything to its
default state or explicitly set them to avoid the possibility that the control is not
in the default setting.
The program loads and displays on command all of the signals available to an
AVG1 module installed in slot 8. The sequence consists of six sections:
set parameters
select and initialize the instrument
read and list the signals
user prompt
user feedback
Set Parameters
Select and Initialize
Read and List
User Prompt
User Feedback
Display the Signal
display each signal
The slot number to be addressed is set.
The AVG1 is selected, enabled, and the circle overlay is disabled.
This routine uses the SCPI query :MMEMory:SIGNal:CATalog:ALL? to list all of
the signals that are available for the target module. The list of available signals is
loaded into siglist.
This routine reads the next signal name and formats it into an onscreen user
prompt.
When the user presses the QUIT button in the window the TG 2000 Signal
Generation Platform loads the signal.
The signal display routine calls each of the signals identified in the previous
routine and checks for errors. The system then waits five seconds before
prompting the user to load the next signal. The routine finishes by displaying
“SequenceĂcompleted.”
3–16
TG 2000 Signal Generation Platform User Manual
Page 94
Sequence Programming
# Sample program 2.
# This is a demonstration of the signal selection for the AVG1.
# It displays a message to the user to proceed to
# the next signal
#
# Define the AVG1 slot number parameter.
set slot 8
# Select and initialize the AVG1.
scpi [format ":inst:nsel %d" $slot ]
# Turn on the AVG1 and turn off the circle overlay.
scpi ":outp:stat on;:outp:circ:stat 0"
# Read in the signals that are present for the AVG1.
set sig [scpi [format ":mmem:sign:cat:all? %d" $slot ]]
# Separate the signals into a list.
set siglist [split $sig ,]
# Prompt user, wait for feedback, and display signal.
foreach s $siglist {
# User prompt.
set t [format "Press Quit to load the %s" $s]
scpi [format "disp:text 'Next signal','%s'" $t]
scpi "disp:stat on"
You can use this sequence, together with the ground closure remote interface, to
remotely control the TG 2000 Signal Generation Platform.Information on using
the ground closure remote control is provided on page D–2.
This sample sequence file, named “gc.seq”, is provided on the TG2000 Utilities
disk that is included with this manual. The sequence can be modified to handle
any situation.
The diagram to create a ground closure control panel is shown in Figure D–4, on
page D–6 of this manual. Listed below are actions that are performed when each
of the eight functions is selected through the ground closure control panel.
Next Module
Next Signal Set
Next Signal
Previous Signal
Internal Sync
External Sync
Sends the value 0 plus clock to the sequence, causing it to step to the next video
generator in the TG 2000 Signal Generation Platform. A four-tone audio
sequence tells you which module is active. The softer tone is low, and the louder
tone is high. For example, when the tones soft, soft, loud, loud are heard, it
corresponds to 0011 (a decimal value of three), indicating that the generator is in
slot three.
Sends the value 1 plus clock to the sequence, causing it to step to the next set of
video signals in the active generator module.
Sends the value 2 plus clock to the sequence, causing it to step to the next video
signal in the active generator module.
Sends the value 0 plus clock to the sequence, causing it to step to the previous
video signal in the active generator module.
Sets the AGL1 Generator module in slot 2 to use internal sync.
Sets the AGL1 Generator module in slot 2 to use external sync.
3–18
Stop Sequence
Reset Sequence
Stops the sequence from monitoring the ground closure port. To restart the
sequence, use the Sequences window.
Sets the starting point for modules and signals to the following state:
Active module = first generator in the lowest slot.
Active signal set for each generator = first signal set in its list.
Active signal for each generator = first signal in the active signal set.
TG 2000 Signal Generation Platform User Manual
Page 96
Sequence Programming
############################################################
#TG2000 Ground Closure Monitor
#This sequence loops on reading the ground closure port
#and takes action based on the value returned.
#
#This is an example sequence to control the TG2000
#
#A panel of 8 push button switches are wired with
#diodes to decode value into four data lines. Line
#8 of the port is used to clock the value into the
#TG2000. Therefore, up to 128 values can be included
#in the main switch statement.
#
#ButtonFunction
#0Select next generator (audio feedback included)
#1Select next Signal Set. No other action is taken
#2Load next signal in list.
#3Load previous signal in list
#4Switch AGL1 to INTernal SYNC
#5Switch AGL1 to EXTernal SYNC
#6Stop the sequence
#7Reset all generators to first signal in list
#
#
#TCL procedures are defined before use
#
##########################################################
# Routine to change setting of AGL1 sync source
proc intExt {s} {
set cur [scpi "inst:nsel?"]
scpi "inst:nsel 2"
if {$s == 1} {
scpi "inp:sour int"
} else {
scpi "inp:sour ext"
}
scpi "inst:nsel $cur"
}
##########################################################
# audio feedback of slot number
# A four tone sequence is heard. Loud is 1.
# Soft is 0. MSB is first.
# Soft, soft, loud, soft would be slot 2.
proc audioSlot {} {
set s [scpi "inst:nsel?"]
seti8
while {$i >= 1} {
TG 2000 Signal Generation Platform User Manual
3–19
Page 97
Sequence Programming
if {$s >= $i} {
scpi "diag:exec \"fpBell 2,4\""
set s [expr $s - $i]
} else {
scpi "diag:exec \"fpBell 1,4\""
}
set i [expr $i / 2]
#scpi "diag:exec \"fpBell 0,1\""
}
}
##########################################################
# check for errors and give audio feedback
# A loud five tone sequence indicates an error has
# occurred with last signal load. Type of error is not
# conveyed to user
proc checkError {} {
set resp [scpi "syst:err?"]
set errno [split $resp ,]
if {[lindex $errno 0] != 0} {
set cnt 5
while {$cnt > 0} {
scpi "diag:exec \"fpBell 2,6\""
incr cnt -1
}
}
scpi "*cls"
}
##########################################################
# Get the current signal sets. Query for the available
# Signal Sets in the current module. Results are stored
# in sigsets.
proc getSigsets {} {
global sigsets
global curMod
set temp [scpi "mmem:sign:cat? $curMod"]
set sigsets [split $temp ,]
}
##########################################################
# Get the current signal set. Find current entry in list
# and step to the next one. If at end, then go back to first.
# Results are stored in cursigset.
proc getSigset {} {
global cursigset
global curMod
# Figure out from active signal
set curSig [scpi "mmem:sign:act? $curMod"]
set sigpath [split $curSig /]
3–20
TG 2000 Signal Generation Platform User Manual
Page 98
Sequence Programming
set cursigset [format "\"%s\"" [lindex $sigpath 1]]
}
##########################################################
# Get the current set of signals. This is based on what
# the current module and signal set are.
# Results are in list siglist.
proc getSignals {} {
global curMod
global cursigset
global siglist
# start from scratch
set siglist {}
set temp [scpi "mmem:sign:cat? $curMod,$cursigset"]
set testsigs [split $temp ,]
# check out each button
foreach testsig $testsigs {
set temp [scpi "mmem:sign:cat? $curMod,$cursigset,$testsig"]
set signals [split $temp ,]
set siglist [concat $siglist $signals]
}
}
##########################################################
# Routine to switch to next module. Find current entry in
# list, and go up or down from there. Wrap around will
# occur. If not found, use first in list.
proc setMod {} {
global slotlist
global curIndex
global curMod
global siglist
global cursigset
incr curIndex 1
if {$curIndex >= [llength $slotlist]} {
set curIndex 0
}
set curMod [lindex $slotlist $curIndex]
scpi "inst:sel $curMod"
audioSlot
getSigsets
getSigset
getSignals
}
##########################################################
# Go through all modules and set signal to first in the list
# and leave the current module as the first one.
proc resetMods {} {
global slotlist
TG 2000 Signal Generation Platform User Manual
3–21
Page 99
Sequence Programming
global curIndex
global curMod
global siglist
global cursigset
global sigsets
foreach curMod $slotlist {
getSigsets
set cursigset [lindex $sigsets 0]
getSignals
}
##########################################################
# Routine to select the next signal
# The signal list is obtained when the module is switched.
proc nextSignal {upDown} {
global siglist
global curMod
set curSig [scpi "mmem:sign:act? $curMod"]
set loc [lsearch -exact $siglist $curSig]
if {$upDown == 1} {
incr loc 1
} else {
incr loc -1
}
if {$loc < 0} {
set loc [expr [llength $siglist] -1]
}
if {$loc >= [llength $siglist]} {
set loc 0
}
scpi "mmem:load:sign $curMod,[lindex $siglist $loc]"
checkError
}
##########################################################
# Routine to select the next signal set.
# It has no affect until nextSig is called.
proc nextSet {} {
global sigsets
3–22
TG 2000 Signal Generation Platform User Manual
Page 100
Sequence Programming
global cursigset
# look for current entry
set loc [lsearch -exact $sigsets $cursigset]
incr loc 1
if {$loc >= [llength $sigsets]} {
set loc 0
}
set cursigset [lindex $sigsets $loc]
# update list of signals, based on new Signal Set
getSignals
}
##########################################################
#
#Main code starts here
#
##########################################################
puts "TG2000 Ground Closure Monitor"
# Test to see if in ground closure mode
set resp [scpi ":stat:oper:gclo:cond?"]
if {$resp < 256} {
puts "Port not in Ground Closure mode"
} else {
# Initialize the instrument and clear any pending errors
scpi "*cls"
# get list of modules
set resp [scpi "inst:cat?"]
set slots [split $resp ,]
# filter out non-generators, relies on default module names.