TEKTRONIX and TEK are registered trademarks of Tektronix, Inc.
Contacting Tektronix
Tektronix, Inc.
14150 SW Karl Braun Drive
P.O. Box 500
Beaverton, OR 97077
USA
For product information, sales, service, and technical support:
•In North America, call 1-800-833-9200.
•Worldwide, visit HTTP://www.tek.com to find contacts in your area.
Table of Contents
Table of Contents
List of Figures.............................................................................................................................................................................. xii
List of Tables............................................................................................................................................................................... xiii
Command and Query Structure........................................................................................................................................... 16
Headers in Query Responses.......................................................................................................................................18
Clearing the Output Queue...........................................................................................................................................18
Cursor Position Mnemonic............................................................................................................................................20
Alias command group.......................................................................................................................................................... 23
File system command group................................................................................................................................................26
Help everywhere command group....................................................................................................................................... 27
Math command group.......................................................................................................................................................... 28
Save and Recall command group........................................................................................................................................31
Status and Error command group........................................................................................................................................32
A commands............................................................................................................................................................................... 40
B commands............................................................................................................................................................................... 48
C commands............................................................................................................................................................................... 49
D commands............................................................................................................................................................................... 70
E commands............................................................................................................................................................................... 80
F commands............................................................................................................................................................................... 83
H commands............................................................................................................................................................................... 96
I commands...............................................................................................................................................................................108
L commands..............................................................................................................................................................................109
M commands............................................................................................................................................................................. 111
O commands.............................................................................................................................................................................133
P commands............................................................................................................................................................................. 134
R commands............................................................................................................................................................................. 135
S commands............................................................................................................................................................................. 140
T commands............................................................................................................................................................................. 149
U commands............................................................................................................................................................................. 163
V commands............................................................................................................................................................................. 164
W commands............................................................................................................................................................................ 165
Z commands............................................................................................................................................................................. 178
Status and Events..................................................................................................................................................................... 182
Status Registers......................................................................................................................................................... 182
Using the *WAI Command..........................................................................................................................................188
Using the BUSY Query............................................................................................................................................... 189
Using the *OPC Command.........................................................................................................................................189
Using the *OPC? Query..............................................................................................................................................191
No Event..................................................................................................................................................................... 192
System Event..............................................................................................................................................................197
TBS1000C Series Oscilloscopes....................................................................................................................................... 203
Figure 3: The Standard Event Status Register (SESR)............................................................................................................ 182
Figure 4: The Status Byte Register (SBR)................................................................................................................................ 183
Figure 5: The Device Event Status Enable Register (DESER)................................................................................................. 184
Figure 6: The Event Status Enable Register (ESER)................................................................................................................184
Figure 7: The Service Request Enable Register (SRER)......................................................................................................... 184
Figure 8: Status and Event Handling Process.......................................................................................................................... 186
Figure 9: Command processing without using synchronization................................................................................................ 188
Figure 10: Processing sequence with synchronization............................................................................................................. 188
TBS1000C Series Digital Oscilloscopes Programmer Manualxii
List of Tables
List of Tables
Table 1: Instrument communication protocol...............................................................................................................................16
Table 4: Comparison of Header Off and Header On responses..................................................................................................18
Table 5: Types of numeric arguments......................................................................................................................................... 21
Table 6: Instrument handling of incorrect numeric arguments.................................................................................................... 21
Table 7: Parts of a block argument..............................................................................................................................................22
Table 8: Alias commands............................................................................................................................................................ 23
Table 20: Save and Recall commands .......................................................................................................................................31
Table 21: Status and Error commands .......................................................................................................................................32
Table 28: SESR bit functions.....................................................................................................................................................182
Table 29: SBR bit functions....................................................................................................................................................... 183
Table 30: Instrument operations that can generate OPC.......................................................................................................... 187
Table 31: No Event messages.................................................................................................................................................. 192
Table 32: Command error messages (CME bit 5).....................................................................................................................192
TBS1000C Series Digital Oscilloscopes Programmer Manualxiii
List of Tables
Table 33: Execution error messages (EXE bit 4)...................................................................................................................... 193
Table 34: Device error messages (DDE bit 3)...........................................................................................................................197
Table 35: System event messages........................................................................................................................................... 197
Table 36: Execution warning messages (EXE bit 4)................................................................................................................. 198
Table 37: Execution warning messages (EXE bit 4)................................................................................................................. 198
TBS1000C Series Digital Oscilloscopes Programmer Manualxiv
Getting Started
Getting Started
This manual contains information on how to remotely control and operate your instrument through communications protocol and
commands.
Refer to the instrument user manual for information on how to configure and test your instrument remote connectivity (USB or Ethernet).
Download the latest version of the programmer manual from www.tek.com/downloads for up-to-date command syntax information.
TBS1000C Series Digital Oscilloscopes Programmer Manual15
Command Syntax
Command Syntax
You can control the instrument through the Ethernet or USB interface using a large group of commands and queries.
This section describes the syntax these commands and queries use and the conventions the instrument uses to process them. The
commands and queries themselves are listed in the Command Descriptions section.
Command Syntax
Table 1: Instrument communication protocol
Model or optionGPIBRS-232USB
TBS1000CYesNoYes
You transmit commands to the instrument using the enhanced American Standard Code for Information Interchange (ASCII) character
encoding. Appendix A contains a chart of the ASCII character set.
The Backus Naur Form (BNF) notation is used in this manual to describe commands and queries.
Table 2: BNF notation
SymbolMeaning
< >Defined element
::=Is defined as
|Exclusive OR
{ }Group; one element is required
[ ]Optional; can be omitted
. . .Previous element(s) may be repeated
( )Comment
Command and Query Structure
Commands consist of set commands and query commands (usually simply called commands and queries). Commands change instrument
settings or perform a specific action. Queries cause the instrument to return data and information about its status.
Most commands have both a set form and a query form. The query form of the command is the same as the set form except that it ends
with a question mark. For example, the set command ACQuire:MODe has a query form ACQuire:MODe. Not all commands have both a
set and a query form; some commands are set only and some are query only.
A few commands do both a set and query action. For example, the *CAL? command runs a self-calibration program on the instrument,
then returns the result of the calibration.
A command message is a command or query name, followed by any information the instrument needs to execute the command or query.
Command messages consist of five different element types.
TBS1000C Series Digital Oscilloscopes Programmer Manual16
Command Syntax
Table 3: Command message elements
SymbolMeaning
<Header>The basic command name. If the header ends with a question mark, the command is a query. The
header may begin with a colon (:) character; if the command is concatenated with other commands
the beginning colon is required. The beginning colon can never be used with command headers
beginning with a star (*).
<Mnemonic>A header subfunction. Some command headers have only one mnemonic. If a command header has
multiple mnemonics, they are always separated from each other by a colon (:) character.
<Argument>A quantity, quality, restriction, or limit associated with the header. Not all commands have an
argument, while other commands have multiple arguments. Arguments are separated from the header
by a <Space>. Arguments are separated from each other by a <Comma>.
<Comma>A single comma between arguments of multiple-argument commands. It may optionally have white
space characters before and after the comma.
<Space>A white space character between command header and argument. It may optionally consist of multiple
white space characters.
The following figure shows the five command message elements.
Figure 1: Command message elements
Commands
Commands cause the instrument to perform a specific function or change one of its settings. Commands have the structure:
A command header is made up of one or more mnemonics arranged in a hierarchical or tree structure. The first mnemonic is the base or
root of the tree and each subsequent mnemonic is a level or branch off of the previous one. Commands at a higher level in the tree may
affect those at a lower level. The leading colon (:) always returns you to the base of the command tree.
Queries
Queries cause the instrument to return information about its status or settings. Queries have the structure:
You can specify a query command at any level within the command tree unless otherwise noted. These branch queries return information
about all the mnemonics below the specified branch or level.
For example, MEASUrement:MEAS<x>:UNIts? returns the measurement units, while MEASUrement:MEAS<x>:TYPe? returns the
measurement type selected for the measurement, and MEASUrement:MEAS<x>? returns all the measurement parameters for the
specified measurement.
TBS1000C Series Digital Oscilloscopes Programmer Manual17
Command Syntax
Headers in Query Responses
You can control whether the instrument returns headers as part of the query response. Use the HEADer command to control this feature. If
header is on, the instrument returns command headers as part of the query and formats the query response as a valid set command.
When header is off, the instrument sends back only the values in the response. This format can make it easier to parse and extract the
information from the response.
Table 4: Comparison of Header Off and Header On responses
QueryHeader Off responseHeader On response
ACQuire:NUMAVg64ACQUIRE:NUMAVG 64
CHx1:COUPlingDCCH1:COUPLING DC
Clearing the Output Queue
To clear the output queue and reset the instrument to accept a new command or query, send a Device Clear (DCL) from a GPIB host.
From an RS-232 host, send a break signal. The RS-232 interface responds by returning the ASCII string "DCL."
From a USB host, send an INITIATE_CLEAR followed by a CHECK_CLEAR_STATUS. The USB interface responds to
CHECK_CLEAR_STATUS with STATUS_SUCCESS when it is finished clearing the output queue.
Command Entry
Follow these general rules when entering commands:
•Enter commands in upper or lower case.
•You can precede any command with white space characters. White space characters include any combination of the ASCII control
characters 00 through 09 and 0B through 20 hexadecimal (0 through 9 and 11 through 32 decimal).
•The instrument ignores commands that consists of just a combination of white space characters and line feeds.
Abbreviating Commands
You can abbreviate many instrument commands. These abbreviations are shown in capital letters in the command listing in the Command
Groups section and Command Descriptions section. For example, the command ACQuire:NUMAvg can be entered simply as ACQ:NUMA
or acq:numa.
If you use the HEADer command to have command headers included as part of query responses, you can also control whether the
returned headers are abbreviated or are full-length using the VERBose command.
Concatenating Commands
You can concatenate any combination of set commands and queries using a semicolon (;). The instrument executes concatenated
commands in the order received. When concatenating commands and queries you must follow these rules:
•Completely different headers must be separated by both a semicolon and by the beginning colon on all commands but the first. For
example, the commands TRIGger:MODe NORMal and ACQuire:NUMAVg 16 can be concatenated into a single command:
TRIGger:MODe NORMal;:ACQuire:NUMAVg 16
•If concatenated commands have headers that differ by only the last mnemonic, you can abbreviate the second command and eliminate
the beginning colon. For example, the commands ACQuire:MODe AVErage and ACQuire:NUMAVg 16 could be concatenated into a
single command:
ACQuire:MODe AVErage; NUMAVg 16
The longer version works equally well:
TBS1000C Series Digital Oscilloscopes Programmer Manual18
Command Syntax
ACQuire:MODe AVErage;:ACQuire:NUMAVg 16
•Never precede a star (*) command with a colon or semicolon:
ACQuire:MODe AVErage;*TRG
The instrument processes commands that follow the star command as if the star command was not there, so:
ACQuire:MODe AVErage;*TRG;NUMAVg 16
sets the acquisition mode to average and sets acquisition averaging to 16. The *TRG command is ignored.
•When you concatenate queries, the responses to all queries are combined into a single response message. For example, if channel 1
coupling is set to DC and the bandwidth is set to 20 MHz, the concatenated query:
CH1:COUPling;BANdwidth
returns CH1:COUPLING DC;:CH1:BANDWIDTH ON if header is on, or DC;ON if header is off.
•You can concatenate set commands and queries in the same message. For example:
ACQuire:MODe AVErage;NUMAVg;STATE
is a valid message that sets the acquisition mode to average, queries the number of acquisitions for averaging, and then queries the
acquisition state. The instrument executes concatenated commands and queries in the order it receives them.
•Any query that returns arbitrary data, such as ID, must be the last query when part of a concatenated command. If the query is not last,
the instrument generates event message 440.
Here are some INVALID concatenation examples:
•CH1:COUPling DC;ACQuire:NUMAVg 16 (missing colon before ACQuire)
•CH1:COUPling DC;:BANDwidth ON (invalid colon before BANDwidth)
•CH1:COUPling DC;:*TRG (invalid colon before a star (*) command)
•HORizontal:MAIn:POSition 0;MAIn:SCAle 1E-13 (levels of mnemonics are different; either remove the second occurrence of MAIn:, or
put HORizontal: in front of MAIN:SCAle)
Message Terminators
This manual uses the term <EOM> (End of message) to represent a message terminator.
GPIB End of Message (EOM) Terminators
GPIB EOM terminators can be the END message (EOI asserted concurrently with the last data byte), the ASCII code for line feed (LF) sent
as the last data byte, or both. The instrument always terminates messages with LF and EOI. White space is allowed before the terminator;
for example, CR LF is acceptable.
USB End of Message (EOM) Terminators
The EOM bit must be set in the USB header of the last transfer of a command message
See the USB Test and Measurement Class Specification (USBTMC) section 3.2.1 for details. The instrument terminates messages by
setting the EOM bit in the USB header of the last transfer of a message to the host (USBTMC Specification section 3.3.1), and by
terminating messages with a LF. White space is allowed before the terminator; for example, CR LF is acceptable.
Constructed Mnemonics
Some header mnemonics specify one of a range of mnemonics. For example, a channel mnemonic could be CH2. You can use these
mnemonics in the command just as you do any other mnemonic. For example, there is a CH1:VOLts command and there is also a
CH2:VOLts command. In the command descriptions, this list of choices is abbreviated CH<x>.
Channel mnemonics
Commands specify the channel to use as a mnemonic in the header.
TBS1000C Series Digital Oscilloscopes Programmer Manual19
Command Syntax
SymbolMeaning
CH<x>A channel specifier; <x> is 1 or 2.
Reference Waveform Mnemonics
Commands can specify the reference waveform to use as a mnemonic in the header.
SymbolMeaning
REF<x>A reference waveform specifier; <x> is 1 or 2.
Waveform Mnemonics
In some commands you can specify a waveform without regard to its type: channel waveform, math waveform, or reference waveform. The
"y" is the same as "x" in Reference Waveform Mnemonics.
SymbolMeaning
<wfm>Can be CH<x>, MATH, or REF<y>
Cursor Position Mnemonic
When the instrument displays cursors, commands may specify which cursor of the pair to use.
SymbolMeaning
POSITION<x>A cursor selector;<x> is 1 or 2.
Measurement Specifier Mnemonics
Commands can specify which measurement to set or query as a mnemonic in the header. The instrument can display up to six automated
measurements.
SymbolMeaning
MEAS<x>A measurement specifier; <x> is 1-6.
Argument Types
A command argument can be in one of several forms. The individual descriptions of each command tell which argument types to use with
that command.
Numeric Arguments
Many instrument commands require numeric arguments.
TBS1000C Series Digital Oscilloscopes Programmer Manual20
Command Syntax
Table 5: Types of numeric arguments
SymbolMeaning
<NR1>Signed integer value
<NR2>Floating point value without an exponent
<NR3>Floating point value with an exponent
The syntax shown is the data format that the instrument returns in response to a query. This format is also the preferred format when
sending a command to the instrument.
When you enter an incorrect numeric argument, the instrument automatically forces the numeric argument to a correct value.
Table 6: Instrument handling of incorrect numeric arguments
Argument valueInstrument response
Numeric argument is less than lowest correct value for that
command
Numeric argument is greater than the highest correct value for that
command
Numeric value is between two correct valuesRounds the entered value to the nearest correct value and executes
Sets the specified command to the lowest correct value and
executes the command
Sets the specified command to the highest correct value and
executes the command
the command
Quoted String Arguments
Some commands accept or return data in the form of a quoted string, which is simply a group of ASCII characters enclosed by single
quotes (') or double quotes ("). For example:
"this is a quoted string"
SymbolMeaning
<QString>Quoted string of ASCII text
Follow these rules when you use quoted strings:
1. A quoted string can include any character defined in the 7-bit ASCII character set. ASCII Code Chart on page 202.
2. Use the same type of quote character to open and close the string:
"this is a valid string"
3. You can mix quotation marks within a string if you follow the previous rule:
"this is an 'acceptable' string"
4. You can include a quote character within a string simply by repeating the quote. For example,
"here is a "" mark"
5. Strings can have upper or lower case characters.
6. If you use a GPIB network, you cannot terminate a quoted string with the END message before the closing delimiter.
7. A carriage return or line feed embedded in a quoted string does not terminate the string, but is treated as just another character in the
string.
8. The maximum length of a quoted string returned from a query is 1000 characters.
TBS1000C Series Digital Oscilloscopes Programmer Manual21
Command Syntax
Here are some examples of invalid strings:
"Invalid string argument' (quotes are not of the same type)
"test<EOI>" (termination character is embedded in the string)
Block Arguments
Several instrument commands use a block argument form.
Table 7: Parts of a block argument
SymbolMeaning
<NZDig>A nonzero digit character, in the range 1-9 Specifies the number of <Dig> elements that follow
<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)
The following figure shows an example of a block argument.
Figure 2: Block argument example
<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.
#0 means that the <Block> is an indefinite length block. The <terminator> ends the block. You should not use indefinite length blocks with
RS-232, because there is no way to include a <terminator> character as a <DChar> character.
The first occurrence of a <terminator> character signals the end of the block and any subsequent <DChar> characters will be interpreted
as a syntax error. With the GPIB, the EOI line signals the last byte. With the USB, the EOM bit signals the last byte.
TBS1000C Series Digital Oscilloscopes Programmer Manual22
Command groups
Command groups
This section lists the commands organized by functional group. The following sections lists all commands alphabetically.
The instrument GPIB and USB interfaces conform to Tektronix standard codes and formats except where noted. The GPIB interface also
conforms to IEEE Std 488.2–1987 except where noted. The USB interface also conforms to USB Test and Measurement Class, Subclass
USB488 Specification, except where noted.
Alias command group
Use the Alias commands to define new commands as a sequence of standard commands. You may find this useful when repeatedly using
the same commands to perform certain tasks like setting up measurements.
Aliases are similar to macros but do not include the capability to substitute parameters into alias bodies. The alias mechanism obeys the
following rules:
•The alias name must consist of a valid IEEE488.2 message unit, which may not appear in a message preceded by a colon, comma, or
a command or query program header.
•The alias name may not appear in a message followed by a colon, comma, or question mark.
•An alias name must be distinct from any keyword or keyword short form.
•An alias name cannot be redefined without first being deleted using one of the alias deletion functions.
•Alias names do not appear in response messages.
Table 8: Alias commands
CommandCommand
ALIas on page 43Sets or returns the alias state.
ALIas:CATalog? on page 44Returns a list of the currently defined alias.
ALIas:DEFine on page 44Assigns a sequence of program messages.
ALIas:DELEte on page 45Removes a specified alias.
ALIas:DELEte:ALL on page 45Deletes all existing aliases.
ALIas:DELEte[:NAMe] on page 45Removes a specified alias.
ALIas[:STATE] on page 46Sets or returns the alias state.
Acquisition command group
Acquisition commands affect the acquisition of waveforms. These commands control mode, averaging, and single-waveform acquisition.
Table 9: Acquisition commands
CommandCommand
ACQuire? on page 40Returns current acquisition settings.
ACQuire:MAXSamplerate? on page 40Returns the maximum real-time sample rate.
ACQuire:MODe on page 40Sets or queries the instrument acquisition mode.
ACQuire:NUMACq? on page 41Indicates the number of acquisitions that have taken place since
starting instrument acquisition.
ACQuire:NUMAVg on page 42Sets the number of instrument waveform acquisitions that make up
an averaged waveform.
ACQuire:STATE on page 42Starts or stops instrument acquisitions.
ACQuire:STOPAfter on page 43Tells the instrument when to stop taking acquisitions.
TBS1000C Series Digital Oscilloscopes Programmer Manual23
Command groups
Calibration and Diagnostic command group
Calibration and Diagnostic commands let you initiate the instrument self-calibration routines and examine the results of diagnostic tests.
Table 10: Calibration and Diagnostic commands
CommandDescription
*CAL? on page 49Performs an internal self-calibration and returns its status.
CALibrate:INTERNAL on page 49Performs an internal self-calibration but does not return any status.
CALibrate:INTERNal:STARt on page 50Starts the internal signal path calibration.
CALibrate:INTERNal:STATus? on page 50Returns the current status of the internal signal path calibration.
CALibrate:RESults? on page 50Returns the status of all calibration subsystems without performing
an SPC operation.
CALibrate:RESults:SPC? on page 51Returns the results of the last SPC operation
DIAg:LOOP:OPTion on page 74Sets the self-test loop option
DIAg:LOOP:OPTion:NTIMes on page 75Sets the self-test loop option to run N times
DIAg:LOOP:STOP on page 75Stops the self-test at the end of the current loop
DIAg:RESUlt:FLAg? on page 75Returns the Pass/Fail status from the last diagnostic test sequence
execution (those run automatically at power on, or those requested
through the Service Menu).
DIAg:RESUlt:LOG? on page 76Returns the internal results log from the last diagnostic test
sequence execution (those run automatically at power on, or those
requested through the Service Menu).
DIAg:SELect on page 76Sets the type of diagnostics grouping.
DIAg:SELect:<function> on page 77Runs self-tests on the specified system subsystem.
DIAg:STATE on page 77Starts or stops the instrument self-test.
DIAg:FAN on page 74Read out the currently set PWM fan value
DIAg:TEMPVAL on page 77Read out the currently FPGA chip and ambient temperature
Cursor command group
Cursor commands provide control over the instrument cursor display and readout.
Use the commands in the cursor command subsystem to control the cursor display and readout. You can use these commands to control
the setups for cursor 1 and cursor 2, such as cursor position. You can also use the commands to select one of the following cursor
functions:
Off. Turns off the display of all cursors.
Waveform Cursors. Consists of two cursors. Waveform cursors enable you to conveniently measure waveform amplitude and time.
Screen Cursors. Consists of two pairs of independent horizontal and vertical cursors.
You can use these cursors to indicate an arbitrary position within the waveform display area.
Table 11: Cursor commands
CommandDescription
CURSor? on page 61Returns current cursor settings.
Table continued…
TBS1000C Series Digital Oscilloscopes Programmer Manual24
Command groups
CommandDescription
CURSor:ENABLE on page 61Allows educators to disable or enable the Cursor functions. The
function can be manually set from the Utility menu. To access the
menu, refer to the product user manual.
CURSor:FUNCtion on page 62Selects and displays the instrument cursor type.
CURSor:HBArs? on page 62Returns the settings for the instrument horizontal bar cursors.
CURSor:HBArs:DELTa? on page 63Returns the difference (in vertical units) between the two horizontal
bar cursors in the instrument display.
CURSor:HBArs:POSITION<x> on page 63Positions a horizontal bar cursor.
CURSor:HBArs:UNIts on page 64Returns the vertical scale units for the selected cursor source
waveform.
CURSor:HBArs:USE on page 64Sets the horizontal bar cursor measurement scale.
CURSor:MODe on page 64Sets or returns whether cursors move in unison or separately.
CURSor:VBArs? on page 65Returns the current vertical bar cursor horizontal position and units
settings.
CURSor:VBArs:ALTERNATE<x>? on page 65Returns the alternate readout for the waveform (Vbar) cursors.
CURSor:VBArs:DELTa? on page 66Returns the time or frequency difference between the two vertical
bar cursors.
CURSor:VBArs:HPOS<x>? on page 66Returns the horizontal value of the specified vertical bar ticks for
cursor <x>
CURSor:VBArs:POSITION<x> on page 66Sets or returns the vbar cursor<x> horizontal position
CURSor:VBArs:UNIts on page 67Sets or queries the units for the vertical bar cursors.
CURSor:VBArs:VDELTa? on page 67Returns the vertical (amplitude) difference between the two vertical
bar cursors.
Display command group
These commands provide control of the Display feature.
Table 12: Display commands
CommandDescription
DISplay:GRAticule on page 78Sets or queries the Graticule state.
DISplay:INTENSITy:BACKLight on page 78Sets or queries the display Backlight.
DISplay:PERSistence:STATe on page 79Sets or returns the display persistence to ON or OFF. The query
form returns the persistence state. This affects the display only.
DISplay:PERSistence:VALUe on page 79Sets the value of persistence if the persistence state is set to on.
This affects the display only.
FFT command group
These commands provide control over the instrument FFT feature.
TBS1000C Series Digital Oscilloscopes Programmer Manual25
Command groups
Table 13: FFT commands
CommandDescription
FFT? on page 84Returns all FFT parameters.
FFT:HORizontal:POSition on page 84Sets or queries the FFT horizontal display position.
FFT:HORizontal:SCAle on page 85Sets or queries the FFT zoom factor.
FFT:SOURce on page 85Sets or queries the FFT source.
FFT:SRCWFM on page 85Sets or queries the FFT source waveform display state.
FFT:VERTical:POSition on page 86Sets or queries the FFT vertical display position.
FFT:VERTical:SCAle on page 86Sets or queries the FFT vertical zoom factor.
FFT:VERTical:UNIts on page 87Sets or returns the FFT vertical measurement units label.
FFT:VType on page 87Sets or queries the FFT waveform vertical units.
FFT:WINdow on page 87Sets or queries the FFT window state.
SELect:FFT on page 145Sets or queries the FFT display state.
File system command group
File system commands perform file management tasks.
Table 14: File system commands
CommandDescription
FILESystem? on page 88
FILESystem:CWD on page 88Sets or queries returns the current working directory (CWD) for
FILESystem:DELEte on page 89Deletes the specified file name.
FILESystem:DIR? on page 89Returns a list of strings.
FILESystem:FORMat on page 89Formats a mass storage device.
FILESystem:FREESpace? on page 90Returns the number of bytes of free space on the current drive.
FILESystem:MKDir on page 90Creates a folder at the specified location.
FILESystem:READFile on page 91Writes the contents of the specified file to the specified interface
FILESystem:REName on page 91Assigns a new name to a file or folder.
FILESystem:RMDir on page 92Deletes a folder at the specified location.
FILESystem:WRITEFile on page 92Writes the specified block data to the instrument current working
Returns the directory listing of the current working directory and the
number of bytes of free space available.
FILESystem commands.
directory
File System Conventions
Use the following conventions when specifying file paths and file names:
•File and folder names have a maximum of 11 characters; eight characters, followed by a period, followed by up to three characters.
This format is referred to as 8.3 naming.
•Wild card characters (*, %, ) are not valid characters in file or path names.
•Lists the Windows-generated short file and folder names for long file or folder names created on PC Windows operating systems.
TBS1000C Series Digital Oscilloscopes Programmer Manual26
Command groups
Help everywhere command group
Help everywhere commands provide helpful user information.
Table 15: Help everywhere commands
CommandDescription
HELPevery:ACQuire on page 96Enables or disables the display of help everywhere information for
the acquire module.
HELPevery:ALL on page 97Enables or disables the display of help everywhere.
HELPevery:FFT on page 98Enables or disables the display of help everywhere information for
the fft module.
HELPevery:CURsor on page 97Enables or disables the display of help everywhere information for
the cursor module.
HELPevery:MATH on page 98Enables or disables the display of help everywhere information for
the math module.
HELPevery:MEASUrement on page 98Enables or disables the display of help everywhere information for
the measurement module.
HELPevery:REFerence on page 99Enables or disables the display of help everywhere information for
the reference module.
HELPevery:TRIGger on page 99Enables or disables the display of help everywhere information for
the trigger module.
HELPevery:UTIlity on page 99Enables or disables the display of help everywhere information for
the utility module.
HELPevery:VERtical on page 100Enables or disables the display of help everywhere information for
the vertical module.
Horizontal command group
Horizontal commands control the time bases of the instrument. You can set the position and time per division of both the main and window
time bases. You can substitute SECdiv for SCAle in all appropriate horizontal commands. This provides program compatibility with
previous Tektronix digitizing instruments.
Table 16: Horizontal commands
CommandDescription
HORizontal? on page 100Returns all settings for the horizontal commands.
HORizontal[:MAIn]:SCAle on page 104Sets or queries the time base horizontal scale.
HORizontal[:MAIn]:SECdiv on page 104Specifies the horizontal time/div.
HORizontal:TRIGger:POSition on page 107
HORizontal:TRIGger:POSition on page 107Set or queries the trigger position.
HORizontal[:MAIn][:DELay]:POSition on page 101Sets or returns the horizontal position, as percent of record, that is
HORizontal:MAIn:DELay:MODe on page 102The boolean argument type sets delay mode to on or off.
HORizontal:MAIn:DELay:STATe on page 102
Table continued…
Same as :HORizontal:POSition.
used when HORizontal:DELay:MODe is set to OFF.
Same as HORizontal:DELay:MODe.
TBS1000C Series Digital Oscilloscopes Programmer Manual27
CommandDescription
HORizontal[:MAIn]:DELay:TIMe on page 103Specifies the delay time in time units.
HORizontal:RESOlution on page 106
HORizontal:RECOrdlength on page 105Sets or queries the horizontal record length.
HORizontal:RECOrdlength:Auto on page 106Sets or queries the record length mode.
HORizontal:ACQLENGTH on page 101Queries the record length.
HORizontal:PREViewstate on page 105
HORizontal[:MAIn]:SAMPLERate on page 104Returns the sample rate
HORizontal:MAIn:UNIts[:STRing] on page 105Queries the horizontal units.
HORizontal:DIVisions on page 101Queries the number of horizontal divisions.
HORizontal:ROLL on page 107Query the state of roll mode.
Same as HORizontal:RECOrdlength.
Returns a boolean to indicate whether the acquisition system is in
the preview state
Math command group
Math commands provide math function definition.
Command groups
Table 17: Math commands
CommandDescription
MATH? on page 111Returns the definition for the math waveform.
MATH:DEFINE on page 111Performs the specified mathematical operation on the input signal
or signals.
MATH:HORizontal:POSition on page 112Sets or returns the horizontal position of the math waveform.
MATH:HORizontal:SCALe on page 112Sets or returns the horizontal scale of the math waveform.
MATH:HORizontal:UNIts on page 113Sets or returns the math horizontal measurement units label.
MATH:LABel on page 113Sets or queries the waveform label for the math waveform.
MATH:VERtical:POSition on page 113Sets or returns the math waveform display position.
MATH:VERtical:SCAle on page 114Sets or returns the math waveform display scale in units per
division.
MATH:VERTical:UNIts on page 114Sets or returns the math vertical measurement units label.
Measurement command group
Measurement commands control the automated measurement system. The instrument can display up to six automated measurements. In
the commands, these measurement readouts are named MEAS<x>, where <x> can be 1, 2, 3, 4, 5, or 6.
The best method for taking measurements over the computer interface is to use the MEASUREMENT:IMMED commands and queries.
The immediate measurement has no front-panel equivalent, and the instrument never displays immediate measurements.
Because they are computed only when they are requested, immediate measurements slow the waveform update rate less than displayed
measurements.
Use the VALue? query to obtain measurement results of either displayed or immediate measurements.
Several measurement commands set and query measurement parameters. You can assign some parameters, such as waveform sources,
differently for each measurement readout.
TBS1000C Series Digital Oscilloscopes Programmer Manual28
Command groups
Table 18: Measurement commands
CommandDescription
MEASUrement? on page 114Returns the current MEASUrement settings.
MEASUrement:CLEARSNapshot on page 115Clears the existing snapshop results and removes the snapshot
window.
MEASUrement:GATing on page 116Sets or returns the measurement gating.
MEASUrement:IMMed? on page 116Returns all immediate measurement setup parameters.
MEASUrement:IMMed:DELay? on page 117Returns information about the immediate delay measurement.
MEASUrement:IMMed:DELay:EDGE<x> on page 117Sets or returns the slope of the edge used for immediate delay from
and to waveform measurements
MEASUrement:IMMed:SOUrce1 on page 117Sets or queries the source for all single source immediate
measurements and specifies the source to measure from when
taking an immediate delay or phase measurement.
MEASUrement:IMMed:SOUrce2 on page 118Sets or queries the secondary source for dual-source immediate
measurements.
MEASUrement:IMMed:TYPe on page 119Sets or queries the immediate measurement type.
MEASUrement:IMMed:UNIts? on page 120Returns the units for the immediate instrument measurement.
MEASUrement:IMMed:VALue? on page 121Executes the immediate instrument measurement specified by the
MEASUrement:IMMed:TYPe command.
MEASUrement:MEAS<x>? on page 121Returns all measurement parameters for the displayed instrument
periodic measurement specified by <x>.
MEASUrement:MEAS<x>:DELay? on page 122Returns the delay measurement parameters for the specified
measurement.
MEASUrement:MEAS<x>:DELay:EDGE<x> on page 122Sets or returns the slope of the edge to use for delay “from” and “to”
waveform measurements.
MEASUrement:MEAS<x>:SOUrce1 on page 122Sets or queries the source for all single source measurements and
specifies the source to measure from when taking a delay
measurement or phase measurement.
MEASUrement:MEAS<x>:SOUrce2 on page 123Sets or queries the reference source to measure to when taking a
delay or phase measurement.
MEASUrement:MEAS<x>:STATE on page 123Sets or returns whether the specified measurement slot is
computed and displayed.
MEASUrement:MEAS<x>:TYPe on page 124Sets or queries the on-screen periodic instrument measurement
type for the measurement specified by <x>.
MEASUrement:MEAS<x>:UNIts? on page 126Returns the units for the instrument measurement specified by
MEASUrement:MEAS<x>:TYPe.
MEASUrement:MEAS<x>:VALue? on page 126Returns the value that was calculated for the instrument on-screen
periodic measurement specified by <x>.
MEASUrement:REFLevel? on page 127Returns the current reference level parameters. Query only.
MEASUrement:REFLevel:ABSolute:LOW on page 127Sets or returns the low reference level, and is the lower reference
level when MEASUrement:REFLevel:METHod is set to Absolute.
MEASUrement:REFLevel:ABSolute:MID1 on page 128Sets or returns the mid reference level, and is the 50% reference
level when MEASUrement:REFLevel:METHod is set to Absolute.
Table continued…
TBS1000C Series Digital Oscilloscopes Programmer Manual29
Command groups
CommandDescription
MEASUrement:REFLevel:ABSolute:MID2 on page 128Sets or returns the mid reference level for the ""to"" waveform when
taking a delay measurement, and is the 50% reference level when
MEASUrement:REFLevel:METHod is set to Absolute.
MEASUrement:REFLevel:METHod on page 129Specifies or returns the reference level units used for measurement
calculations.
MEASUrement:REFLevel:PERCent:HIGH on page 129Sets or returns the percent (where 100% is equal to HIGH) used to
calculate the high reference level when
MEASUrement:REFLevel:METHod is set to Percent.
MEASUrement:REFLevel:PERCent:LOW on page 130Sets or returns the percent (where 100% is equal to HIGH) used to
calculate the low reference level when
MEASUrement:REFLevel:METHod is set to Percent.
MEASUrement:REFLevel:PERCent:MID1 on page 131Sets or returns the percent (where 100% is equal to HIGH) that is
used to calculate the mid reference level when
MEASUrement:REFLevel:METHod is set to Percent.
MEASUrement:REFLevel:PERCent:MID2 on page 131Sets or returns the percent (where 100% is equal to HIGH) that is
used to calculate the mid reference level for the second waveform
specified when MEASUrement:REFLevel:METHod is set to Percent.
MEASUrement:SNAPSHOT on page 132Sets the measurement snapshot feature.
MEASUrement:SOURCESNAPShot on page 132Sets or returns the snapshot source.
Miscellaneous command group
Miscellaneous commands are a group of commands that do not fit into any other category.
Several commands and queries are common to all 488.2-1987 devices on the GPIB or USB bus. These commands and queries are
defined by IEEE Std. 488.2-1987 and Tektronix Standard Codes and Formats 1989 and begin with an asterisk (*) character.
Table 19: Miscellaneous commands
CommandDescription
AUTOSet on page 47Causes the instrument to adjust its vertical, horizontal, and trigger
controls to display a stable waveform.
AUTOSet:ENABLE on page 47Allows educators to disable or enable the Autorange and Autoset
functions. The function can be manually set from the Utility menu.
To access the menu, refer to the product user manual.
CLEARMenu on page 60Clears the current menu from the display
DATE on page 73Sets or queries the instrument date value.
FEAEN:PASSWORD on page 83Checks if the password entered is equal to the preset password for
Feature Enable which allows the educators to enable or disable
features such as Autoset, Cursors or Measurements. The same can
be set manually from the Utility menu when we try to change the
settings of Autoset Enable, Cursors Enable or Measurement Enable
from Feature Enable.
FPAnel:PRESS on page 93Simulates the action of pressing a specified front-panel button.
FPAnel:TURN on page 94Simulates the action of turning a specified front-panel control knob.
FWUpdate:Update on page 95Update firmware from u-disk.
Table continued…
TBS1000C Series Digital Oscilloscopes Programmer Manual30
Loading...
+ 179 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.